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

Optimize scanning SessionCatalog when refreshing retryable writes from storage

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc7, 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding NYC 2022-05-30

    Description

      To support retryable writes that execute statements as transactions, when refreshing a retryable write from storage, we scan the session catalog for the highest txnNumber for that session. Scanning the catalog locks it, so we should optimize this scan to leverage the changes from SERVER-62479 to store all child sessions with their parent to either only scan those children or to scan no sessions by caching the highest txnNumber of any child directly with each parent session.

      Attachments

        Activity

          People

            cheahuychou.mao@mongodb.com Cheahuychou Mao
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: