Review whether all checks are needed when the dhandle is exclusively taken in __wt_page_can_evict

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Cache and Eviction
    • None
    • Storage Engines, Storage Engines - Transactions
    • None
    • 5

      In wt-16652, in __wt_page_can_evict, 
      if (F_ISSET(ref, WT_REF_FLAG_INTERNAL) &&
      !F_ISSET(session->dhandle, WT_DHANDLE_DEAD | WT_DHANDLE_EXCLUSIVE) &&
      __wt_gen_active(session, WT_GEN_SPLIT, page->pg_intl_split_gen))

      { WT_STAT_CONN_DSRC_INCR(session, cache_eviction_blocked_internal_page_split); return (false); }

      we should review whether all the checks are needed when the dhandle is exclusively taken.

            Assignee:
            Shoufu Du
            Reporter:
            Shoufu Du
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: