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

Investigate whether prefetch threads should be pulled into eviction

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Not Applicable
    • Storage Engines
    • StorEng - Defined Pipeline

      Outdated:
      In WT-11121, we decided to change the op_timer and operation_timeout configurations so that they would only be used for transactional operations as it didn't really make sense to be able to rollback operations that were not within a transaction.

      However, it may still be useful to have some sort of operation_timeout feature for operations that are not necessarily transactional, e.g. pre-fetch. For example, in WT-12816, it would be useful for pre-fetch worker threads to be able to timeout if they cannot proceed due to being blocked by eviction.

      Re-visit this design decision and figure the best way for timeouts to exist in the API.

      EDIT:
      WT-12977 reverted the logic regarding the timeout code coming from WT-11121. However, prefetch threads are still not allowed to be pulled into eviction. This ticket should investigate if they should and if yes, put in place mechanisms to allow it in a safe manner.

            Assignee:
            Unassigned Unassigned
            Reporter:
            monica.ng@mongodb.com Monica Ng
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: