Details
-
Bug
-
Resolution: Fixed
-
Critical
-
2.2.0
-
Security Level: Public
-
None
-
libcouchbase:
$ cbc version
cbc built from: libcouchbase 2.1.3_2_g92b3309 (rev. 92b33095ef0af713cfd1a3c7b15f11cc573faf1a)
using libcouchbase: 2.1.3 (libevent)
server:
$ cbc stats | grep version
172.16.32.139:11210 ep_version 2.2.0_821_rel
172.16.32.139:11210 version 2.2.0_821_rel
172.16.16.152:11210 ep_version 2.2.0_817_rel
172.16.16.152:11210 version 2.2.0_817_rel
Couchbase Server installed on two different nodes: MacOS (172.16.32.139) and Debian GNU/Linux jessie (172.16.16.152)libcouchbase: $ cbc version cbc built from: libcouchbase 2.1.3_2_g92b3309 (rev. 92b33095ef0af713cfd1a3c7b15f11cc573faf1a) using libcouchbase: 2.1.3 (libevent) server: $ cbc stats | grep version 172.16.32.139:11210 ep_version 2.2.0_821_rel 172.16.32.139:11210 version 2.2.0_821_rel 172.16.16.152:11210 ep_version 2.2.0_817_rel 172.16.16.152:11210 version 2.2.0_817_rel Couchbase Server installed on two different nodes: MacOS (172.16.32.139) and Debian GNU/Linux jessie (172.16.16.152)
Description
The code attached should be built with the following command:
cc -lcouchbase vb.c
and run like this:
./a.out foo 1024 172.16.32.139:8091
foo - id of the document
1024 - size of the value
172.16.32.139:8091 - entry point
After that it will store single key into the cluster, create design document with the view and start continuously fetching its result.
While this running try to add and remove the node from the cluster and it will fail during rebalance:
This is what i'm observing on the "Logs" tab in the admin console:
Rebalance exited with reason {{{{badmatch,
{error,
}},
[
,
{gen_server,handle_msg,5},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]},
{gen_server,call,
['capi_set_view_manager-default',
,
infinity]}},
{gen_server,call,
[
,
{if_rebalance,<0.4811.1>,initiate_indexing},
infinity]}}