-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication, Testing Infrastructure
-
None
-
Fully Compatible
-
STM 2019-05-20
-
1
The validate command requires a collection X lock, which cannot be acquired if there are outstanding transactions running on the server. The rollback fuzzer may attempt to call RollbackTest#restartNode() after having started transactions on the server. The RollbackTest#restartNode() method should therefore take an optional skipValidation boolean and pass it through to the rst.stop() call.
The RollbackTest#transitionToSteadyStateOperations() method should also be updated to take an optional skipDataConsistencyChecks boolean (wrapped in an object so it's effectively a named parameter) that acts as a syntactic alternative to the usage of expectPreparedTxnsDuringRollback as a way to avoid calling checkDataConsistency().
- is depended on by
-
SERVER-40469 Remove the expectPreparedTxnsDuringRollback parameter to the RollbackTest constructor
- Closed