summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/range_deletion_util.cpp
diff options
context:
space:
mode:
authorTommaso Tocci <tommaso.tocci@mongodb.com>2022-04-05 10:22:16 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-05 11:03:27 +0000
commit865b891e92e201dc4a3e65e37524b13cfccb38a4 (patch)
tree2680d67723551f049eb12b38efde4e605cbb7039 /src/mongo/db/s/range_deletion_util.cpp
parent33720b4cbb38b4dc5ab98f9bde68a62451e93745 (diff)
downloadmongo-865b891e92e201dc4a3e65e37524b13cfccb38a4.tar.gz
SERVER-64196 Implement BalancerStatisticsRegistry and command to retrieve its state
Diffstat (limited to 'src/mongo/db/s/range_deletion_util.cpp')
-rw-r--r--src/mongo/db/s/range_deletion_util.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/s/range_deletion_util.cpp b/src/mongo/db/s/range_deletion_util.cpp
index 5beae5cc6b6..99ef78ed220 100644
--- a/src/mongo/db/s/range_deletion_util.cpp
+++ b/src/mongo/db/s/range_deletion_util.cpp
@@ -325,7 +325,8 @@ ExecutorFuture<void> deleteRangeInBatches(const std::shared_ptr<executor::TaskEx
keyPattern,
range,
numDocsToRemovePerBatch));
- migrationutil::persistUpdatedNumOrphans(opCtx, migrationId, -numDeleted);
+ migrationutil::persistUpdatedNumOrphans(
+ opCtx, migrationId, collectionUuid, -numDeleted);
if (MONGO_unlikely(hangAfterDoingDeletion.shouldFail())) {
hangAfterDoingDeletion.pauseWhileSet(opCtx);