-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication, Sharding, Testing Infrastructure
-
ALL
-
Repl 2019-01-28, Repl 2019-02-11, Repl 2019-02-25, Repl 2019-03-11, Repl 2019-03-25, Repl 2019-04-08
-
7
In txn_override.js, if an insert attempts to do implicit collection creation inside a transaction, we will abort the transaction, create the collection outside of a transaction, and rerun all operations in the transaction.
On a network error, we retry the entire transaction that was running by rerunning all buffered operations. If, while retrying a transaction, an implicit collection creation happens, then we will re-run all the operations after the operation that caused the implicit collection creation twice.
Instead of rerunning all operations after creating the collection, we should only rerun all operations that happened before (and including) the operation that caused the implicit collection creation.
- duplicates
-
SERVER-38937 Unify txn_override.js and auto_retry_on_network_error.js
- Closed
- related to
-
SERVER-38936 Create unittests for txn_override.js
- Closed