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

Update comments in __cursor_search_neighboring

    • 1
    • Storage Engines - 2023-01-10

      Before __cursor_search_neighboring was created it existed as additional logic within __wt_btcur_search_near. It also had a comment which has since been modified to suit the new neighboring function. The new comment misses a bit of the previous detail and the original comments should be returned to the code.

      The comment should be placed above the call to __wt_btcur_next_prefix and say the following:

      		/*
      		 * We didn't find an exact match: try after the search key,
      		 * then before.  We have to loop here because at low isolation
      		 * levels, new records could appear as we are stepping through
      		 * the tree.
      		 */
      

            Assignee:
            sona.reddy@mongodb.com Sona Reddy (Inactive)
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: