[SERVER-62756] Defragmenter (phase 2) should take into account both sibling when merging Created: 19/Jan/22  Updated: 29/Oct/23  Resolved: 26/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Paolo Polato
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2022-02-07
Participants:

 Description   

It could be possible that during phase 2 of the defragmentation process we move a small chunk to another shard that owns both the siblings, in this case we should merge all those three chunks together (right-sibling, center, left-sibling)



 Comments   
Comment by Githook User [ 26/Jan/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-62756 Add second mergeChunks phase to the defragmentation algorithm
Branch: master
https://github.com/mongodb/mongo/commit/53f05f14bf97787451785f1a93c453e650dbb5d0

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