Write a test that stops/delays journal flushing on the primary in a 3-node set, and then check that the majority point can still move forward after writes occur. Then, shut down a secondary so that the primary must be part of the majority set, and see that the majority point does not move forward after writes occur. This test will prove that we are using the correct logic to calculate a majority, using "durable" timestamps.
- depends on
-
SERVER-44555 Implement replicate before journaling
- Closed
- related to
-
SERVER-59150 non_durable_writes_on_primary_can_reach_majority.js does not wait for durable timestamp on secondary to advance
- Closed
-
SERVER-41392 Modify the _oplogJournalThreadLoop() to no longer call waitUntilDurable() and instead update the oplogTruncateAfterPoint
- Closed