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

remove on positioned tiered cursor should leave cursor positioned

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.1
    • Component/s: None
    • Labels:
      None

      Description

      test_cursor02 is failing on tiered tables. Appears to reset to the beginning of the table after removing a record rather than keeping the cursor positioned at the location of the removed record.

      SUMMARY:  The problem is that we're using cursor->insert() rather than cursor->update() to insert the tombstone record during remove.  These methods differ in that insert() doesn't leave the cursor positioned, but update() does.  So we need to use the correct one, depending on whether the cursor was positioned before the remove() call.

        Attachments

          Activity

            People

            Assignee:
            keith.smith Keith Smith
            Reporter:
            keith.smith Keith Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: