Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38347

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

    • Fully Compatible
    • ALL
    • Sharding 2018-12-17
    • 65
    • 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@mongodb.com Janna Golden
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None