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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0, 6.0.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.3, v6.2, v6.0
    • Repl 2023-03-06
    • 5
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Wenbin Zhu
              Reporter:
              Wenbin Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: