-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
3
-
StorEng - 2023-08-08
-
v7.0, v6.0
In WT-11406, we found a place where we missed incrementing the checkpoint cleanup statistic tracking the number of pages removed - cc_pages_removed.
diff --git a/src/btree/bt_sync_obsolete.c b/src/btree/bt_sync_obsolete.c index 959ec9b22..513a383d3 100644 --- a/src/btree/bt_sync_obsolete.c +++ b/src/btree/bt_sync_obsolete.c @@ -115,6 +115,7 @@ __sync_obsolete_deleted_cleanup(WT_SESSION_IMPL *session, WT_REF *ref) WT_RET(__wt_page_parent_modify_set(session, ref, true)); __wt_verbose_debug2(session, WT_VERB_CHECKPOINT_CLEANUP, "%p: marking obsolete deleted page parent dirty", (void *)ref); + WT_STAT_CONN_DATA_INCR(session, cc_pages_removed); } else __wt_verbose_debug2( session, WT_VERB_CHECKPOINT_CLEANUP, "%p: skipping deleted page", (void *)ref); (END)
- is depended on by
-
WT-11420 Change assert in test_fast_truncate_disk_space.py to use cc_pages_removed statistic
- Closed