MB-23211: Allow the expiry callback to carry full item 61/75861/37
authorSriram Ganesan <sriram@couchbase.com>
Tue, 28 Mar 2017 09:36:22 +0000 (11:36 +0200)
committerSriram Ganesan <sriram@couchbase.com>
Wed, 3 May 2017 14:33:11 +0000 (14:33 +0000)
commit6abd95560a9d723299db07b1d79a828af06da649
tree63ed0e3ca8754673d5bd2b145afac1f9374b21a5
parent74551d34ab1d00811b622f7205b5881758963b1b
MB-23211: Allow the expiry callback to carry full item

The expiry callback needs to carry the whole item so that in the
case of full eviction, the system xattrs can be retained in the
body after deleting the rest of the body

Change-Id: Id3cb613217f4882a0f0400c01318bb2efc58b8aa
Reviewed-on: http://review.couchbase.org/75861
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
12 files changed:
src/couch-kvstore/couch-kvstore.cc
src/ep_engine.cc
src/item_pager.cc
src/kv_bucket.cc
src/kv_bucket.h
src/kv_bucket_iface.h
src/kvstore.h
src/vbucket.cc
src/vbucket.h
tests/ep_testsuite.cc
tests/module_tests/evp_store_single_threaded_test.cc
tests/module_tests/evp_store_test.cc