ExportXMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: Cursors
    • None

      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

            Assignee:
            Sid Mahajan
            Reporter:
            Sid Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: