Cannot add node to cluster: ring_creation_size
Troy_Scites at comcast.com
Mon Mar 13 09:46:41 EDT 2017
Thanks for the response. I should have mentioned in my original post that I am using version 1.5.1 of Riak-TS.
I attempted to run "riak status" as you recommended, but "status" does not seem to be an option for the riak command. I found the "risk config effective" command and all three servers have "ring_size = 64". Any further suggestions?
Thanks in advance,
Troy J Scites
T&P - Internet Services - HSI
Troy_Scites at cable.comcast.com
From: Magnus Kessler <mkessler at basho.com<mailto:mkessler at basho.com>>
Date: Saturday, March 11, 2017 at 6:12 AM
To: Troy Scites <Troy_Scites at cable.comcast.com<mailto:Troy_Scites at cable.comcast.com>>
Cc: "riak-users at lists.basho.com<mailto:riak-users at lists.basho.com>" <riak-users at lists.basho.com<mailto:riak-users at lists.basho.com>>
Subject: Re: Cannot add node to cluster: ring_creation_size
On 8 March 2017 at 19:45, Scites, Troy <Troy_Scites at comcast.com<mailto:Troy_Scites at comcast.com>> wrote:
I have 3 nodes in a development environment that were configured in a cluster. It was working fine until one of the servers crashed. I tried clearing the data directory and was able to removed the crashed node from the cluster. When I try to add the third node back in, I get the following error:
Failed: riak@<node> has a different ring_creation_size
All 3 nodes have ring_size set to 64 in the riak.conf. Has anyone experienced this error and have a suggestion for adding the node back into the ring?
Please check with 'riak status | egrep "ring_creation_size|ring_num_partitions' what the different nodes believe to be their actual ring size.
As you have already wiped (some of) the data directory on the crashed node, you can stop this node and then it's safe to also remove the 'ring' directory if this node reports a different ring size. Afterwards, restart the node and attempt to join it to the rest of the cluster.
Please let me know if this solves your issue.
Client Services Engineer
Basho Technologies Limited
Registered Office - 8 Lincoln's Inn Fields London WC2A 3BP Reg 07970431
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users