Skip to content
Browse files

MB-5092 Queue non-existent item deletion into checkpoints.

An item might not exist in the replica vbucket when its deletion
is received from the active vbucket, if that item was already
expired and deleted from the replica vbucket. In this case,
an item deletion should be still pushed into a checkpoint for
replication into another replica vbucket.

Change-Id: Id1e7edf9494c6573c2f3cd760f2a5f4158417bc0
Reviewed-on: http://review.couchbase.org/15348
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
  • Loading branch information...
1 parent 5d53900 commit ee319a9093bb766a05294b78a2b45e9584fb1ac6 @chiyoung chiyoung committed Apr 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ep.cc
View
2 ep.cc
@@ -1307,7 +1307,7 @@ ENGINE_ERROR_CODE EventuallyPersistentStore::del(const std::string &key,
if (engine.restore.enabled.get()) {
return ENGINE_TMPFAIL;
}
-
+ queueDirty(key, vbucket, queue_op_del, -1);
return ENGINE_KEY_ENOENT;
}
value_t value = v->getValue();

0 comments on commit ee319a9

Please sign in to comment.
Something went wrong with that request. Please try again.