FastRestore:Applier:Count appliedTxns
This commit is contained in:
parent
0c5997ca2d
commit
325bd52939
|
@ -415,8 +415,9 @@ ACTOR Future<Void> applyToDB(UID applierID, int64_t batchIndex, Reference<Applie
|
||||||
wait(tr->commit());
|
wait(tr->commit());
|
||||||
// Update status counter appliedBytes, appliedMutations, atomicOps
|
// Update status counter appliedBytes, appliedMutations, atomicOps
|
||||||
batchData->counters.appliedBytes += progress.txnBytes;
|
batchData->counters.appliedBytes += progress.txnBytes;
|
||||||
batchData->counters.appliedTxns += progress.txnMutations;
|
batchData->counters.appliedMutations += progress.txnMutations;
|
||||||
batchData->counters.appliedAtomicOps += progress.numAtomicOps;
|
batchData->counters.appliedAtomicOps += progress.numAtomicOps;
|
||||||
|
batchData->counters.appliedTxns += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (progress.isDone()) { // Are all mutations processed?
|
if (progress.isDone()) { // Are all mutations processed?
|
||||||
|
|
Loading…
Reference in New Issue