[SERVER-61531] Create balancer infrastructure for collection defragmentation Created: 16/Nov/21  Updated: 29/Oct/23  Resolved: 26/Nov/21

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

Type: Task 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

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2021-11-29
Participants:

 Description   

The defragmentation logic in c++ must interact with the balancer to ensure conflicting migrations are not issued. This ticket is to create the background infrastructure to run the defragmentation algorithm and to connect this infrastructure to the balancer.

Phases 1 and 3 of the algorithm do not need to be connected to the balancer rounds because they do not include migrations, so they should be run in a separate thread from the migrations.



 Comments   
Comment by Githook User [ 24/Nov/21 ]

Author:

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

Message: SERVER-61531 Create balancer infrastructure for collection defragmentation
Branch: master
https://github.com/mongodb/mongo/commit/e66c438f1823e75a4be3eafa1730e76c171531cc

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