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

Ensure shards delete their TransactionCoordinator when restarting at the active transaction number

    XMLWordPrintable

    Details

    • Sprint:
      Sharding 2018-10-22

      Description

      A shard may be chosen as the coordinator by mongos when it is executing a statement in a transaction, but if the targeting round fails, mongos will clear its tracking state and may pick a different shard as the coordinator when it retries. If a shard created a coordinator and then has its transaction restarted by the retry attempt (i.e. receives a request with startTransaction=true at the active transaction number), we should ensure its TransactionCoordinator object was removed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              matthew.saltz Matthew Saltz
              Reporter:
              jack.mulrow Jack Mulrow
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: