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

stepdown returns ok: 1 but does not cause a stepdown if a node is draining its oplog while transitioning to primary

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • Replication
    • ALL
    • Repl 15 (06/03/16)
    • 0

    Description

      Current bad behavior:
      If a node in drain mode receives a stepdown command, the stepdown command returns ok:1 (success) but the node in drain mode does not step down. Instead, the node in drain mode finishes drain mode and then remains in state PRIMARY.
      What should happen:
      Upon receiving a stepdown command, a node in drain mode should interrupt drain mode, step down to SECONDARY, and return ok:1 to the stepdown command.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            backlog-server-repl Backlog - Replication Team
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: