Make prefetch available by default

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: Prefetch
    • None
    • Storage Engines - Persistence
    • SE Persistence - 2026-02-27
    • 3

      Prefetch has been in prod for some time now, we should make it available by default so we can toggle prefetch at the session-level whenever suitable.
      The API change should be something along these lines:

      diff --git a/dist/api_data.py b/dist/api_data.py
      index e2c163b5ff..4f323491ec 100755
      --- a/dist/api_data.py
      +++ b/dist/api_data.py
      @@ -1434,7 +1434,7 @@ wiredtiger_open_common =\
               Enable automatic detection of scans by applications, and attempt to pre-fetch future
               content into the cache''',
               type='category', subconfig=[
      -        Config('available', 'false', r'''
      +        Config('available', 'true', r'''
                   whether the thread pool for the pre-fetch functionality is started''',
                   type='boolean'),
               Config('default', 'false', r'''
      

      This change would make WT-16572 much easier to implement as we would only need to reconfigure the session to enable prefetch instead or reconfiguring the entire connection.

            Assignee:
            Etienne Petrel
            Reporter:
            Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: