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

Allow nodes to vote for candidates with higher config

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.3, 4.4.9, 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v5.0, v4.4
    • Sprint:
      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

              Assignee:
              wenbin.zhu Wenbin Zhu
              Reporter:
              ali.mir Ali Mir
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: