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

Allow nodes to vote for candidates with higher config

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.3, 4.4.9, 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4
    • Repl 2021-06-28, Repl 2021-07-26, Repl 2021-08-09

    Description

      Currently we only allow voting for candidates with same config as ours, due to the issue stated in SERVER-46387.  However this causes a liveness issue where if a primary is stuck in catchup/drain mode with a lower config, catchup takeover cannot bail it out because catchup takeover requires vote from primary and primary cannot install a new config during catchup/drain mode. If that happens, the whole replica set will hang because there will be no writable primary. It should be safe to allow voting for candidates with higher config as we used to do, which was also verified by TLA+, but we need to take care of the issue stated in SERVER-46387.

      Attachments

        Issue Links

          Activity

            People

              wenbin.zhu@mongodb.com Wenbin Zhu
              ali.mir@mongodb.com Ali Mir
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: