[SERVER-47402] Track the ping time from a node's sync source in serverStatus Created: 07/Apr/20 Updated: 06/Dec/22 Resolved: 13/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Samyukta Lanka | Assignee: | Backlog - Replication Team |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Replication
|
||||
| Backport Requested: |
v4.4, v4.2
|
||||
| Sprint: | Repl 2020-04-20 | ||||
| Participants: | |||||
| Description |
|
The metric will be called syncSourcePingTimeMillis. If the node doesn't have a sync source, this will be set to -1. |
| Comments |
| Comment by Xuerui Fa [ 13/Apr/20 ] |
|
Metric is a part of replSetGetStatus: https://docs.mongodb.com/manual/reference/command/replSetGetStatus/#replSetGetStatus.members%5Bn%5D.pingMs |