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

Mongos should throw write targeting errors during a transaction

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: