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

Relinquishing primary makes vote request from higher-priority node fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 3.2.0-rc0
    • Replication
    • None
    • Fully Compatible
    • ALL
    • RPL A (10/09/15), Repl B (10/30/15)
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: