The public PALI interface WT_PAGE_LOG has currently two versions of a function for returning the latest complete checkpoint:
- pl_get_complete_checkpoint, which is the older interface that gets the latest checkpoint ID.
- pl_get_complete_checkpoint_ext, which is a newer interface that returns additional values.
We should consolidate the two functions and have only one function pl_get_complete_checkpoint with the right signature, and we should deprecate pl_get_complete_checkpoint_ext.
We should future-proof the new signature for pl_get_complete_checkpoint by letting it fill out a struct, rather than individual fields as in the current implementation. We can use a struct similar to WT_PAGE_LOG_COMPLETE_CHECKPOINT_ARGS, or we can change that struct so that it can be reused for both completing checkpoints ands getting information about the latest completed checkpoint—but in that case, we would need to ensure compatibility with existing callers.
- is depended on by
-
WT-17338 Auto-pick up latest checkpoint in disagg follower mode for wt tool
-
- In Progress
-
-
WT-17356 Assert that WiredTiger has the latest checkpoint when stepping up
-
- Open
-
- is related to
-
WT-16803 PALI checkpoint completion callback should pass oldest_timestamp LSN
-
- Closed
-
-
WT-16821
Deprecate pl_complete_checkpoint_ext and use pl_complete_checkpoint
-
- Closed
-
- related to
-
WT-17338 Auto-pick up latest checkpoint in disagg follower mode for wt tool
-
- In Progress
-