Lock the ref after we have acquired the prefetch lock

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT11.3.0, 8.1.0-rc0, 8.0.10
    • Affects Version/s: None
    • Component/s: Prefetch
    • None
    • Storage Engines
    • 2024-07-23 - Mining crypto
    • 3
    • v8.0

      Currently we lock the ref before we acquire the prefetch lock when adding a ref to the prefetch queue. This can cause the ref lock be held longer than necessary and increase the latency for users. We should do the opposite and only lock the ref after we have acquired the prefetch lock.

              Assignee:
              Chenhao Qu
              Reporter:
              Chenhao Qu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: