diff options
author | Allison Easton <allison.easton@mongodb.com> | 2022-02-17 08:13:47 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-02-22 13:31:00 +0000 |
commit | 21f1f5abf0d7ba00df018716894a70f409eb1d9e (patch) | |
tree | ae6d9f7e2715ea050e5ec15cc125b277ccf172de /jstests | |
parent | bd2abb1b3c22d071e7138b7e3edeeb5943690e5c (diff) | |
download | mongo-21f1f5abf0d7ba00df018716894a70f409eb1d9e.tar.gz |
SERVER-63723 Remove unnecesary moveChunk operations in balancer_defragmentation_merge_chunks
(cherry picked from commit 2d2d949ecb7e43c07833118361f21fb8731e7c4b)
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/sharding/balancer_defragmentation_merge_chunks.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/jstests/sharding/balancer_defragmentation_merge_chunks.js b/jstests/sharding/balancer_defragmentation_merge_chunks.js index a3a3131329c..24a8f5e375c 100644 --- a/jstests/sharding/balancer_defragmentation_merge_chunks.js +++ b/jstests/sharding/balancer_defragmentation_merge_chunks.js @@ -272,10 +272,6 @@ jsTest.log("Changed uuid causes defragmentation to restart"); st.startBalancer(); // Reshard collection assert.commandWorked(db.adminCommand({reshardCollection: nss, key: {key2: 1}})); - assert.commandWorked( - db.adminCommand({moveChunk: nss, find: {key2: MinKey}, to: st.shard0.shardName})); - assert.commandWorked( - db.adminCommand({moveChunk: nss, find: {key2: 1}, to: st.shard0.shardName})); // Let defragementation run clearFailPointOnConfigNodes("afterBuildingNextDefragmentationPhase"); defragmentationUtil.waitForEndOfDefragmentation(st.s, nss); |