-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Checkpoints
-
Storage Engines
-
3
Checkpoint cleanup was moved to a utility thread in WT-12657. This means removing obsolete pages is no longer performed as part of the normal checkpoint operation.
The checkpoint skip logic currently checks for obsolete pages in the tree, however, this is no longer necessary because checkpoint will not clean up these pages.
Here are two places where we no longer need to check for obsolete pages:
/* * Don't skip the objects that have obsolete pages to let them to be removed as part of * checkpoint cleanup. */ if (__checkpoint_apply_obsolete(session, btree, ckpt)) return (0);
/* Skip the clean btree until the btree has obsolete pages. */ if (skip_ckpt && !F_ISSET(btree, WT_BTREE_OBSOLETE_PAGES)) { F_SET(btree, WT_BTREE_SKIP_CKPT); goto skip; }