-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
v4.2
-
43
The recover_prepared_txn_with_multikey_write.js test reconstructs a prepared transaction that did a multikey write. After reconstructing this transaction, we should assert that no prepare conflicts are generated on the catalog, to make sure that the transaction was reconstructed correctly and the multikey write was done in a side transaction. This may have helped catch the issue referenced in SERVER-42750. We should also make sure it waits for the restarted node to become primary again, so that data consistency checks are not skipped inside stopSet. Furthermore, it should abort the prepared transaction before shutting down the set.
- related to
-
SERVER-42750 OperationContext::inMultiDocumentTransaction() doesn't return true when applying operations for prepared transaction during recovery
- Closed