a node newly added to a replset sometimes goes into REMOVED state first

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.8.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We suspect that checkQuorumForConfigChange on the reconfig'ing node is communicating the old config to the newly added node. Specifically, the node running the reconfig command issues a heartbeat to every member of the new config. This causes the newly added node to issue a heartbeat back to the reconfig'ing node before that node has finished processing the reconfig. The response to the new node contains the old config, which does not contain the new node, so it goes into REMOVED. It then receives a heartbeat from the reconfig'ing node when the reconfig is complete, and this time the new node gets the new configuration and joins the set.

            Assignee:
            Andy Schwerin
            Reporter:
            Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: