I think you're being misled by the word "cluster".  Keep in mind, a single
JVM is still a perfectly valid "cluster" if it allows itself to be one.  So
it's very easy to fall into the trap where node A winds up as its own
cluster, and the other nodes are another cluster -- that's exactly what
happens if A experiences a long GC pause, and the other nodes naively down
it while it is still running.  If the load balancer is still talking to all
of these nodes, you wind up with an inconsistent state, and can easily fall
into data corruption...

On Sat, Mar 18, 2017 at 5:05 AM, Dai Yinhua <yhdai.2...@gmail.com> wrote:

> @Patrik, I have read the akka document about split brain resolver, but
>> could you please explain a little bit more to help me understand why does
>> it happen?
>>
>
> If node A is experiencing long GC, and then node A is firstly marked as
> unreachable and then marked as down and later removed from the cluster.
> How does it become two separate clusters? I can only think all other node
> has realized that node A is unreachable through gossip?
>
> What I come out with a scenario that cause two separate cluster is that
> when there are several JVMs running in node A, and several JVMs running in
> other node, if there is network issue for node A, then the cluster might be
> separated to two clusters, one is formed by all JVMs in node A, and others
> formed the other one.
> But I can't think out how does this happen for a long GC?
>
> --
> >>>>>>>>>> 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.

Reply via email to