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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.11
    • Component/s: Sharding
    • Labels:
      None

      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: Aly Cabral.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: