[JCBC-231] Handle View Errors (Vbucket & Merge) appropriately Created: 02/Feb/13 Updated: 12/Jun/13
|Project:||Couchbase Java Client|
|Affects Version/s:||1.1.0, 1.1.1|
|Reporter:||Michael Nitschinger||Assignee:||Michael Nitschinger|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
During rebalance out it can happen that the view node is still able to service http connections, but fails with the following errors:
- error Reason: A view spec can not consist of merges exclusively.
- no_active_vbuckets Reason: Cannot execute view query since the node has no active vbuckets
If this is happening, the client needs to deal with it. Appropriate solution needs still to be dicussed, but one approach could be to retry on a different node. Note that this needs to work for both async and sync calls.
|Comment by Michael Nitschinger [ 02/Feb/13 ]|
|The corresponding server ticket can be found here: http://www.couchbase.com/issues/browse/MB-7661|