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

replSetStepDown doesn't acknowledge that hidden nodes cannot become primary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 2.4.0-rc1
    • Fix Version/s: 2.5.2
    • Component/s: Replication
    • Labels:
      None
    • Operating System:
      ALL
    • Case:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: