foundationdb/fdbserver/workloads
Meng Xu 477fd152c0 FastRestore:Refactor code
1) Use the runRYWTransaction for simple DB access
2) Replace some printf with TraceEvent
3) Remove printf not used in debugging
4) Avoid wait inside the condition in loop-choose-when for
   the core routine of restore worker, loader and applier.
5) Rename Restore.actor.cpp to RestoreWorker.actor.cpp since
   the file only has functionalities related to restore worker.

Passed correctness test
2019-06-04 11:22:47 -07:00
..
ApiCorrectness.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
ApiWorkload.actor.cpp Merge pull request #791 from ajbeamon/remove-cluster-from-iclientapi 2018-11-10 10:16:18 -08:00
ApiWorkload.h Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
AsyncFile.actor.h Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
AsyncFile.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
AsyncFileCorrectness.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
AsyncFileRead.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
AsyncFileWrite.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
AtomicOps.actor.cpp Merge branch 'master' into mengxu/restore/parallel-v7 2019-03-30 22:13:10 -07:00
AtomicOpsApiCorrectness.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
AtomicRestore.actor.cpp Add support for restoring multiple ranges. 2019-02-25 18:00:28 -08:00
AtomicSwitchover.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
BackgroundSelectors.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
BackupAndParallelRestoreCorrectness.actor.cpp FastRestore:Refactor code 2019-06-04 11:22:47 -07:00
BackupCorrectness.actor.cpp Merge branch 'apple/master' into mengxu/performant-restore-PR 2019-04-18 18:02:45 -07:00
BackupToDBAbort.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
BackupToDBCorrectness.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
BackupToDBUpgrade.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
BulkLoad.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
BulkSetup.actor.h Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
ChangeConfig.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
ClientTransactionProfileCorrectness.actor.cpp Update fdbserver/workloads/ClientTransactionProfileCorrectness.actor.cpp 2019-02-27 14:24:16 -08:00
CommitBugCheck.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
ConfigureDatabase.actor.cpp changed the old memory configuration to memory-1 2019-03-18 15:10:04 -07:00
ConflictRange.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
ConsistencyCheck.actor.cpp Throw process_behind instead of future_version when all storage nodes on a team are behind. process_behind gets the same backoff behavior as not_committed. Add proxy_memory_limit_exceeded to the retryable predicate. 2019-04-08 14:21:24 -07:00
CpuProfiler.actor.cpp replaced std::pair<WorkerInterface,ProcessClass> with a struct named WorkerDetails 2019-03-08 11:25:07 -05:00
Cycle.actor.cpp FastRestore:Use NotifiedVersion to deduplicate requests 2019-05-22 22:09:54 -07:00
DDBalance.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
DDMetrics.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
DiskDurability.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
DiskDurabilityTest.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
DummyWorkload.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
FastTriggeredWatches.actor.cpp FastRestore: Cleanup code 2019-04-12 13:49:55 -07:00
FileSystem.actor.cpp Fix all -Wunused-variable warnings 2019-04-15 18:13:00 -07:00
Fuzz.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
FuzzApiCorrectness.actor.cpp fixed a spurious test error where process_behind was treated as an error 2019-04-08 17:09:54 -07:00
Increment.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
IndexScan.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
Inventory.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
JavaWorkload.actor.cpp resolved minor merge issues 2019-04-05 13:12:19 -07:00
KVStoreTest.actor.cpp renamed BinaryWriter.toStringRef() to .toValue(), because the function now returns a Standalone<StringRef>() 2019-03-28 11:52:50 -07:00
KillRegion.actor.cpp Fix OPEN_FOR_IDE build errors 2019-04-05 16:30:42 -07:00
LockDatabase.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
LogMetrics.actor.cpp renamed BinaryWriter.toStringRef() to .toValue(), because the function now returns a Standalone<StringRef>() 2019-03-28 11:52:50 -07:00
LowLatency.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
MachineAttrition.actor.cpp Defer formatting in traces to make them cheaper 2019-04-05 13:12:19 -07:00
MemoryKeyValueStore.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
MemoryKeyValueStore.h Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
MemoryLifetime.actor.cpp Fix all -Wunused-variable warnings 2019-04-15 18:13:00 -07:00
MetricLogging.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
ParallelRestore.actor.cpp FastRestore:Use NotifiedVersion to deduplicate requests 2019-05-22 22:09:54 -07:00
Performance.actor.cpp replaced std::pair<WorkerInterface,ProcessClass> with a struct named WorkerDetails 2019-03-08 11:25:07 -05:00
Ping.actor.cpp renamed BinaryWriter.toStringRef() to .toValue(), because the function now returns a Standalone<StringRef>() 2019-03-28 11:52:50 -07:00
PubSubMultiples.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
QueuePush.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
RYWDisable.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
RYWPerformance.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
RandomClogging.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
RandomMoveKeys.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
RandomSelector.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
ReadWrite.actor.cpp replaced std::pair<WorkerInterface,ProcessClass> with a struct named WorkerDetails 2019-03-08 11:25:07 -05:00
RemoveServersSafely.actor.cpp Defer formatting in traces to make them cheaper 2019-04-05 13:12:19 -07:00
Rollback.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
RyowCorrectness.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
SaveAndKill.actor.cpp net: Use IPv6 in simulation testing #963 2019-03-04 14:12:45 -08:00
SelectorCorrectness.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
Serializability.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
Sideband.actor.cpp renamed BinaryWriter.toStringRef() to .toValue(), because the function now returns a Standalone<StringRef>() 2019-03-28 11:52:50 -07:00
SlowTaskWorkload.actor.cpp Fix compiler warning about unreferenced exception variable 2019-03-26 13:43:47 -07:00
StatusWorkload.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
Storefront.actor.cpp renamed BinaryWriter.toStringRef() to .toValue(), because the function now returns a Standalone<StringRef>() 2019-03-28 11:52:50 -07:00
StreamingRead.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
TargetedKill.actor.cpp made use_provisional_proxies a transaction option 2019-03-19 18:44:37 -07:00
TaskBucketCorrectness.actor.cpp Defer formatting in traces to make them cheaper 2019-04-05 13:12:19 -07:00
ThreadSafety.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
Throttling.actor.cpp More ide fixes 2019-03-05 18:03:57 -08:00
Throughput.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
TimeKeeperCorrectness.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
UnitPerf.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
UnitTests.actor.cpp Use fwd decls in workloads 2019-02-19 15:16:59 -08:00
Unreadable.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
VersionStamp.actor.cpp Address review comments from #1446 2019-04-16 09:48:15 -07:00
WatchAndWait.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
Watches.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
WorkerErrors.actor.cpp replaced std::pair<WorkerInterface,ProcessClass> with a struct named WorkerDetails 2019-03-08 11:25:07 -05:00
WriteBandwidth.actor.cpp Use correct fwd decls in TesterInterface 2019-02-19 15:16:59 -08:00
WriteDuringRead.actor.cpp Add some very basic exercising of priority batch to simulation 2019-02-28 12:18:45 -08:00
workloads.actor.h Merge branch 'master' into mengxu/restore/parallel-v7 2019-03-30 22:13:10 -07:00