Store a RecoveryUnit pointer in SortedDataInterface::Cursor

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-103180 changed the Cursor interface to require explicit RecoveryUnit for every API. However, at the wiredtiger level the WT_SESSION associated with a WT_CURSOR is not free to change, sessions are owned by RUs so it made sense that a (server-level) cursor would fix its RU, that RU would outlive the cursor it opened and all cursor API calls would re-use it. The RecordCursor interface currently does that, and we should change the SortedDataInterface::Cursor interface to make it consistent.

              Assignee:
              Unassigned
              Reporter:
              Wei Hu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: