I figured out a way to fix the problem. But I don't understand why the solution works.
Before A sent a join request to B and then B to C and the second request failed. Now A sends a join request to B and then C to B and the second request succeeds. Must a node that is the only member of its cluster always ask to join the larger cluster for the request to succeed? Why is this? Thanks, Rebecca On Thu, May 3, 2012 at 8:41 AM, Rebecca Meritz <[email protected]>wrote: > I'm testing a script that joins my riak ring on all machines. There is no > data in the database yet but I have repeated joined the ring > an separated it while working on the script that sets up the environment on > my machines. The ring is now in a bizarre state: > > [rebecca]$ riak-admin member_status > Attempting to restart script through sudo -u riak > ================================= Membership > ================================== > Status Ring Pending Node > > ------------------------------------------------------------------------------- > valid 50.0% -- '[email protected]' > valid 50.0% -- '[email protected]' > > ------------------------------------------------------------------------------- > Valid:2 / Leaving:0 / Exiting:0 / Joining:0 / Down:0 > [pay@payment-testing-gw2 ~]$ riak-admin join [email protected] > Attempting to restart script through sudo -u riak > *Failed: This node is already a member of a cluster* > [pay@payment-testing-gw2 ~]$ riak-admin force-remove [email protected] > Attempting to restart script through sudo -u riak > *Failed: "[email protected]" is not a member of the cluster.* > > I cannot join a new member nor can I remove it. > > I've tried stop them all get them to leave, if they wouldn't leave I > forced their removal. I stopped them all. I even deleted the whole old ring > file before restarting. > > How can I fix this situations. What causes the above error? > > Thanks, > Rebecca >
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
