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

Mongos should reject commands that aren't allowed in multi statement transactions by contain txnNumber

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Sharding 2018-11-19

    Description

      Mongos isn't guaranteed to forward txnNumbers received from clients for commands that aren't supported in multi statement transactions, so it can't rely on shards to reject them. Instead mongos should check itself that received commands with txnNumbers are allowed in a transaction, ideally using the same validation code as mongod.

      Attachments

        Activity

          People

            jack.mulrow@mongodb.com Jack Mulrow
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: