riak join a node( with data) to a cluster

Ryan Zezeski rzezeski at basho.com
Fri Oct 5 12:30:41 EDT 2012


You can join node C to A or B but until hinted handoff occurs you will get
not founds for your data.  That is, it will look like your data is lost.
 The reason is because the riak join logic assumes the joining node is void
of data.  When a new node joins it immediately takes on the state of the
cluster.  Thus all the primary partitions currently on C become fallbacks,
but those fallbacks aren't active in any preflists since all the primaries
are up  This will result in not founds until hinted handoff kicks in.

In your situation, if you cannot tolerate the not founds, then dismantle
the A & B cluster, install fresh on those nodes, then join A & B,
individually, to C.  That way A & B will take on some of the data owned by
C without not founds occurring.


On Fri, Sep 21, 2012 at 9:19 AM, Venki Yedidha
<venkatesh.yedidha at gmail.com>wrote:

> Hi All,
>        I have a riak cluster setup with hosts say  A and B..now I want to
> join a new host C to the cluster but here is the problem..
>        Host C has huge data which is not part of any cluster...I populated
> its data by taking backup from basho bitcask backups...It
>       worked fine with ut any problem...now I want to join this host C to
> my cluster with out losing the data from Host C....
>      Please help me on the above..
> Thanks,
> Venkatesh.Y
> _______________________________________________
> 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/20121005/dfa0961b/attachment.html>

More information about the riak-users mailing list