-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Cache and Eviction, Statistics
-
Security Level: Public (Available to anyone on the web)
-
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.
- causes
-
WT-15947 Dirty cache size is not increased correctly
-
- Closed
-
- is duplicated by
-
WT-10374 test_fops dirty leaf page count went negative
-
- Closed
-
- is related to
-
WT-3893 WT_BTREE.bytes_dirty_leaf went negative
-
- Closed
-
-
WT-10374 test_fops dirty leaf page count went negative
-
- Closed
-
- related to
-
WT-15883 Enable parallel access to storage
-
- Closed
-
-
WT-15675 disagg Segmentation Fault in __wt_page_in_func
-
- Closed
-
-
WT-15835 Two small fixes for layered cursors
-
- Closed
-
-
WT-15963 Picking up new checkpoints or step-up and step-down can stall eviction
-
- Closed
-
-
WT-15968 Mark the page's ref and split pages' refs as dirty
-
- Closed
-
-
WT-15140 Refactor ref_changes to address the potential int overflow
-
- Closed
-
-
WT-15345 Fix all TSAN statistic warnings
-
- Closed
-
-
WT-15520 Dump the error log after a failed test/suite test
-
- Closed
-
-
WT-15717 Investigate high cache size usage with precise checkpoints enabled in test/format
-
- Closed
-
-
WT-15777 Re-enable PALite unit tests on MacOS
-
- Closed
-
-
WT-15828 Create a test that prevents regressions leaking data using the wt tool
-
- Closed
-
-
WT-15838 Add logging if checkpoint is blocked by eviction for more than 1 minute
-
- Closed
-
-
WT-15976 Temporarily disable verify in teardown for layered tests
-
- Closed
-
-
WT-15848 Incorrect log printed when plh_get_page_ids is not implemented
-
- Closed
-
-
WT-15887 test_prepare_hs03 assert_ckpt_matches fails
-
- Open
-
-
WT-16016 14.18% decrease in Read count in Variant amazon2023-perf-tests-arm64 for Task perf-test-chunk-cache in Test chunk-cache-reads.wtperf
-
- Backlog
-
-
WT-16062 11.68% decrease in Read count in Variant amazon2023-perf-tests-arm64 for Task perf-test-modify-read-btree in Test modify-read-btree.wtperf
-
- Backlog
-
-
WT-15947 Dirty cache size is not increased correctly
-
- Closed
-
-
WT-16075 18.26% decrease in stat_db_size in Variant amazon2023-perf-tests-arm64 for Task cppsuite-hs-cleanup-default-perf in Test hs_cleanup
-
- Closed
-
-
WT-16088 2.26% increase in stat_db_size in Variant ubuntu2004-perf-tests for Task cppsuite-operations-test-stress-perf in Test operations_test
-
- Closed
-