[SERVER-63723] Remove unnecesary moveChunk operations in balancer_defragmentation_merge_chunks Created: 16/Feb/22  Updated: 29/Oct/23  Resolved: 17/Feb/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0, 5.3.0-rc1

Type: Bug Priority: Major - P3
Reporter: Allison Easton Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.3
Sprint: Sharding EMEA 2022-02-21
Participants:
Linked BF Score: 66

 Description   

During the test of resharding during defragmentation, the chunks are moved back to shard 0 after resharding finishes. Now that defragmentation disables balancing on the collection it is running on, this is not necessary and can potentially cause failures due to both migrations trying to happen simultaneously.



 Comments   
Comment by Githook User [ 22/Feb/22 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-63723 Remove unnecesary moveChunk operations in balancer_defragmentation_merge_chunks

(cherry picked from commit 2d2d949ecb7e43c07833118361f21fb8731e7c4b)
Branch: v5.3
https://github.com/mongodb/mongo/commit/21f1f5abf0d7ba00df018716894a70f409eb1d9e

Comment by Githook User [ 17/Feb/22 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-63723 Remove unnecesary moveChunk operations in balancer_defragmentation_merge_chunks
Branch: master
https://github.com/mongodb/mongo/commit/2d2d949ecb7e43c07833118361f21fb8731e7c4b

Generated at Thu Feb 08 05:58:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.