[SERVER-62554] Add orphans info in `collStats` aggregation stage output Created: 12/Jan/22 Updated: 29/Oct/23 Resolved: 14/Mar/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Allison Easton |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | pm-2323-orphans-tracking | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Sprint: | Sharding EMEA 2022-03-21 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
With the introduction of ranges, chunks distribution will become much less meaningful to evaluate whether a collection is balanced or not. Objective of this ticket is to return orphans as part of the collStats aggregation stage's output so that users can rely on some new metric to evaluate the balancing status. To get the actual size of a collection on a shard, some example of metrics may be dataSize - orphansSize or countDocuments - countOrphans. |
| Comments |
| Comment by Githook User [ 11/Mar/22 ] |
|
Author: {'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}Message: |