-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication, Sharding, Testing Infrastructure
-
None
-
Replication
-
ALL
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 retry the transaction. If the collection creation fails this assert.commandWorked(), it does not necessarily terminate the test because the error could be caught in auto_retry_on_network_error.js and cause the transaction to be retried.
This is a problem because rather than failing loudly for an error we did not expect, we are suppressing the error by retrying the transaction.
- duplicates
-
SERVER-38778 Improve error handling on implicit collection creation in txn_override.js
- Closed