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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Replication
    • ALL
    • Repl 15 (06/03/16)
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            [DO NOT USE] Backlog - Replication Team
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: