-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Engines
-
StorEng - Defined Pipeline
As part of the PM-3810 project, we recognized that it is in fact possible for _wti_evict_app_assist_worker to be called from an internal thread. By implying placing a WT_ASSERT(session, F_ISSET(session, WT_SESSION_INTERNAL)) within the function, it gets hit quite often within WiredTiger testing. This is potentially dangerous and requires extra investigation if this is allowed. The function _wti_evict_app_assist_worker implies that only application threads can be pulled into eviction. If we have an internal thread going through the same path, it may bring contention for the whole overall system, e.g. sweep server gets pulled into eviction.
Investigation
This ticket aims to investigate whether it is dangerous or not for internal threads to be calling __wti_evict_app_assist_worker function and get pulled into eviction.