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

Fix pre-fetch destroy flow in connection close

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.3.0, 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • 5
    • 2023-12-12 - Heisenbug

      There are a few problems with the current way we handle shutting down the pre-fetch functionality.
      (1) Currently, it is possible for pre-fetch to accidentally leave entries on the pre-fetch on the pre-fetch queue as there is no logic in the __wt_prefetch_destroy function that drains the remaining entries on the queue.
      (2) Pre-fetch should not be running during shutdown, but the current implementation does not stop the pre-fetch threads from running until very late into the __conn_close function.

            Assignee:
            monica.ng@mongodb.com Monica Ng
            Reporter:
            monica.ng@mongodb.com Monica Ng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: