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

rs.status() when issued from a Secondary can still show a Primary with syncingTo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.4.4
    • Fix Version/s: 2.5.1
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      1. Connect to the Primary
      2. rs.stepDown()
      3. Connect to the new Primary
      4. rs.stepDown()
      5. connect to another secondary
      6. rs.status() will show the old Primary with a syncingTo field

      Description

      If the current Primary of a replica set has been a Secondary in the past, then a rs.status() when issued from a current Secondary will show that Primary with a syncingTo field.

        Attachments

          Activity

            People

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            andre.defrere Andre de Frere
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: