Layered cursor: remove need_stable from WT_CLAYERED_OP

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0
    • Affects Version/s: None
    • Component/s: Layered Tables
    • None
    • Storage Engines - Foundations
    • 119.264
    • None
    • None

      WT_CLAYERED_OP.need_stable is redundant. It only ever differs from op->stable being set, and every consumer already gates stable access on op->stable != NULL.

      Decide whether to open the stable cursor in __clayered_enter_flags (CLAYERED_ENTER_SKIP_STABLE) and leave op->stable NULL when the operation skips it, then remove the need_stable field.

            Assignee:
            Ivan Kochin
            Reporter:
            Ivan Kochin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: