-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Checkpoints
-
Storage Engines
-
2
-
StorEng - 2025-01-21
The file checkpoint.h defines the following struct:
struct __wt_ckpt_handle_stats { uint64_t apply; /* handles applied */ uint64_t apply_time; /* applied handles gather time */ uint64_t drop; /* handles dropped */ uint64_t drop_time; /* handles dropped time */ uint64_t lock; /* handles locked */ uint64_t lock_time; /* handles locked time */ uint64_t meta_check; /* handles metadata check */ uint64_t meta_check_time; /* handles metadata check time */ uint64_t skip; /* handles skipped */ uint64_t skip_time; /* skipped handles gather time */ };
In conn_dhandle.c, we assign their values to statistics, see here and we also reset them to 0, here.
We could encapsulate this to reduce the exposure of those fields.