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

Use initiateWithHighElectionTimeout() in primary_casts_vote_on_stepdown.js to prevent unexpected elections

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 6.0.6
    • None
    • None
    • None
    • Fully Compatible
    • v6.3, v6.2, v6.0
    • Repl 2023-03-06
    • 5

    Description

      primary_casts_vote_on_stepdown.js expects there to be a single round of election, however due to slow machines, there could be unexpected elections that increase the term beyond what the test expects. It should use initiateWithHighElectionTimeout() to prevent such cases.

      Attachments

        Activity

          People

            wenbin.zhu@mongodb.com Wenbin Zhu
            wenbin.zhu@mongodb.com Wenbin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: