Rollback tracking fix for blob worker

This commit is contained in:
Josh Slocum 2022-01-24 12:50:41 -06:00
parent 42a36dc756
commit 4d7d1f0e8e
1 changed files with 2 additions and 1 deletions

View File

@ -1071,10 +1071,11 @@ static Version doGranuleRollback(Reference<GranuleMetadata> metadata,
metadata->currentDeltas.resize(metadata->deltaArena, mIdx);
// delete all deltas in rollback range, but we can optimize here to just skip the uncommitted mutations
// directly and immediately pop the rollback out of inProgress
// directly and immediately pop the rollback out of inProgress to completed
metadata->bufferedDeltaVersion = rollbackVersion;
cfRollbackVersion = mutationVersion;
rollbacksCompleted.push_back(std::pair(rollbackVersion, mutationVersion));
}
if (BW_DEBUG) {