Implement mongos abort logic

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2018-08-27, Sharding 2018-09-10, Sharding 2018-09-24, Sharding 2018-10-08
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, mongos aborts transactions by sending abortTransaction to all shards, since this was sufficient for the single shard case. Instead, it should be changed to only target the shards in the participant list that have been successfully sent startTransaction=true.

      Mongos should also remember if a txnId (lsid/txnNumber pair) is aborted, so it won't accept more statements for a transaction after it chooses to abort.

              Assignee:
              Randolph Tan
              Reporter:
              Jack Mulrow
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: