txn_override.js should make sure failing assert.commandWorked() terminates the test during collection creation

XMLWordPrintableJSON

    • Replication
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              [DO NOT USE] Backlog - Replication Team
              Reporter:
              Samyukta Lanka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: