-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Truncate
-
None
-
Storage Engines - Foundations
-
SE Foundations - 2026-04-24
-
None
Problem:
An ASAN run of format-stress-test-disagg-follower-1 on amazon2023-arm64-asan (WiredTiger develop @ 0c974c8b) flagged memory errors in the disagg fast-truncate entry management. Investigation of txn_truncate.c revealed related bugs in that code path, covering:
- Memory lifecycle
- NULL safety
- Error propagation and handling
Context:
This ticket was previously created from a failed job which highlights some of the original memory errors.
format-stress-test-disagg-follower-1 failed on ! Amazon2023 ARM64 ASAN
Host: N/A
Project: WiredTiger (develop)
Commit: diff: wt15430-format | 01 Apr 26 07:49 UTC
Evergreen Subscription: ; Evergreen Event:
Task Logs (format-stress-test-disagg-follower-1)
Definition of Done:
- ASAN problems are resolved
- __wt_insert_truncate_entry closes the correct handle
- Appropriate null checks are added
- __wti_mark_committed_truncate_table and _wti_layered_table_truncate_rollback do not hide errors
- __key_within_truncate_range should not return true if an error occurs
- __wt_layered_table_truncate_detect_write_conflict returns the correct error code