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

Delete of non-existent item should optionally be successful

    • Type: Icon: Task Task
    • Resolution: Done
    • None
    • Affects Version/s: None
    • Component/s: None

      It would be easier to write some applications if an attempt to remove a row that doesn't exist succeeded.

      This is similar to the "overwrite" option that configures WT_CURSOR.insert which configures an insert if the record doesn't exist, and an update if the record already exists.

      Some applications don't care if the record exists or not, they just want it gone, and it's simpler to configure that behavior and not to have to check if WT_CURSOR.remove returned WT_NOTFOUND or some other error.

            Assignee:
            Unassigned Unassigned
            Reporter:
            wiredtiger WiredTiger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: