-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Layered Tables
-
None
-
Storage Engines - Transactions
-
198.869
-
SE Transactions - 2026-12-04
-
1
test/suite/test_layered_async_stepdown17.py sets step_down_timestamp, then uses debug_mode.disagg_stepdown_prepare to demote the leader without first resolving an outstanding prepared transaction. This lets the test verify that a scan blocked by a prepared update resumes on the follower's checkpoint. The subsequent rollback is test cleanup and can return EBUSY / WT_CONFLICT_DISAGG because the follower cannot open the live stable table.
WT-18422 (PR #15177) handles prepared transactions that resolve while the step-down window is open. Determine whether any supported step-down sequence can leave the demoted node responsible for resolving a prepared transaction after that window closes. The test deliberately bypasses the diagnostic check for active writes at demotion, so it does not establish that this is reachable on a supported path.
- If reachable, document the sequence and expected behavior, address any resolution gap, and add a focused regression test.
- If only reachable through the debug bypass, document why and remove the two FIXMEs while retaining scan coverage and cleanup checks. Coordinate with WT-18723, which tracks removal of the debug flag.
- is related to
-
WT-18723 Remove the temporary step-down/prepare feature flag once WT-18422 lands
-
- Open
-
-
WT-18422 PT: Investigate supporting prepared transactions with async step-down
-
- Closed
-
- related to
-
WT-19147 Do not discard a dirty page of an outdated live disaggregated btree while it holds unresolved prepared updates
-
- Closed
-