disagg: check dirty leaf page accounting

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Persistence, Storage Engines - Transactions
    • 701.768
    • SE Transactions - 2025-10-24, SE Transactions - 2025-11-07
    • 5

      I've noticed during checkpoints early in a process's lifetime, the dirty leaf page count tries to decrement when it's already 0:

      {"t":{"$date":"2025-10-08T17:40:34.158+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"Checkpointer","msg":"WiredTiger error message","attr":{"error":0,"message":{"ts_sec":1759945234,"ts_usec":158583,"thread":"279933:0xffff85be8200","session_dhandle_name":"file:collection-8cb0bf
      45-bd78-4de4-b02f-5174b227f74d.wt_stable/WiredTigerCheckpoint.19330","session_name":"WT_CURSOR.next","category":"WT_VERB_DEFAULT","log_id":1000000,"category_id":12,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"void __wt_cache_decr_check_uint64(WT_SESSION_IMPL *, uint64_t *, uint
      64_t, const char *):459:dirty leaf page count was 0, went negative with decrement of 1"}}}
      

      We might want to consider crashing or asserting when in debug mode to catch it and fix the logic.

            Assignee:
            Luke Pearson
            Reporter:
            Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: