[SERVER-75500] WaitForEndOfDefragmentation should not wait for the collection to be balanced Created: 30/Mar/23 Updated: 29/Oct/23 Resolved: 31/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| 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: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Sharding EMEA 2023-04-03 | ||||||||
| Participants: | |||||||||
| Description |
|
Currently, during waitForEndOfDefragmentation, we are calling awaitCollectionBalance to make sure that the balancerCompliant flag is correct. However, this function is used before checking the defragmentation state in the different defragmentation tests (1, 2), so we don't really want to enable the balancer and wait for balanced. Since we only want to know that the first compliance violation is not defragmenting chunks, we don't actually care if balancer compliant was returned too soon. |
| Comments |
| Comment by Githook User [ 31/Mar/23 ] |
|
Author: {'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}Message: |