MB-17517: check for invalid CAS value in [set/delete]WithMeta 10/58910/3
authorSriram Ganesan <sriram@couchbase.com>
Thu, 21 Jan 2016 20:00:36 +0000 (12:00 -0800)
committerChiyoung Seo <chiyoung@couchbase.com>
Sat, 23 Jan 2016 04:42:33 +0000 (04:42 +0000)
commit7f4d0dded692873e032a1648bd4a52525352b16a
tree9e06b45b3141472974e70af9cd96ab9d113a4828
parent5372cfdb5658e01d2b8a8e1678d680d2d24699f2
MB-17517: check for invalid CAS value in [set/delete]WithMeta

In a [set/delete]WithMeta call from either XDCR or from DCP,
a corrupt CAS value for the incoming item should return an
error

Change-Id: Id87627ae35ef711de4704a960b3aa7d1e9b9a48b
Reviewed-on: http://review.couchbase.org/58910
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
src/ep.cc
tests/ep_testsuite.cc