FastRestore:resetPerVersionBatch:fix compile error
This commit is contained in:
parent
2cd7010efb
commit
0cd87df985
|
@ -82,8 +82,7 @@ struct RestoreApplierData : RestoreRoleData, public ReferenceCounted<RestoreAppl
|
||||||
}
|
}
|
||||||
|
|
||||||
void resetPerVersionBatch() {
|
void resetPerVersionBatch() {
|
||||||
RestoreRoleData::resetPerVersionBatch();
|
TraceEvent("FastRestore").detail("ResetPerVersionBatchOnApplier", nodeID);
|
||||||
|
|
||||||
inProgressApplyToDB = false;
|
inProgressApplyToDB = false;
|
||||||
kvOps.clear();
|
kvOps.clear();
|
||||||
dbApplier = Optional<Future<Void>>();
|
dbApplier = Optional<Future<Void>>();
|
||||||
|
|
|
@ -75,7 +75,6 @@ struct RestoreLoaderData : RestoreRoleData, public ReferenceCounted<RestoreLoade
|
||||||
|
|
||||||
void resetPerVersionBatch() {
|
void resetPerVersionBatch() {
|
||||||
TraceEvent("FastRestore").detail("ResetPerVersionBatchOnLoader", nodeID);
|
TraceEvent("FastRestore").detail("ResetPerVersionBatchOnLoader", nodeID);
|
||||||
RestoreRoleData::resetPerVersionBatch();
|
|
||||||
rangeToApplier.clear();
|
rangeToApplier.clear();
|
||||||
keyOpsCount.clear();
|
keyOpsCount.clear();
|
||||||
numSampledMutations = 0;
|
numSampledMutations = 0;
|
||||||
|
|
Loading…
Reference in New Issue