Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14702

ReplSetGetStatus show syncingTo for self in members array

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.7.8
    • Affects Version/s: 2.7.4
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible

      The code for self:true in the members array of ReplSetGetStatus shows fewer fields than for remote hosts. Most of these are related to network (like pingMs) or remoteness (like the heartbeat fields), and so don't make sense to show for self. However, when running ReplSetGetStatus on a secondary, it still makes sense to see the syncingTo field, since the secondary is still syncing to some other member, and so it is confusing for the field to be absent. It is easy to miss the top-level syncingTo field when focussing on the status of the members.

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: