From 325bd5293970293f8f0c55cdca5ecfc97a21853f Mon Sep 17 00:00:00 2001 From: Meng Xu Date: Mon, 10 Feb 2020 17:13:20 -0800 Subject: [PATCH] FastRestore:Applier:Count appliedTxns --- fdbserver/RestoreApplier.actor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fdbserver/RestoreApplier.actor.cpp b/fdbserver/RestoreApplier.actor.cpp index cd7648eb5d..76a452c248 100644 --- a/fdbserver/RestoreApplier.actor.cpp +++ b/fdbserver/RestoreApplier.actor.cpp @@ -415,8 +415,9 @@ ACTOR Future applyToDB(UID applierID, int64_t batchIndex, Referencecommit()); // Update status counter appliedBytes, appliedMutations, atomicOps batchData->counters.appliedBytes += progress.txnBytes; - batchData->counters.appliedTxns += progress.txnMutations; + batchData->counters.appliedMutations += progress.txnMutations; batchData->counters.appliedAtomicOps += progress.numAtomicOps; + batchData->counters.appliedTxns += 1; } if (progress.isDone()) { // Are all mutations processed?