Fix bug leading to eviction ahead of materialisation frontier in skip-write replace path

XMLWordPrintableJSON

    • Storage Engines - Transactions
    • 277.74
    • SE Transactions - 2026-06-05, SE Transactions - 2026-06-19
    • 5

      WT-15818 proposes crashing generally when reading ahead of the materialisation frontier. We're not ready for that yet, however in the specific case where we're a leader and the LSN isn't a "special" one, we don't think that path should be reachable.

      Even though we think it shouldn't be reachable, it does seem to happen sometimes in prod. This warrants something a bit more involved than just the current warning log line. Some of the ideas floating around are an assertion, upgrading the line to an error message (so we start failing tests when it trips), and printing a backtrace when it occurs.

      The scope here is to (1) pick from the available options and/or do something else, and (2) get it implemented (+tested).

        1. test_layered_eviction06.py
          7 kB
        2. WT-17567.diff
          14 kB

            Assignee:
            Chenhao Qu
            Reporter:
            Will Korteland
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: