Make prefetch available by default

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Prefetch
    • None
    • Storage Engines - Persistence
    • SE Persistence backlog
    • 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 kind of change would push WT-16572 further by always creating a verify session with prefetch enabled and not only do it if we can reconfigure the connection.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: