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

Remove on positioned tiered cursor should leave cursor positioned

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • WT10.0.1, 4.4.7, 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines

      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.

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

              Created:
              Updated:
              Resolved: