MB-19678: Merge backfill and in-memory snapshots correctly on replica vb 07/64207/3
authorManu Dhundi <manu@couchbase.com>
Thu, 19 May 2016 00:47:45 +0000 (17:47 -0700)
committerManu Dhundi <manu@couchbase.com>
Fri, 20 May 2016 00:34:30 +0000 (00:34 +0000)
commit91b71e1bef6cdef48837e7003db2a35a3a38d57b
tree25e9e83ed2e27895928e6da9809edb66bd844538
parentcac6c736db563146bbddf3a5c3486f75b9d99db2
MB-19678: Merge backfill and in-memory snapshots correctly on replica vb

When a DCP client, on replica vb, opens a stream which it intends to
keep open forever, merge the backfill and in-memory snapshots by using the
the checkpoint snapshot_end as snapshot_end_seqno.

Change-Id: Ic05a59ccafa54bbee19882707404a78c47002be7
Reviewed-on: http://review.couchbase.org/64207
Well-Formed: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Manu Dhundi <manu@couchbase.com>
docs/stats.org
src/dcp-stream.cc
src/dcp-stream.h