-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Transactions
-
None
-
Storage Engines - Transactions
-
1,058.995
-
SE Transactions - 2026-09-25
-
1
Issue Summary
The current implementation of __wt_prepared_discover_filter_apply_handles only excludes the regular metadata file when filtering btree handles, but does not account for shared metadata.
Context
The code segment in question is:
/* Only interested in btree handles that aren't the metadata */ if (!WT_BTREE_PREFIX(uri) || strcmp(uri, WT_METAFILE_URI) == 0) continue;
As discussed, this logic should also exclude shared metadata URIs, which are not currently filtered.
Proposed Solution
Update the filter condition to exclude shared metadata URIs in addition to the regular metadata file. This will ensure that both types of metadata are properly ignored during handle discovery.
Original Slack thread
This ticket was generated by AI from a Slack thread.