Exclude checkpoint cursor btrees from block cache

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Block Cache
    • None
    • Storage Engines - Transactions
    • 134.477
    • SE Transactions - 2026-08-14
    • 5

      The same issue as cross checkpoint caching, see details in WT-18168.

      Proposed fix

      On put path, we should check if a page isĀ  named checkpoint via WT_DHANDLE_IS_CHECKPOINT((btree)->dhandle).

      On read path, we need to check the same, and add a flag like WT_PAGE_LOG_CACHE_BYPASS in the read request so block cache can be aware of that and consider that as a miss.

      We need to add a test case to validate this is true before proceeding, and also to verify the fix is working.

            Assignee:
            Zunyi Liu
            Reporter:
            Zunyi Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: