Changing ring size on 1.4 cluster
lbakken at basho.com
Wed Jun 1 15:05:11 EDT 2016
While a command does exist to resize the ring in Riak 2, it is for all
intents and purposes deprecated.
The best solution, as always, is to benchmark your cluster's
performance using real world load, and plan for a bit of head room if
expansion is likely.
lbakken at basho.com
On Wed, Jun 1, 2016 at 11:51 AM, Alex De la rosa
<alex.rosa.box at gmail.com> wrote:
> 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
> 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
>> 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
More information about the riak-users