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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2019-04-08, Sharding 2019-04-22, Sharding 2019-05-06

      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.

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

              Created:
              Updated:
              Resolved: