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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

          Issue Links

            Activity

              People

              Assignee:
              jack.mulrow Jack Mulrow
              Reporter:
              jack.mulrow Jack Mulrow
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: