MB-23112 Fix deleteWithMeta and extended meta data input 29/74529/4
authorJim Walker <jim@couchbase.com>
Thu, 2 Mar 2017 16:28:35 +0000 (16:28 +0000)
committerDave Finlay <dave.finlay@couchbase.com>
Thu, 2 Mar 2017 20:03:02 +0000 (20:03 +0000)
commitee2e2d44274929a8f487dfb6acafb9d8609db91d
tree2998d5d50558f1305644dfaee01c3be5ca053531
parent7b2c0f63897225ced96b6198c8c3bcef07a38f6c
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.

Change-Id: If0610fe73b378e5830b4f4b9978d2b7507b516b4
Reviewed-on: http://review.couchbase.org/74529
Reviewed-by: David Haikney <david.haikney@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>
src/ep_engine.cc
tests/ep_testsuite_xdcr.cc