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);
- is related to
-
WT-12020 Fix pre-fetch destroy flow in connection close
- Closed