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

Step down primary for less time in freeze_timeout.js and increase electionTimeoutMillis

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.3.1
    • 4.2.1, 4.3.1, 4.0.14
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v4.2, v4.0
    • Repl 2019-08-12
    • 0

    Description

      freeze_timeout.js fails because, after the primary steps down, instead of a single node replica set prompt election taking place as desired, an election is started due to an election timeout. This is because the primary is stepped down for 10 seconds, which is equal to electionTimeoutMillis. The fix would be to step down the primary for less time and to increase electionTimeoutMillis to be safe. 

      Attachments

        Activity

          People

            medha.potluri@mongodb.com Medha Potluri (Inactive)
            medha.potluri@mongodb.com Medha Potluri (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: