-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Cursors
-
None
-
Storage Engines - Foundations
-
357.45
-
SE Foundations - 2026-11-24
-
1
Background
During review of WT-19018, Ivan suggested opening stable before ingest to simplify the layered cursor entry path. This refactor was deferred to a follow-up because the entry path is shared by every layered cursor operation, while WT-19018 addresses operations that race a step-down.
Scope
Refactor __clayered_enter so stable opening/reopening happens before ingest handling. Simplify the entry path where the reordered operations allow it.
Preserve existing leader/follower behavior, transaction snapshot bind checks, and the step-down retry behavior introduced by WT-19018.
Validation
Run the relevant layered cursor tests, covering leader and follower operations, stable handle reopening, and operations racing a step-down.
Sequencing
Requested as the next follow-up after WT-19018 is completed.
References
Review request: https://github.com/wiredtiger/wiredtiger/pull/15078#issuecomment-6995062300
Earlier discussion: https://github.com/wiredtiger/wiredtiger/pull/15078#issuecomment-6936629372
Original work: WT-19018
- related to
-
WT-19018 Retry a layered cursor operation internally instead of rolling back when it races a step-down
-
- Closed
-