I2 queries fail when few nodes are down

Tomi Takussaari tomi.takussaari at gmail.com
Wed Jan 4 18:22:54 EST 2017


Hello Riak-users

We have 9 node Riak-cluster, that we use to store user accounts.

Some of the crucial data fields of user account are indexed using I2, so
that we can do secondary index queries based on them.

Today, we tested how our cluster performs when few nodes go down, and
results were not very good.

If more than 2 nodes go down, all I2 queries will start failing, returning
HTTP 500, with "insufficient vnodes available" error. After nodes are up
again, things start working again.
Normal object CRUD operations worked fine.

Is this to be expected behaviour ?

Funny thing is, that we have other cluster, with same configuration but
with 6 nodes, for other environment, and that also experiences same
problems when more than 2 nodes go down, so it does not seem to have
anything to do with percentage of nodes being down..

Our ring size is 256, and current Riak version is 2.2.

Both clusters were first created years ago, with Riak 1.4, if memory
serves, and I believe we tested this same thing back then, and I2 queries
did not stop working this easily then..

Any help would be appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20170105/4c13bf65/attachment-0002.html>


More information about the riak-users mailing list