-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Repl 2020-05-18, Repl 2020-06-01
Write a workload of short-running reads (<1 second) with readPreference “secondary”. This should be run against a ReplSetTest with 3 nodes, where the two secondaries are alternately shut down. Run this workload with the 4.2 version of pymongo to test without streamable isMaster (consider using a smaller client heartbeat frequency or a longer quiesce mode, in order to be robust to slow machines). Simulate 1 second of network latency between the driver and the secondaries using mongobridge. The test should disable retries in pymongo and assert that all commands succeed. This demonstrates that the need for retries is eliminated. Consider only running this test on variants that are not typically slow.
- depends on
-
SERVER-46952 Create server parameter shutdownTimeoutMillisForSignaledShutdown on mongod
- Closed
-
SERVER-47017 Attach topologyVersion to ShutdownErrors (mongod)
- Closed
- is depended on by
-
SERVER-46964 Test locally that we eliminate retries of short-running reads due to planned secondary shutdown (with streamable isMaster)
- Closed
-
SERVER-46965 Test that we eliminate retries of short-running reads due to planned primary shutdown (without streamable isMaster)
- Closed
-
SERVER-46968 Test locally that we eliminate retries of short-running operations due to planned mongos shutdown (without streamable isMaster)
- Closed