[SERVER-52773] Add "resharding" section to server status Created: 11/Nov/20 Updated: 29/Oct/23 Resolved: 06/Jan/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Amirsaman Memaripour |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-234-M3, PM-234-O-unspecialized, PM-234-T-metrics | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | Sharding 2021-01-11 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Story Points: | 1 | ||||||||||||||||||||||||
| Description |
|
It should have metrics for the following:
|
| Comments |
| Comment by Githook User [ 06/Jan/21 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |
| Comment by Max Hirschhorn [ 24/Dec/20 ] |
|
Hi bruce.lucas, the "(Coordinator, Donor, Recipient)" refers to the role that the config server and shards take on during a resharding operation. So all three being listed means that we want to track success, failure, and cancellation on every mongod within the sharded cluster. For the ones where only "(Donor)" or "(Recipient)" is listed, we'll still include the metric on every mongod but the value is only expected to be != 0 (or != -1 perhaps depending on the situation) on certain shards. Also of probable interest to you is how we intend for the schema of the new "shardingStatistics.resharding" section to be static. There'll be at most one resharding operation allowed to run in the sharded cluster at a time ( |
| Comment by Bruce Lucas (Inactive) [ 24/Dec/20 ] |
|
Does "(Coordinator, Donor, Recpient)" mean exactly 3 metrics or are those placeholder variables for shard names or something like that? If the latter I might be concerned about the number of metrics this could create. |
| Comment by Max Hirschhorn [ 11/Nov/20 ] |
|
For naming some of these metrics it may be helpful to look at the description of the new/existing metrics for initial sync in |