Re: [akka-user] akka-cluster split brain when enable auto-down and set a node random package loss rate 50%

2016-07-26 Thread Siva Kommuri
What's the min-nr-of-members set to?

Is node A the only seed node in the cluster? Which ones are the seed nodes?

Best wishes,
Siva on 6+

> On Jul 22, 2016, at 11:45 PM, Patrik Nordwall  
> wrote:
> 
> It's one of Lightbend's commercial offerings. Contact Lightbend for more 
> information and pricing https://www.lightbend.com/contact
> 
>> lör 23 juli 2016 kl. 06:26 skrev Yutao Shuai :
>> Can I use the SBR for free?
>> 
>> 在 2016年7月22日星期五 UTC+8下午10:02:13,Patrik Nordwall写道:
>> 
>>> Yes, it exists for 2.3.x
>> 
>>> fre 22 juli 2016 kl. 13:01 skrev Yutao Shuai :
 Can I use split brain resolver in version 2.3.10 ?
 
 在 2016年7月22日星期五 UTC+8下午6:08:22,Akka Team写道:
 
> Hi Yutao,
> 
> Please refer to the documentation page Patrik has linked. It explains the 
> problem in detail and various approaches to handle it. SBR is available 
> for Lightbend customers and provides ready-made solutions (the linked 
> pages), but if you want to go with the open source version, you can 
> implement similar strategies yourself.
> 
> -Endre
 
> 
>> On Fri, Jul 22, 2016 at 11:18 AM, Yutao Shuai  wrote:
>> The result we expected is divide into two cluster, one of the cluster 
>> has three or four nodes and work normally.
>> 
>> 在 2016年7月22日星期五 UTC+8下午3:41:32,√写道:
>>> 
>>> What behavior are you looking to achieve?
>>> 
>>> -- 
>>> Cheers,
>>> √
>>> 
>>> 
 On Jul 22, 2016 5:11 AM, "Yutao Shuai"  wrote:
   In a 5-node cluster, hypothesis the nodes is A,B,C,D,E. All nodes 
 monitor each other, enable auto-down,  and we  set the node-A random 
 package loss rate 50%,  after a period of time, the cluster 
   will divide into two or more clusters. How can I fix this problem?
 -- 
 >> 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 akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at https://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.
>> 
>> -- 
>> >> 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 akka-user+...@googlegroups.com.
>> To post to this group, send email to akka...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> -- 
 
> Akka Team
> Lightbend - Reactive apps on the JVM
> Twitter: @akkateam
 
 -- 
 >> 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 akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at https://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.
>> 
>> -- 
>> >> 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 akka-user+unsubscr...@googlegroups.com.
>> To post to this group, send email to akka-user@googlegroups.com.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> >> Read the docs: http://akka.io/docs/
> >> Check the FAQ: 
> >> http://doc.akka.io/docs/akka/current/additional/faq.html
> >> Search the archives:

Re: [akka-user] akka-cluster split brain when enable auto-down and set a node random package loss rate 50%

2016-07-22 Thread Patrik Nordwall
It's one of Lightbend's commercial offerings. Contact Lightbend for more
information and pricing https://www.lightbend.com/contact

lör 23 juli 2016 kl. 06:26 skrev Yutao Shuai :

> Can I use the SBR for free?
>
> 在 2016年7月22日星期五 UTC+8下午10:02:13,Patrik Nordwall写道:
>>
>> Yes, it exists for 2.3.x
>>
> fre 22 juli 2016 kl. 13:01 skrev Yutao Shuai :
>>
>>> Can I use split brain resolver in version 2.3.10 ?
>>>
>>> 在 2016年7月22日星期五 UTC+8下午6:08:22,Akka Team写道:

 Hi Yutao,

 Please refer to the documentation page Patrik has linked. It explains
 the problem in detail and various approaches to handle it. SBR is available
 for Lightbend customers and provides ready-made solutions (the linked
 pages), but if you want to go with the open source version, you can
 implement similar strategies yourself.

 -Endre

>>>
 On Fri, Jul 22, 2016 at 11:18 AM, Yutao Shuai  wrote:

> The result we expected is divide into two cluster, one of the cluster
> has three or four nodes and work normally.
>
> 在 2016年7月22日星期五 UTC+8下午3:41:32,√写道:
>>
>> What behavior are you looking to achieve?
>>
>> --
>> Cheers,
>> √
>>
>> On Jul 22, 2016 5:11 AM, "Yutao Shuai"  wrote:
>>
>>>   In a 5-node cluster, hypothesis the nodes is A,B,C,D,E. All nodes
>>> monitor each other, enable auto-down,  and we  set the node-A random
>>> package loss rate 50%,  after a period of time, the cluster
>>>   will divide into two or more clusters. How can I fix this problem?
>>>
>>> --
>>> >> 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 akka-user+...@googlegroups.com.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> >> 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 akka-user+...@googlegroups.com.
> To post to this group, send email to akka...@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



 --

>>> Akka Team
 Lightbend  - Reactive apps on the JVM
 Twitter: @akkateam

>>> --
>>> >> 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 akka-user+...@googlegroups.com.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> >> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this gro

Re: [akka-user] akka-cluster split brain when enable auto-down and set a node random package loss rate 50%

2016-07-22 Thread Yutao Shuai
Can I use the SBR for free?

在 2016年7月22日星期五 UTC+8下午10:02:13,Patrik Nordwall写道:
>
> Yes, it exists for 2.3.x
> fre 22 juli 2016 kl. 13:01 skrev Yutao Shuai  >:
>
>> Can I use split brain resolver in version 2.3.10 ?
>>
>> 在 2016年7月22日星期五 UTC+8下午6:08:22,Akka Team写道:
>>>
>>> Hi Yutao,
>>>
>>> Please refer to the documentation page Patrik has linked. It explains 
>>> the problem in detail and various approaches to handle it. SBR is available 
>>> for Lightbend customers and provides ready-made solutions (the linked 
>>> pages), but if you want to go with the open source version, you can 
>>> implement similar strategies yourself.
>>>
>>> -Endre
>>>
>>
>>> On Fri, Jul 22, 2016 at 11:18 AM, Yutao Shuai  wrote:
>>>
 The result we expected is divide into two cluster, one of the cluster 
 has three or four nodes and work normally.

 在 2016年7月22日星期五 UTC+8下午3:41:32,√写道:
>
> What behavior are you looking to achieve?
>
> -- 
> Cheers,
> √
>
> On Jul 22, 2016 5:11 AM, "Yutao Shuai"  wrote:
>
>>   In a 5-node cluster, hypothesis the nodes is A,B,C,D,E. All nodes 
>> monitor each other, enable auto-down,  and we  set the node-A random 
>> package loss rate 50%,  after a period of time, the cluster 
>>   will divide into two or more clusters. How can I fix this problem?
>>
>> -- 
>> >> 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 akka-user+...@googlegroups.com.
>> To post to this group, send email to akka...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
 >> 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 akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at https://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> -- 
>>>
>> Akka Team
>>> Lightbend  - Reactive apps on the JVM
>>> Twitter: @akkateam
>>>
>> -- 
>> >> 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 akka-user+...@googlegroups.com .
>> To post to this group, send email to akka...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] akka-cluster split brain when enable auto-down and set a node random package loss rate 50%

2016-07-22 Thread Patrik Nordwall
Yes, it exists for 2.3.x
fre 22 juli 2016 kl. 13:01 skrev Yutao Shuai :

> Can I use split brain resolver in version 2.3.10 ?
>
> 在 2016年7月22日星期五 UTC+8下午6:08:22,Akka Team写道:
>>
>> Hi Yutao,
>>
>> Please refer to the documentation page Patrik has linked. It explains the
>> problem in detail and various approaches to handle it. SBR is available for
>> Lightbend customers and provides ready-made solutions (the linked pages),
>> but if you want to go with the open source version, you can implement
>> similar strategies yourself.
>>
>> -Endre
>>
>
>> On Fri, Jul 22, 2016 at 11:18 AM, Yutao Shuai  wrote:
>>
>>> The result we expected is divide into two cluster, one of the cluster
>>> has three or four nodes and work normally.
>>>
>>> 在 2016年7月22日星期五 UTC+8下午3:41:32,√写道:

 What behavior are you looking to achieve?

 --
 Cheers,
 √

 On Jul 22, 2016 5:11 AM, "Yutao Shuai"  wrote:

>   In a 5-node cluster, hypothesis the nodes is A,B,C,D,E. All nodes
> monitor each other, enable auto-down,  and we  set the node-A random
> package loss rate 50%,  after a period of time, the cluster
>   will divide into two or more clusters. How can I fix this problem?
>
> --
> >> 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 akka-user+...@googlegroups.com.
> To post to this group, send email to akka...@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
 --
>>> >> 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 akka-user+...@googlegroups.com.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>>
> Akka Team
>> Lightbend  - Reactive apps on the JVM
>> Twitter: @akkateam
>>
> --
> >> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] akka-cluster split brain when enable auto-down and set a node random package loss rate 50%

2016-07-22 Thread Yutao Shuai
Can I use split brain resolver in version 2.3.10 ?

在 2016年7月22日星期五 UTC+8下午6:08:22,Akka Team写道:
>
> Hi Yutao,
>
> Please refer to the documentation page Patrik has linked. It explains the 
> problem in detail and various approaches to handle it. SBR is available for 
> Lightbend customers and provides ready-made solutions (the linked pages), 
> but if you want to go with the open source version, you can implement 
> similar strategies yourself.
>
> -Endre
>
> On Fri, Jul 22, 2016 at 11:18 AM, Yutao Shuai  > wrote:
>
>> The result we expected is divide into two cluster, one of the cluster has 
>> three or four nodes and work normally.
>>
>> 在 2016年7月22日星期五 UTC+8下午3:41:32,√写道:
>>>
>>> What behavior are you looking to achieve?
>>>
>>> -- 
>>> Cheers,
>>> √
>>>
>>> On Jul 22, 2016 5:11 AM, "Yutao Shuai"  wrote:
>>>
   In a 5-node cluster, hypothesis the nodes is A,B,C,D,E. All nodes 
 monitor each other, enable auto-down,  and we  set the node-A random 
 package loss rate 50%,  after a period of time, the cluster 
   will divide into two or more clusters. How can I fix this problem?

 -- 
 >> 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 akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at https://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.

>>> -- 
>> >> 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 akka-user+...@googlegroups.com .
>> To post to this group, send email to akka...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Akka Team
> Lightbend  - Reactive apps on the JVM
> Twitter: @akkateam
>

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] akka-cluster split brain when enable auto-down and set a node random package loss rate 50%

2016-07-22 Thread Yutao Shuai
same as I described in the question.

在 2016年7月22日星期五 UTC+8下午3:49:39,Patrik Nordwall写道:
>
> What happens if you increase the auto-down timeout or increase the failure 
> detector timeout (acceptable-heartbeat-pause)? 
>
> For production I would recommend 
> http://doc.akka.io/docs/akka/rp-16s01p05/scala/split-brain-resolver.html 
> or similar.
>
> /Patrik
> fre 22 juli 2016 kl. 09:41 skrev Viktor Klang  >:
>
>> What behavior are you looking to achieve?
>>
>> -- 
>> Cheers,
>> √
>>
>> On Jul 22, 2016 5:11 AM, "Yutao Shuai" > 
>> wrote:
>>
>>>   In a 5-node cluster, hypothesis the nodes is A,B,C,D,E. All nodes 
>>> monitor each other, enable auto-down,  and we  set the node-A random 
>>> package loss rate 50%,  after a period of time, the cluster 
>>>   will divide into two or more clusters. How can I fix this problem?
>>>
>>> -- 
>>> >> 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 akka-user+...@googlegroups.com .
>>> To post to this group, send email to akka...@googlegroups.com 
>>> .
>>> Visit this group at https://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>> >> 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 akka-user+...@googlegroups.com .
>> To post to this group, send email to akka...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] akka-cluster split brain when enable auto-down and set a node random package loss rate 50%

2016-07-22 Thread Akka Team
Hi Yutao,

Please refer to the documentation page Patrik has linked. It explains the
problem in detail and various approaches to handle it. SBR is available for
Lightbend customers and provides ready-made solutions (the linked pages),
but if you want to go with the open source version, you can implement
similar strategies yourself.

-Endre

On Fri, Jul 22, 2016 at 11:18 AM, Yutao Shuai  wrote:

> The result we expected is divide into two cluster, one of the cluster has
> three or four nodes and work normally.
>
> 在 2016年7月22日星期五 UTC+8下午3:41:32,√写道:
>>
>> What behavior are you looking to achieve?
>>
>> --
>> Cheers,
>> √
>>
>> On Jul 22, 2016 5:11 AM, "Yutao Shuai"  wrote:
>>
>>>   In a 5-node cluster, hypothesis the nodes is A,B,C,D,E. All nodes
>>> monitor each other, enable auto-down,  and we  set the node-A random
>>> package loss rate 50%,  after a period of time, the cluster
>>>   will divide into two or more clusters. How can I fix this problem?
>>>
>>> --
>>> >> 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 akka-user+...@googlegroups.com.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> >> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Akka Team
Lightbend  - Reactive apps on the JVM
Twitter: @akkateam

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] akka-cluster split brain when enable auto-down and set a node random package loss rate 50%

2016-07-22 Thread Yutao Shuai
The result we expected is divide into two cluster, one of the cluster has 
three or four nodes and work normally.

在 2016年7月22日星期五 UTC+8下午3:41:32,√写道:
>
> What behavior are you looking to achieve?
>
> -- 
> Cheers,
> √
>
> On Jul 22, 2016 5:11 AM, "Yutao Shuai" > 
> wrote:
>
>>   In a 5-node cluster, hypothesis the nodes is A,B,C,D,E. All nodes 
>> monitor each other, enable auto-down,  and we  set the node-A random 
>> package loss rate 50%,  after a period of time, the cluster 
>>   will divide into two or more clusters. How can I fix this problem?
>>
>> -- 
>> >> 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 akka-user+...@googlegroups.com .
>> To post to this group, send email to akka...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] akka-cluster split brain when enable auto-down and set a node random package loss rate 50%

2016-07-22 Thread Patrik Nordwall
What happens if you increase the auto-down timeout or increase the failure
detector timeout (acceptable-heartbeat-pause)?

For production I would recommend
http://doc.akka.io/docs/akka/rp-16s01p05/scala/split-brain-resolver.html or
similar.

/Patrik
fre 22 juli 2016 kl. 09:41 skrev Viktor Klang :

> What behavior are you looking to achieve?
>
> --
> Cheers,
> √
>
> On Jul 22, 2016 5:11 AM, "Yutao Shuai"  wrote:
>
>>   In a 5-node cluster, hypothesis the nodes is A,B,C,D,E. All nodes
>> monitor each other, enable auto-down,  and we  set the node-A random
>> package loss rate 50%,  after a period of time, the cluster
>>   will divide into two or more clusters. How can I fix this problem?
>>
>> --
>> >> 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 akka-user+unsubscr...@googlegroups.com.
>> To post to this group, send email to akka-user@googlegroups.com.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> >> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] akka-cluster split brain when enable auto-down and set a node random package loss rate 50%

2016-07-22 Thread Viktor Klang
What behavior are you looking to achieve?

-- 
Cheers,
√

On Jul 22, 2016 5:11 AM, "Yutao Shuai"  wrote:

>   In a 5-node cluster, hypothesis the nodes is A,B,C,D,E. All nodes
> monitor each other, enable auto-down,  and we  set the node-A random
> package loss rate 50%,  after a period of time, the cluster
>   will divide into two or more clusters. How can I fix this problem?
>
> --
> >> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


[akka-user] akka-cluster split brain when enable auto-down and set a node random package loss rate 50%

2016-07-21 Thread Yutao Shuai
  In a 5-node cluster, hypothesis the nodes is A,B,C,D,E. All nodes monitor 
each other, enable auto-down,  and we  set the node-A random package loss 
rate 50%,  after a period of time, the cluster 
  will divide into two or more clusters. How can I fix this problem?

-- 
>>  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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.