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

Implement mongos abort logic

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              randolph@mongodb.com Randolph Tan
              jack.mulrow@mongodb.com Jack Mulrow
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: