MB-20182: Update checkpoint snapshot correctly during TAP backfill 66/65866/4
authorManu Dhundi <manu@couchbase.com>
Tue, 19 Jul 2016 18:21:11 +0000 (11:21 -0700)
committerManu Dhundi <manu@couchbase.com>
Wed, 20 Jul 2016 00:26:56 +0000 (00:26 +0000)
commit36d772883b9bf2179694f2ca9d0575ed52135a66
treefe455e06a3f31f1771e95a73f68cdba1923f63ed
parentee1129699abfbbc4485f3c2ec2a9c4a53eb8a478
MB-20182: Update checkpoint snapshot correctly during TAP backfill

When we do a TAP backfill we must update checkpoint snapshot start
and end correctly. Otherwise, if we immediately proceed to DCP
after TAP backfill, the checkpoint mgr will have incorrect combination
of {snap_start, snap_end, vb_high_seqno}

Change-Id: I2b738fd3b24486dadbd2962e81e0c3820c5a8786
Reviewed-on: http://review.couchbase.org/65866
Tested-by: buildbot <build@couchbase.com>
Well-Formed: buildbot <build@couchbase.com>
Reviewed-by: Manu Dhundi <manu@couchbase.com>
src/ep.cc
tests/ep_testsuite.cc