ExportXMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: Prefetch
    • None
    • Storage Engines - Persistence
    • 90.159
    • StorEng - Defined Pipeline
    • None

      _conn_config forces pre-fetching off for in-memory connections but __ _wti_prefetch_create later re-parses prefetch.available from the raw config and overwrites it (src/conn/conn_prefetch.c)

      So an in-memory connection opened with prefetch=(available=true,default=true) ends up with pre-fetching available again, and the 8 pre-fetch threads start on a database where every page is already in cache.

      The observable break is that enabling pre-fetch where it's unavailable no longer fails on in-memory connections: open_session("prefetch=(enabled=true)") and open_cursor with the same both succeed silently, since every check of availability reads the clobbered value.

      Fix is to re-apply the forcing after the re-parse. Found while working on WT-19069.

            Assignee:
            Mariam Mojid
            Reporter:
            Mariam Mojid
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: