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

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2018-11-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

                Created:
                Updated:
                Resolved: