Commit Graph

3 Commits

Author SHA1 Message Date
Meng Xu 25c75f4222 FastRestore: Add new empty files for restore roles
Add .h and .cpp files for RestoreLoader and RestoreApplier roles.
We will split the code for each restore role into a separate file.

This commit also fixes the bug in including RestoreCommon.actor.h, and
remove the unused code.
2019-05-06 16:59:41 -07:00
Meng Xu 26eee4e779 FastRestore: Fix non-deterministic bug
When we batch the mutations sent from loader to applier,
we forgot to clear the batch buffer in case of error,
which leads to undeterminism.

To fix the bug, we clear the mutation buffer before we use it.
2019-05-01 07:09:54 -07:00
Meng Xu 19841f9ef5 FastRestore: Move copied code into a separate file
We re-use some code from the existing restore system.
To make code review easier and code cleaner, we move the copied and
small-changed code into two separate files:
RestoreCommon.actor.h and RestoreCommon.actor.cpp
2019-04-30 20:57:02 -07:00