Changing ring size on 1.4 cluster

Alex De la rosa alex.rosa.box at gmail.com
Wed Jun 1 14:51:21 EDT 2016


Can the ring size be changed easily in Riak 2.X?

Imagine I have 5 servers originally with a ring_size = 64... If later on I
add 5 more servers (10 in total) and I also want to duplicate the
partitions, can I just edit the ring_size to 128?

How would be the process to do it? Will it rebalance properly and have no
issues?

Thanks,
Alex

On Wed, Jun 1, 2016 at 10:46 PM, Luke Bakken <lbakken at basho.com> wrote:

> Hi Johnny,
>
> Yes, the latter two are your main options. For a 1.4 series Riak
> installation, your only option is to bring up a new cluster with the
> desired ring size and replicate data.
> --
> Luke Bakken
> Engineer
> lbakken at basho.com
>
>
> On Fri, May 27, 2016 at 12:11 PM, Johnny Tan <johnnydtan at gmail.com> wrote:
> > The docs
> http://docs.basho.com/riak/kv/2.1.4/configuring/basic/#ring-size
> > seem to imply that there's no easy, non-destructive way to change a
> > cluster's ring size live for Riak-1.4x.
> >
> > I thought about replacing one node at a time, but you can't join a new
> node
> > or replace an existing one with a node that has a different ring size.
> >
> > I was also thinking of bring up a completely new cluster with the new
> ring
> > size, and then replicating the data from the original cluster, and take a
> > quick maintenance window to failover to the new cluster.
> >
> > One other alternative seems to be to upgrade to 2.0, and then use 2.x's
> > ability to resize the ring.
> >
> > Are these latter two my main options?
> >
> > johnny
> >
> > _______________________________________________
> > riak-users mailing list
> > riak-users at lists.basho.com
> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> >
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20160601/b74aaff4/attachment-0002.html>


More information about the riak-users mailing list