preflists do not satisfy the n_val on 5 nodes

Vladimir Shabanov vshabanoff at gmail.com
Sun May 8 10:26:23 EDT 2016


Hi,

Recently I upgraded my servers and migrated Riak from 5 old servers to 5
new ones (new servers are running Riak 2.1.4, old were on 2.1.1).

After running 'riak-admin diag' I got
[warning] The following preflists do not satisfy the n_val:
[[{1450083655789255239155218544960687058564870569984,
   'riak at z...'},
  {1455792646560079078679451688838485039110401556480,
   'riak at a...'},
  {0,
   'riak at a...'}],
 [{1455792646560079078679451688838485039110401556480,
   'riak at a...'},
  {0,
   'riak at a...'},
  {5708990770823839524233143877797980545530986496,
   'riak at b...'}]]

As I understand it means that no all replicas are located on the same nodes.

I suspect that I can run 'riak-admin cluster leave/join' on some node to
get correct rebalancing. But I remember that few years ago I ran 'riak
attach' and executed some magic Erlang code to make rebalancing. It was on
the same cluster, 4 nodes, Riak 1.x.

Is there a way to do rebalancing without node leave/join in Riak 2.x?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20160508/4a250785/attachment.html>


More information about the riak-users mailing list