summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp')
-rw-r--r--src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp b/src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp
index f64e96fcd48..40a1703318b 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp
+++ b/src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp
@@ -242,8 +242,7 @@ MigrationChunkClonerSourceLegacy::~MigrationChunkClonerSourceLegacy() {
Status MigrationChunkClonerSourceLegacy::startClone(OperationContext* opCtx,
const UUID& migrationId,
const LogicalSessionId& lsid,
- TxnNumber txnNumber,
- bool resumableRangeDeleterDisabled) {
+ TxnNumber txnNumber) {
invariant(_state == kNew);
invariant(!opCtx->lockState()->isLocked());
@@ -296,8 +295,7 @@ Status MigrationChunkClonerSourceLegacy::startClone(OperationContext* opCtx,
_args.getMinKey(),
_args.getMaxKey(),
_shardKeyPattern.toBSON(),
- _args.getSecondaryThrottle(),
- resumableRangeDeleterDisabled);
+ _args.getSecondaryThrottle());
// Commands sent to shards that accept writeConcern, must always have writeConcern. So if the
// StartChunkCloneRequest didn't add writeConcern (from secondaryThrottle), then we add the