Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13816

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

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

      __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:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            sean.watt@mongodb.com Sean Watt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: