Mongos should throw write targeting errors during a transaction

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Sharding 2019-01-14
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Any error encountered in a batch during a transaction is thrown by mongos and mongod (because a transaction cannot succeed if any write fails) leading to a command error instead of individual write errors in the response to the client. However, currently mongos does not throw targeting errors encountered in a transaction batch, leading to a response with a write error instead. For consistency, mongos should throw these errors.

            Assignee:
            Jack Mulrow
            Reporter:
            Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: