Hi Ivan,

after it has left the cluster, service2 will clear out its cluster membership 
info, generating these messages. When your actors on service2 receive the 
information that service2 has been removed, that means that it is time to stop 
your system since it cannot do much anymore (most importantly it will not be 
able to re-join the cluster, ever).

Regards,

Roland

12 feb 2014 kl. 21:37 skrev [email protected]:

> I am looking for clarification on when leaving a cluster using 2.3-RC2. I 
> have three instances of a service running and each is hooked up to the same 
> cluster and subscribed to MemberEvent and ReachabilityEvent. 
> 
> Let's say the service 2 is told through some API to leave the cluster. It 
> calls something like "cluster.leave(selfAddress)" to leave the cluster. I 
> expect then for the cluster leader to mark service 2 as leaving, exiting, and 
> then removed from the cluster. Each of the three services should receive 
> these events.
> 
> However, in addition to these events, service 2 (the one leaving) gets 
> MemberRemoved events for service 1 and service 2. Why is this? Both of the 
> other services are not leaving the cluster. These additional events really 
> throw our system off since we have some self-healing logic based on events 
> passed through the system.
> 
> Thanks,
> 
> Ivan
> 
> 
> 
> 
> -- 
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
> >>>>>>>>>> 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/groups/opt_out.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe – Reactive apps on the JVM.
twitter: @rolandkuhn


-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      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/groups/opt_out.

Reply via email to