|
After some initial work, it turns out this depends on (at least) several bug fixes:
- There is a deadlock during stepdown between the stepdown thread and commands with checked out sessions, which should be fixed by
SERVER-40081.
- The TransactionCoordinator doesn't update the replica set monitor, so failovers are detected very slowly, which times out the test infrastructure:
SERVER-40202.
- Retrying prepare sets the client's last opTime to the prepare optime, which fails waitForWriteConcern if it is from a different term which can happen after a failover. This can be fixed by
SERVER-40069 or by manually setting the last op for retried prepares to the system last op like was done (but reverted) in SERVER-37886. As noted in SERVER-37886, these can't be done until SERVER-39036 is completed.
- Mongos incorrectly retries read-only commits using two-phase commit, which leads to coordinator timeouts:
SERVER-40201.
|