MB-16656: Set the open chkpt id on replica to 0 when disk snapshot is recvd. 34/57834/4
authorManu Dhundi <manu@couchbase.com>
Sat, 19 Dec 2015 02:15:16 +0000 (18:15 -0800)
committerManu Dhundi <manu@couchbase.com>
Wed, 23 Dec 2015 07:44:38 +0000 (07:44 +0000)
commit380307d01acd76fa24e9a5ad747344830a9c9506
treeba0ec92de2831c523f503156cca0fd33b72fc1e5
parent6f869d133e4d85c7f66df884c2385d06bb64931b
MB-16656: Set the open chkpt id on replica to 0 when disk snapshot is recvd.

Currently due to a bug in 3.0.x the open checkpoint id is not set to 0
when replica receives a disk snapshot from active.

Change-Id: Iffda89b8da713539a52d50aa4acc33458ae7150e
Reviewed-on: http://review.couchbase.org/57834
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
src/dcp-stream.cc
tests/ep_testsuite.cc