Avoid reopening the stable table for each operation on leader

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines - Foundations
    • None
    • None

      Currently, the stable cursor in the layered cursor is reopened almost every time an operation is performed, leading to inefficiency. While WT-17030 addresses this issue for standby mode, the same unnecessary reopening occurs for the leader mode. For leaders, this is particularly wasteful, as the stable cursor's data handle (dhandle) remains constant and doesn't require reopening except during a step-up scenario. In this case, the stable cursor might still be configured with the follower-mode dhandle and needs adjustment. This ticket focuses on optimizing the stable cursor reopening logic specifically for leader mode.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: