MB-24066: Partial revert "MB-22178: Don't use opencheckpointid to determine if in... 04/77604/6
authorDaniel Owen <owend@couchbase.com>
Tue, 2 May 2017 12:46:50 +0000 (13:46 +0100)
committerDave Rigby <daver@couchbase.com>
Mon, 8 May 2017 19:39:19 +0000 (19:39 +0000)
commit92330468367f6558d477ae129a9078a158bc5481
treec4633fdbf1abf4e30291790a5574bcf2a792e823
parentb22cf75987501d1e6a13473985ac5eab54a962a4
MB-24066: Partial revert "MB-22178: Don't use opencheckpointid to determine if in backfill phase"

Revert functional changes in
Change-Id: Ia977d6bf90e54fd1ceb8db4a9088b19d94d4bc8c,
which although addressed the rollback bug described in MB-22178, caused
the bug described in MB-24066.

The tests added in Ia977d6bf90e54fd1ceb8db4a9088b19d94d4bc8c remain but
the rollback test has been disabled as it attempts a streamRequest when
the vbucket has a opendcheckpointid of 0.

The test will be re-enabled and modified with a follow-up patch that
addresses the bug described in MB-22178.

Change-Id: Ifd11c77a10e4ebe571c50e5d518403b423c3dfa5
Reviewed-on: http://review.couchbase.org/77604
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
src/dcp/producer.cc
src/dcp/stream.cc
src/ep.cc
tests/module_tests/evp_store_rollback_test.cc