Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13244

Lock the ref after we have acquired the prefetch lock

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.3.0, 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Prefetch
    • None
    • Storage Engines
    • 3
    • 2024-07-23 - Mining crypto
    • 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@mongodb.com Chenhao Qu
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: