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

Investigate whether internal threads should be calling __wti_evict_app_assist_worker

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            jie.chen@mongodb.com Jie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: