summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_move_chunk_cmd.cpp
diff options
context:
space:
mode:
authorPierlauro Sciarelli <pierlauro.sciarelli@mongodb.com>2022-06-01 08:48:52 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-01 09:37:42 +0000
commitc3235384682ca54e131aac068ecb7be9f409183b (patch)
treee34172916325a00ab49b54793eaf20a4c46cd877 /src/mongo/s/commands/cluster_move_chunk_cmd.cpp
parent6481aad2498e583b2b0f2fec95ee5af88ba59566 (diff)
downloadmongo-c3235384682ca54e131aac068ecb7be9f409183b.tar.gz
SERVER-66805 Change public-facing `moveRange::forceJumbo` to bool type
Diffstat (limited to 'src/mongo/s/commands/cluster_move_chunk_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_move_chunk_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_move_chunk_cmd.cpp b/src/mongo/s/commands/cluster_move_chunk_cmd.cpp
index fceac299e33..b1149c67c5c 100644
--- a/src/mongo/s/commands/cluster_move_chunk_cmd.cpp
+++ b/src/mongo/s/commands/cluster_move_chunk_cmd.cpp
@@ -186,11 +186,11 @@ public:
moveRangeReq.setMax(chunk->getMax());
moveRangeReq.setWaitForDelete(waitForDelete);
- moveRangeReq.setForceJumbo(forceJumbo ? ForceJumbo::kForceManual : ForceJumbo::kDoNotForce);
-
ConfigsvrMoveRange configsvrRequest(nss);
configsvrRequest.setDbName(NamespaceString::kAdminDb);
configsvrRequest.setMoveRangeRequestBase(moveRangeReq);
+ configsvrRequest.setForceJumbo(forceJumbo ? ForceJumbo::kForceManual
+ : ForceJumbo::kDoNotForce);
if (secondaryThrottle.getSecondaryThrottle() == MigrationSecondaryThrottleOptions::kOn) {
configsvrRequest.setSecondaryThrottle(secondaryThrottle);
}