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

Mongos should throw write targeting errors during a transaction

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

      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@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: