Skip flow control ticket and RSTL lock when locking storage for spilling

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • QE 2025-06-23
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In MongoProcessInterface function that are responsible for spill tables take GlobalLock to avoid race conditions due to accessing storage without a lock.

      But GlobalLock takes a lot of stuff that is not needed for spilling.

      To improve performance and reduce lock contention we should skip them in that use case using GlobalLockSkipOptions

            Assignee:
            Ivan Fefer
            Reporter:
            Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: