In hybrid restore (https://github.com/apple/foundationdb/issues/2127), we still need the fast restore to replay mutations to the point-in-time. But the fast restore no longer needs to process range files or to process all log files.
This issue includes
[ ] Extend the fastrestore_tool to (1) provide an option to only process log files, and (2) specify a version range of log files to process. This also requires adding the info into the restore request;
[ ] Extend the fast restore to only process the version range of log files in the restore request. Restore Controller can simply filter out the unneeded files and created the RestoreAsset accordingly. The framework should handle the rest of the operation.
[ ] Add simulation test for this. <-- This is the most complex part in this issue.
In hybrid restore (https://github.com/apple/foundationdb/issues/2127), we still need the fast restore to replay mutations to the point-in-time. But the fast restore no longer needs to process range files or to process all log files.
This issue includes
[ ] Extend the
fastrestore_tool
to (1) provide an option to only process log files, and (2) specify a version range of log files to process. This also requires adding the info into the restore request;[ ] Extend the fast restore to only process the version range of log files in the restore request. Restore Controller can simply filter out the unneeded files and created the RestoreAsset accordingly. The framework should handle the rest of the operation.
[ ] Add simulation test for this. <-- This is the most complex part in this issue.