-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
Sharding
The txn_two_phase_commit_killop.js and txn_two_phase_commit_failover.js tests are inscrutable and rely on an exact number of times certain strategically placed failpoints are hit and show up in the log.
These tests would be much better if implemented as unit-tests of the TransactionCoordinator's logic.
- is duplicated by
-
SERVER-39422 Refactor common parts of txn_two_phase_commit_*.js tests into sharded_transactions_helpers.js library
- Closed
- related to
-
SERVER-43529 Remove TODO listed in SERVER-39754
- Closed