[SERVER-33546] Add numeric syncing field to replSetGetStatus members array Created: 28/Feb/18 Updated: 29/Oct/23 Resolved: 30/Apr/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.16, 3.6.6, 4.0.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Bruce Lucas (Inactive) | Assignee: | Suganthi Mani |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | SWDI, neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Backport Requested: |
v3.6, v3.4
|
||||||||||||||||||||||||||||
| Sprint: | Repl 2018-04-23, Repl 2018-05-07 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
An important consideration in debugging issues in the field is which members are syncing from which. It is currently difficult to obtain the history of this and correlate it with other events because this information is currently only available as a string field, which is not preserved as a metric in FTDC. It would be helpful if the members array had a numeric field which is the _id of the current sync source for that member, or -1 if it has no sync source. (It is currently possible, but difficult, to obtain this information fro FTDC from the full reference documents stored once per chunk: due to |
| Comments |
| Comment by Githook User [ 22/May/18 ] |
|
Author: {'username': 'smani87', 'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com'}Message: (cherry picked from commit 649630d10bf6c00225480fe261c042737e5d9688) |
| Comment by Githook User [ 22/May/18 ] |
|
Author: {'username': 'smani87', 'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com'}Message: (cherry picked from commit 649630d10bf6c00225480fe261c042737e5d9688) |
| Comment by Githook User [ 27/Apr/18 ] |
|
Author: {'email': 'suganthi.mani@mongodb.com', 'username': 'smani87', 'name': 'Suganthi Mani'}Message: |
| Comment by Spencer Brody (Inactive) [ 17/Apr/18 ] |
|
Yes, that's right |
| Comment by Tess Avitabile (Inactive) [ 17/Apr/18 ] |
|
spencer, is the intention that syncSourceId refers to the same node as syncingTo, but syncingTo contains the hostname of sync source, and syncSourceId contains the _id? |
| Comment by Bruce Lucas (Inactive) [ 01/Mar/18 ] |
|
That would be perfect, thanks. |
| Comment by Spencer Brody (Inactive) [ 28/Feb/18 ] |
|
We can add a 'syncSourceId' field to the replSetGetStatus output alongside the existing 'syncingTo' field. |