MB-19678: Merge backfill and in-memory snapshots correctly on replica vb 92/64192/4
authorManu Dhundi <manu@couchbase.com>
Tue, 17 May 2016 18:55:28 +0000 (11:55 -0700)
committerDave Rigby <daver@couchbase.com>
Fri, 20 May 2016 11:15:19 +0000 (11:15 +0000)
commit0db70ed0825538f31f1c14fb5c5ecde674a0d5f3
tree7f4e059f47a77ff9f2f0c8d62fe31ff0639af708
parentbac952b2a5cb0e0ed3f4d1f4c8c7cea561a0c8db
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/64192
Well-Formed: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Manu Dhundi <manu@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
docs/stats.org
src/dcp-stream.cc
src/dcp-stream.h