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

Various timeouts should not start elections

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • Replication
    • ALL

    Description

      The priority takeover, catchup takeover, and election timeout callback functions all schedule an election ("if eligible") regardless of whether the callback was canceled or not. They should not schedule elections nor reschedule the election timeout if they are canceled.

      Additionally, we should have tests which verify that catchup and priority takeover do not cause elections, even dry runs, when canceled (when the primary catches up for catchup takeover, when a different primary takes over for priority takeover).

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: