[SERVER-61989] balancer_defragmentation_merge_chunks should recreate collection between tests Created: 10/Dec/21  Updated: 29/Oct/23  Resolved: 17/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.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
Participants:

 Description   

The jstest balancer_defragmentation_merge_chunks currently creates a fragmented collection at the beginning of the test and then uses this collection throughout the test. Since defragmentation is turned on and off multiple times, it could happen that all chunks have been merged by the time the next test runs.

We should reinitialize a fragmented collection between tests to ensure there are still actions to be done.



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

Author:

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

Message: SERVER-61989 balancer_defragmentation_merge_chunks should recreate collection between tests
Branch: master
https://github.com/mongodb/mongo/commit/fcd93d3668831df603399b2132260635cfe89ec7

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