MB-16686: Remove sanity check while adding TAP over DCP 64/56564/3 v3.1.2
authorabhinavdangeti <abhinav@couchbase.com>
Fri, 30 Oct 2015 17:11:46 +0000 (10:11 -0700)
committerChiyoung Seo <chiyoung@couchbase.com>
Fri, 30 Oct 2015 18:55:18 +0000 (18:55 +0000)
commit8939f8336f5b057b4af09e43c39c437455c62364
treeb7cfe1c6cc079008b3f97eb78bfbe7c863e5e39d
parent0f1ff180516d6cdb0ec7314ae572dc371ca68353
MB-16686: Remove sanity check while adding TAP over DCP

This check isn't accurate as certain TAP messages from
the producer carry no vbucket information - initialized to
zero (expected), as they aren't vbucket specific operations.
In such a scenario, if the TAP consumer needs to be created,
it wouldn't be allowed to if a DCP passive stream exists
for vbucket 0. This would break an online upgrade.

Change-Id: I310b9cf4dbaf652c233cba02de7ca72469efa89d
Reviewed-on: http://review.couchbase.org/56564
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
src/connmap.cc
src/connmap.h
src/ep_engine.cc
tests/ep_testsuite.cc