Provide transaction table hook for session expiration

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.0-rc0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Platforms 2017-09-11, Platforms 2017-10-02
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We need to provide a hook for transaction expiration which is invoked on all standalones and primaries to alert the retryable write subsystem when sessions have expired.

      The lifetime and logic here seems identical to the rules for cursors (The cursor manager tells us what sessions are used by cursors, then we tell the cursor manager to drop the cursors attached to those sessions). We can replace the first step with a scan of the transaction table and the second with invocation of a callback that retryable writes can fill in (either via a callback injection or having them implement a service liason method).

            Assignee:
            Mira Carey
            Reporter:
            Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: