txn_override.js shouldn't have a write concern when creating a collection outside of a transaction

XMLWordPrintableJSON

    • 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
    • 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 with a write concern error, it will fail here and we'll then retry the create collection. This can cause an error because it means we could retry the collection creation even though it already succeeded the first time.

              Assignee:
              Judah Schvimer
              Reporter:
              Samyukta Lanka
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: