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.
Increase electionTimeoutMillis in jstests/replsets/dbcheck_write_concern.js
- Assignee:
-
Will Buerger
- Reporter:
-
Josef Ahmad
- Votes:
-
0 Vote for this issue - Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: