wiredtiger/wiredtiger.github.com — Issue #152: Delete of non-existent item should optionally be successful
Author: wiredtiger
Created: 2012-01-31 19:22:23+00:00
State: open

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.