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

Fix prefetch queue count assert

    • 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
    • 1
    • 2024-01-09 - I Grew Tired

      The __wt_conn_prefetch_clear_tree function will always try to assert that the prefetch queue count is equal to zero, even if we are only clearing the refs for a particular tree. It should only assert that the count is zero if the input parameter specifies that we are clearing the entire prefetch queue.

      Fix:

      if (all)
          WT_ASSERT(session, conn->prefetch_queue_count == 0);
      

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

              Created:
              Updated:
              Resolved: