diff options
author | Cheahuychou Mao <mao.cheahuychou@gmail.com> | 2022-03-07 19:43:36 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-07 22:00:55 +0000 |
commit | 2fde2cb6c2e2c47ff227daf8596995d636455bb3 (patch) | |
tree | 6dc10ba44732c93d29d048448a019f9f10e56bcc /jstests/libs/chunk_manipulation_util.js | |
parent | 9447e18925d66860386ba8f354278679708f9492 (diff) | |
download | mongo-2fde2cb6c2e2c47ff227daf8596995d636455bb3.tar.gz |
SERVER-64292 Make runCommandDuringTransferMods take in findCriteria
Diffstat (limited to 'jstests/libs/chunk_manipulation_util.js')
-rw-r--r-- | jstests/libs/chunk_manipulation_util.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/libs/chunk_manipulation_util.js b/jstests/libs/chunk_manipulation_util.js index 3a7656420a3..a4afda3e937 100644 --- a/jstests/libs/chunk_manipulation_util.js +++ b/jstests/libs/chunk_manipulation_util.js @@ -240,11 +240,11 @@ function waitForMigrateStep(shardConnection, stepNumber) { // Run the given function in the transferMods phase. // function runCommandDuringTransferMods( - mongos, staticMongod, ns, bounds, fromShard, toShard, cmdFunc) { + mongos, staticMongod, ns, findCriteria, bounds, fromShard, toShard, cmdFunc) { // Turn on the fail point and wait for moveChunk to hit the fail point. pauseMoveChunkAtStep(fromShard, moveChunkStepNames.startedMoveChunk); let joinMoveChunk = - moveChunkParallel(staticMongod, mongos.host, null, bounds, ns, toShard.shardName); + moveChunkParallel(staticMongod, mongos.host, findCriteria, bounds, ns, toShard.shardName); waitForMoveChunkStep(fromShard, moveChunkStepNames.startedMoveChunk); // Run the commands. |