MB-23112 Fix deleteWithMeta and extended meta data input 65/74565/2 4.6.0 v4.6.1 v4.6.1-MP1
authorChris Hillery <ceej@couchbase.com>
Thu, 2 Mar 2017 22:43:22 +0000 (14:43 -0800)
committerChris Hillery <ceej@couchbase.com>
Thu, 2 Mar 2017 22:58:22 +0000 (22:58 +0000)
commit25fcd24038023bc4645b24d09393b97bce96151d
tree30ff568c19bdc0dd2fad590328f4587c6162c8d9
parente4c8bcbbf20b52b11e93665901597875e10b2070
MB-23112 Fix deleteWithMeta and extended meta data input

An incorrect offset meant that we tried to parse an incorrect
part of the packet as ExtendedMetaData.

Test code updated to cover this case.

Cherry-pic from http://review.couchbase.org/74529

Change-Id: I4121dca695028be1b14f9248e0c1917c6b28df20
Reviewed-on: http://review.couchbase.org/74565
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Chris Hillery <ceej@couchbase.com>
src/ep_engine.cc
tests/ep_testsuite_xdcr.cc