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

Recovering the state of a completed single-shard transaction should not block

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.11
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2019-04-08, Sharding 2019-04-22, Sharding 2019-05-06

    Description

      Opening in response to the single-shard transaction behavior described in SERVER-39187 and SERVER-37344:

      single shard transactions don't send coordinateCommit. And the current behavior is that attempting to recover a single shard transaction commit will make it wait for the coordinator to timeout and then check for the commit state of the transaction locally.

      It would be a great improvement if recovering the state of a committed/aborted single-shard transaction did not block for 60 seconds (or transactionLifetimeLimitSeconds).

      CC: alyson.cabral.

      Attachments

        Issue Links

          Activity

            People

              randolph@mongodb.com Randolph Tan
              shane.harvey@mongodb.com Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: