Hi,

If I restart the crashed node on same host and port, it should be reachable 
now and consensus should be reached isnt it?

Thanks,
Unmesh

On Tuesday, 4 April 2017 13:09:22 UTC+5:30, Michal Borowiecki wrote:
>
> Hi Unmesh,
>
> AFAIK, the crashed node has to be downed (whether manually or 
> automatically) for the cluster to reach convergence.
>
> Only once there are no unreachable nodes observed by any member can the 
> leader resume it's duties and allow the new member (your re-started 
> instance) to join.
>
> For testing & dev, you can use auto-downing. For production you need to 
> choose a more resilient approach I'm afraid, as out of the box auto-downing 
> doesn't provide a way to address the split-brain-problem which most likely 
> would bite you in a real life environment sooner or later.
>
> Cheers,
>
> Michal
>
> On 04/04/17 08:31, Unmesh Joshi wrote:
>
> Is it possibly because in a two node cluster, there can never be majority 
> ( > 50%) nodes agreeing on membership to mark a node as 'seen'? 
>
> On Tuesday, 4 April 2017 12:46:17 UTC+5:30, Unmesh Joshi wrote: 
>>
>> Hi,
>>
>> I have a two node cluster in a cluster. If I crash one of the nodes 
>> (*10.131.22.26:3552 
>> <http://10.131.22.26:3552>), *and bring it up again, I start getting 
>> following messages from other nodes.  Now that the node is reachable and 
>> there are only two nodes in the cluster, why should it give following 
>> message with seen=false for 1*0.131.22.26:3552 
>> <http://0.131.22.26:3552>? *
>> For members to be seen, is there any other configuration that needs to be 
>> tuned?
>>
>>
>> [INFO] [04/04/2017 12:38:49.623] 
>> [csw-cluster-akka.actor.default-dispatcher-14] 
>> [akka.cluster.Cluster(akka://csw-cluster)] Cluster Node [akka.tcp://
>> [email protected]:41574] - Leader can currently not perform its 
>> duties, reachability status: [akka.tcp://[email protected]:41574 
>> -> akka.tcp://[email protected]:3552: Unreachable [Unreachable] 
>> (1)], member status: [akka.tcp://[email protected]:3552 Up 
>> seen=false, akka.tcp://[email protected]:41574 Up seen=true]
>> [INFO] [04/04/2017 12:39:49.634] 
>> [csw-cluster-akka.actor.default-dispatcher-2] 
>> [akka.cluster.Cluster(akka://csw-cluster)] Cluster Node [akka.tcp://
>> [email protected]:41574] - Leader can currently not perform its 
>> duties, reachability status: [akka.tcp://[email protected]:41574 
>> -> akka.tcp://[email protected]:3552: Unreachable [Unreachable] 
>> (1)], member status:* [akka.tcp://[email protected]:3552 
>> <http://[email protected]:3552> Up seen=false*, akka.tcp://
>> [email protected]:41574 Up seen=true]
>> [INFO] [04/04/2017 12:40:49.632] 
>> [csw-cluster-akka.actor.default-dispatcher-17] 
>> [akka.cluster.Cluster(akka://csw-cluster)] Cluster Node [akka.tcp://
>> [email protected]:41574] - Leader can currently not perform its 
>> duties, reachability status: [akka.t
>>
>>
>>
>> Thanks,
>> Unmesh 
>>
> -- 
> >>>>>>>>>> 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] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> <http://www.openbet.com/> Michal Borowiecki 
> Senior Software Engineer L4 
> T: +44 208 742 1600 
>
>
> +44 203 249 8448 
>
>
>   
> E: [email protected] <javascript:> 
> W: www.openbet.com 
> OpenBet Ltd 
>
> Chiswick Park Building 9 
>
> 566 Chiswick High Rd 
>
> London 
>
> W4 5XT 
>
> UK 
> <https://www.openbet.com/email_promo> 
> This message is confidential and intended only for the addressee. If you 
> have received this message in error, please immediately notify the 
> [email protected] <javascript:> and delete it from your system as well as 
> any copies. The content of e-mails as well as traffic data may be monitored 
> by OpenBet for employment and security purposes. To protect the environment 
> please do not print this e-mail unless necessary. OpenBet Ltd. Registered 
> Office: Chiswick Park Building 9, 566 Chiswick High Road, London, W4 5XT, 
> United Kingdom. A company registered in England and Wales. Registered no. 
> 3134634. VAT no. GB927523612 
>

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to