I want to add one thing to my letter.

Yesturday (maybe the day before yesturday) I've joinde 3 node to cluster
plan. The I've reviewed it (to understand in which way my cluster will be
rebalanced). Then I've cleared this plan without commitment.

riak-admin member-status does not show the new nodes (that's ok). But when
I put the following in the riak console:
RCap = fun() ->
               {ok, Ring} = riak_core_ring_manager:get_my_ring(),
               [{Node, Props} || {Node, {invalid, Props, _Capabilities}} <-
element(8, Ring)]
       end.

I see

{'riak@boa.pleiad.uaprom',[{'riak@anole.pleiad.uaprom',{1,
                                                         63632780342}},
                            {'riak@boa.pleiad.uaprom',{3,63632777924}}]},
 {'riak@boiga.pleiad.uaprom',[{'riak@anole.pleiad.uaprom',{1,
                                                           63632780342}},
                              {'riak@boiga.pleiad.uaprom
',{3,63632777929}}]},
 {'riak@cascavel.pleiad.uaprom',[{'riak@anole.pleiad.uaprom',{1,
                                                              63632780342}},
                                 {'riak@cascavel.pleiad.uaprom
',{3,63632777932}}]},
 {'riak@chameleon.pleiad.uaprom',[{'riak@ameiva.pleiad.uaprom',{4,

63631553081}},
                                  {'riak@anole.pleiad.uaprom
',{3,63632604763}},
                                  {'riak@chameleon.pleiad.uaprom
',{4340,63633309485}},
                                  {'riak@chuckwalla.pleiad.uaprom
',{1,63631964612}},
                                  {'riak@cobra.gigatrans.uaprom
',{1,63619486551}},
                                  {'riak@sonoran.pleiad.uaprom
',{6,63632552356}}]},
 {'riak@chuckwalla.pleiad.uaprom',[{'riak@chuckwalla.pleiad.uaprom',{934,

 63633047697}},
                                   {'riak@cobra.gigatrans.uaprom
',{9,63613457491}},
                                   {'riak@mussurana.pleiad.uaprom
',{1,63611332446}},
                                   {'riak@yarara.pleiad.uaprom
',{1,63611164933}}]},

boa, boiga and cascavel - this new nodes that was not joined to cluster.
chameleon and chuckwalla (and others) are old members of riak cluster.

Is it correct behaviour of riak or this is an issue?

On Thu, Jun 16, 2016 at 11:27 PM Vladyslav Zakhozhai <
v.zakhoz...@smartweb.com.ua> wrote:

> Hello,
>
> I thought that I know the meaning of command riak-admin down NODE pretty
> sure. Till this evening.
>
> So the question is what is explicit meaning of this command?
>
> My opinion was the following. During ownership handoff (maybe hinted
> handoffs also, I am not sure) when one of the members of riak cluster fails
> handoff stops till riak-admin down FAILED_NODE_NAME provided.
>
> For example there is 7 nodes: A, B, C, D, E, F, G. F and G are the nodes
> just joined to riak cluster and are awaiting to receive partitions from A,
> B and C. During ownership handoff node E fails. In this case all ownership
> handoffs may be stopped till riak-admin down E command is provided.
>
> Am I right? Or when I provide such command all ring will be replanned?
>
> Unfortunately description of this command is not clear in official docs.
>
> Today when my cluster plan was almost completed one of the riak nodes
> failed (this node was not a participant in ownership handoffs). And then in
> riak-admin ring-status I see 5 partitions is awaiting ownership transfer
> instead of only one.
>
> It confused me very match. I was looking forward to complete this cluster
> plan to join new nodes to cluster. In my case I need to wait for completion
> of ownership transfer for this 5 partition that can took 5-7 days (existing
> nodes experiencing lack of resources). Unfortunately I do not have so much
> time.
>
> Thank you.
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to