-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Checkpoints
-
Security Level: Public (Available to anyone on the web)
-
Storage Engines - Persistence
-
1,677.915
-
None
-
2
Issue Summary
The macro WT_TRET is used inside the function __checkpoint_db_internal, and it may silently update the ret variable if a call fails. This can make it difficult to diagnose failures, as errors may go unnoticed.
Context
The following function calls within __checkpoint_db_internal are candidates where this issue may occur:
- __wt_txn_rollback
- __wt_disagg_put_crypt_helper
- __wt_disagg_put_checkpoint_meta
Currently, there is no diagnostic code to alert when WT_TRET updates ret due to a failure in these calls.
Proposed Solution
Add diagnostic code to log or otherwise surface when WT_TRET updates ret in __checkpoint_db_internal. This will help identify and debug silent failures in the above candidate function calls.
Original Slack thread: Slack Thread
This ticket was generated by AI from a Slack thread.