Increase electionTimeoutMillis in jstests/replsets/dbcheck_write_concern.js

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v6.1, v6.0, v5.0, v4.4
    • Execution Team 2022-10-31
    • 5
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In some slow continuous integration instance like the code coverage build variant, shutting down a mongod has been observed to take up to about a minute. Increase the electionTimeoutMillis to something like 2 minutes to prevent the primary from unexpectedly stepping down and failing the dbCheck invocation with NotWritablePrimary.

            Assignee:
            Will Buerger
            Reporter:
            Josef Ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: