-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Checkpoints
-
None
-
Storage Engines - Persistence
-
6,019.911
-
SE Persistence backlog
-
None
Currently, old checkpoint root pages are discarded in checkpoint_txn.c, within the checkpoint_tree function. The discard call is issued after checkpoint_resolve, ensuring that it only runs once the new checkpoint has been successfully written and it is safe to remove the old root page.
However, since this discard operation occurs outside the block manager layer, it introduces a potential layering violation in the current implementation.
The purpose of this ticket is to move the discard logic into the disaggregated block manager layer. This may involve identifying an appropriate existing function to issue the discard or introducing a new function dedicated to handling it, ensuring the operation is performed entirely within the correct layer.
This ticket should be done after the decision is made in WT-15861
- is blocked by
-
WT-15861 Investigate whether we should use the same root page id in disagg
-
- Backlog
-
- is depended on by
-
WT-14427 [ds-09.04][Storage Engines (Core)] 100% hygiene plan execution
-
- Open
-
- is related to
-
WT-15861 Investigate whether we should use the same root page id in disagg
-
- Backlog
-
-
WT-14700 Discard root pages for old checkpoints
-
- Closed
-
- related to
-
WT-17013
In checkpoint_tree fix layering violation when freeing disagg ckpt root pages
-
- Open
-