txn_override.js needs to retry on NotMaster errors on implicit collection creation

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Sharding 2018-12-17
    • 65
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If we get an "OperationNotSupportedInTransaction" error, we abort the transaction, create the collection, and then rerun the transaction. If we get "NotMaster" on the collection creation we just return "OperationNotSupportedInTransaction" and then return to the test.

      Instead, when we create the collection, no matter what happens we should always try to rerun the entire transaction here which will retry the collection creation if needed.

              Assignee:
              Janna Golden
              Reporter:
              Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: