Probably time for you to read the cluster docs :)

http://doc.akka.io/docs/akka/2.3.2/scala/index-network.html


On Thu, Apr 10, 2014 at 2:01 AM, Alex Cruise <[email protected]> wrote:

> On Wed, Apr 9, 2014 at 4:42 PM, √iktor Ҡlang <[email protected]>wrote:
>
>> 1) Can one hemisphere be allowed to live, and the other be required to
>>> reboot in order to rejoin?  If so, who decides which one, and how?  e.g.
>>> does it matter whether one side of the partition has a majority of nodes?
>>>
>>
>> Yes. Normally this decision is made by Ops. Then you'll have to reboot
>> the other half of the cluster and have them join the other half.
>>
>
> OK, that's clear enough, thanks.
>
>
>>
>>
>>>  2) If both hemispheres have to reboot in order to restore sanity to
>>> the universe, there will be a race condition if all the seed node(s) are on
>>> one side or the other.  I guess if any given node knows that it's NOT a
>>> seed, it can introduce a sleep into its startup script?
>>>
>>
>> If all nodes reboot and there is no partition anymore, there is no sides.
>> Or am I missing something?
>>
>
> I'm just talking about bootstrapping... If you reboot everything, I guess
> you need to manually ensure that the seed node(s) come up first. And if
> only half the nodes are rebooting, you need to ensure that they're aware of
> at least one seed on the surviving side.
>
>
>>
>>
>>>  3) How is a rejoining minority node made aware of his cruel fate? I
>>> haven't been able to identify any "You're dead, go away and reboot" message.
>>>
>>
>> There is no rejoining. There is rebooting == new "instance".
>> The only "healing" Akka supports is coming back from unreachable, not
>> coming back from the dead.
>>
>
> What I meant is that when a node comes back from the wilderness, still
> believing he's part of the cluster, how does the cluster inform him that
> he's not on the list, so that he knows to reboot himself?
>
> Thanks!
>
> -0xe1a
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Cheers,
√

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to