[SERVER-61555] Link the defragmentation policy to ConfigureCollectionAutoSplit Created: 17/Nov/21  Updated: 29/Oct/23  Resolved: 07/Dec/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

Issue Links:
Problem/Incident
causes SERVER-73383 Defragmentation may start over right ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2021-11-29, Sharding EMEA 2021-12-13
Participants:

 Description   

Calling the ConfigureCollectionAutoSplit command with balancerShouldMergeChunks true should start defragmentation on the collection. This command needs to link with the defragmentation policy beginNewCollection function to achieve this.

In this ticket, we should also add end to end tests for the command and the execution path of the defragmentation policy.



 Comments   
Comment by Githook User [ 02/Dec/21 ]

Author:

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

Message: SERVER-61555 Link the defragmentation policy to ConfigureCollectionAutoSplit
Branch: master
https://github.com/mongodb/mongo/commit/93a31c914c819aeabcc0b16299782f1fb87b1089

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