Return more informative error message when updating shard key fails on commit

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2019-05-06
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When a write that updates a shard key is not part of a transaction, we start a transaction, run this write as part of the txn, and commit it. If the commit fails, the error it fails with may be confusing if returned to the user, i.e. NoSuchTransaction etc, because the user did not run the write as a transaction. We should return a more useful error to the user in this case.

            Assignee:
            Janna Golden (Inactive)
            Reporter:
            Janna Golden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: