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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.1, 4.3.1, 4.0.14
    • Affects Version/s: 4.3.1
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v4.2, v4.0
    • Repl 2019-08-12
    • 0

      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. 

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

              Created:
              Updated:
              Resolved: