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

Relinquishing primary makes vote request from higher-priority node fail

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • RPL A (10/09/15), Repl B (10/30/15)
    • 0

      If only 2 nodes in a replset are alive, for example, one node in a 3-node replset has been down, when the node with a higher priority starts to run election, the other node which is the current primary will detect the higher term, step down and close all connections immediately before voting for the higher-priority node, which leads to an election failure.

      We'll tag the connection used by vote request and close other connections when relinquishing primary.

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: