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

replSetStepDown doesn't acknowledge that hidden nodes cannot become primary

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 2.5.2
    • Affects Version/s: 2.4.0-rc1
    • Component/s: Replication
    • Labels:
      None
    • ALL

      From docs here:
      http://docs.mongodb.org/manual/reference/command/replSetStepDown/#replSetStepDown

      New in version 2.0: If there is no secondary, within 10 seconds of the primary, replSetStepDown will not succeed to prevent long running elections.

      If replSetStepDown is called in a replica set with no valid new primaries (e.g. secondaries in RECOVERING or hidden nodes), and a hidden node is within 10 seconds of the primary, the primary steps down but a new primary cannot be elected.

      This results in a replica set consisting of all secondaries. replSetStepDown should throw an error if there is no new primary to be elected, even if another unelectable node is within 10 seconds.

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            barrie Barrie Segal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: