Remove insert flag usage for row-store search in search near

XMLWordPrintableJSON

    • Type: Technical Debt
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: LSM
    • Storage Engines, Storage Engines - Transactions
    • StorEng - Defined Pipeline
    • 3

      __wt_row_search contains an insert flag bool to determine whether we can fast-path appends. During search near this is set to true according to this comment:

              /*
               * Set the "insert" flag for row-store search; we may intend to position the cursor at the
               * the end of the tree, rather than match an existing record. (LSM requires this semantic.)
               */
              if (btree->type == BTREE_ROW)
                  WT_ERR(__cursor_row_search(cbt, true, NULL, NULL));
      

      With LSM removed in WT-12751, we should change this flag.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Sean Watt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: