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

Evaluate whether prefetch errors should be passed up to users

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • WT11.3.0, 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • 5
    • 2023-12-12 - Heisenbug, 2024-01-09 - I Grew Tired

      As part of the WT-10716 code review, __tree_walk_internal now checks whether prefetching content would be helpful, and if so, does the prefetching work. This work can fail, and it's currently wrapped in a WT_ERR, so the error would be bubbled back up to the user.

      Swallowing errors for optimisations is something we do in other parts of the code - for example, in the POSIX filesystem, we try to mmap files, but if it fails we swallow it and mark the handle as non-mappable.

      Prefetch is ultimately an optimisation, and we should evaluate how to handle these errors.

            Assignee:
            clarisse.cheah@mongodb.com Clarisse Cheah
            Reporter:
            will.korteland@mongodb.com Will Korteland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: