[SERVER-75481] Consider ideal data size when balancing Created: 30/Mar/23 Updated: 01/Dec/23 Resolved: 06/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 7.0.0-rc0, 6.0.6, 6.3.0-rc2 |
| Fix Version/s: | 7.0.0-rc0, 6.0.6, 6.3.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Pierlauro Sciarelli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v6.3, v6.0
|
||||||||||||
| Sprint: | Sharding EMEA 2023-04-17 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
The data size aware balancing introduced in v6.0.3+ versions can potentially schedule migrations from shards under the optimal data size threshold. The chunk-based balancing was avoiding that by scheduling migrations only from shards with a sufficiently high number of chunks . Example
Next balancing round (currently):
Next balancing round (after this fix):
|
| Comments |
| Comment by Githook User [ 20/Apr/23 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |
| Comment by Githook User [ 20/Apr/23 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |
| Comment by Githook User [ 06/Apr/23 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |