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

ReplSetGetStatus show syncingTo for self in members array

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.7.8
    • 2.7.4
    • Replication
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: