FastRestore:Applier:handleSendMutationVectorRequest:Add comment

This commit is contained in:
Meng Xu 2019-10-18 21:50:12 -07:00 committed by Alex Miller
parent 4efddc9b89
commit f08ad48b7b
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ ACTOR Future<Void> restoreApplierCore(RestoreApplierInterface applierInterf, int
// Only one actor can process mutations from the same file
ACTOR static Future<Void> handleSendMutationVectorRequest(RestoreSendMutationVectorVersionedRequest req,
Reference<RestoreApplierData> self) {
// Assume: self->processedFileState[req.fileIndex] will not be erased while the actor is active.
// Note: Insert new items into processedFileState will not invalidate the reference.
state NotifiedVersion& curFilePos = self->processedFileState[req.fileIndex];
TraceEvent("FastRestore")