Save an (unused) copy of the previous TLog.

This commit is contained in:
Alex Miller 2019-02-07 17:02:29 -08:00
parent 91e05575a2
commit df61bd07db
4 changed files with 2182 additions and 0 deletions

View File

@ -49,6 +49,7 @@ set(FDBSERVER_SRCS
networktest.actor.cpp
NetworkTest.h
OldTLogServer_4_6.actor.cpp
OldTLogServer_6_0.actor.cpp
Orderer.actor.h
pubsub.actor.cpp
pubsub.h

File diff suppressed because it is too large Load Diff

View File

@ -367,6 +367,9 @@ namespace oldTLog_4_6 {
ACTOR Future<Void> tLog(IKeyValueStore* persistentData, IDiskQueue* persistentQueue,
Reference<AsyncVar<ServerDBInfo>> db, LocalityData locality, UID tlogId);
}
namespace oldTLog_6_0 {
Future<Void> tLog( class IKeyValueStore* const& persistentData, class IDiskQueue* const& persistentQueue, Reference<AsyncVar<ServerDBInfo>> const& db, LocalityData const& locality, PromiseStream<InitializeTLogRequest> const& tlogRequests, UID const& tlogId, bool const& restoreFromDisk, Promise<Void> const& oldLog, Promise<Void> const& recovered );
}
#include "flow/unactorcompiler.h"
#endif

View File

@ -59,6 +59,7 @@
<ActorCompiler Include="LogRouter.actor.cpp" />
<ClCompile Include="LatencyBandConfig.cpp" />
<ActorCompiler Include="OldTLogServer_4_6.actor.cpp" />
<ActorCompiler Include="OldTLogServer_6_0.actor.cpp" />
<ClCompile Include="SkipList.cpp" />
<ActorCompiler Include="WaitFailure.actor.cpp" />
<ActorCompiler Include="tester.actor.cpp" />