Hi Konrad, 

thank you very much for your reply.

I've decided to do a POF with the version 2.3.6 and I can see the 
improvements in the cluster system but I couldn't get to the point I want 
yet. I'll explain the new scenario:

As pointed above, I start the seed node and afterwards I start the non-seed 
node and they can see each other. I stop the seed-node and this Member is 
marked as removed from Cluster. Next, I start the seed node again and they 
can see each other (as seed node prints current members) but if I stop the 
non-seed node now, the seed node prints   

"[WARN|ReliableDeliverySupervisor] Association with remote system 
[akka.tcp://[email protected]:34952] has failed, address is now gated 
for [5000] ms. Reason is: [Disassociated]."

but the event of MemberRemoved is never received in the seed node.

El lunes, 20 de octubre de 2014 01:41:55 UTC+2, Konrad Malawski escribió:
>
> Hi Miguel!
> Sorry I had you waiting on this one for so long, let’s dive into the 
> cluster’s depths right away then!
>
> In your case you would need make the seed node join the previous node. If 
> you really want to do this, there’s programatic API to do this 
> (Cluster(system).join 
> theOtherGuy),
> but I assume you mean that “the code has no idea who to join”. In that 
> case you can provide external knowledge to the seed-node to make it join 
> that other node via JMX 
> <http://doc.akka.io/docs/akka/snapshot/scala/cluster-usage.html#jmx> or
> the command line util 
> <http://doc.akka.io/docs/akka/snapshot/scala/cluster-usage.html#command-line-management>
>  
> we provide. Another solution would be to keep both nodes as seed-nodes. In 
> general we suggest having a bunch of nodes as seed-nodes, not just one.
>
> Also, make sure you *Down* not just leave it as *Unreachable* the node 
> that has failed. You can do this via the same tools I’ve put above,
> or there’s an automatic mode for it called auto-downing, which depends on 
> a timer (so it’s potentially very dangerous as it may down a perfectly FINE 
> node, just because it didn’t answer for a few seconds (heatbeat)).
>
> Finally, Please do upgrade to 2.3, 2.2 was a long time ago and the 2.3 
> series (esp. 2.3.5+) include A LOT of improvements to the cluster!
>
> Also, remember that ActorRefs won’t be valid for such node “that dies, had 
> some actors on and you’ve been talking to the via actor refs”, you’ll have 
> to Identify them again using selection (unless you’ve been using some other 
> mechanism like pubsub or cluster sharding etc).
>
> Some reference: 
>
>    - membership explained: 
>    http://doc.akka.io/docs/akka/snapshot/common/cluster.html#membership 
>    - cluster membership states: 
>    
> http://doc.akka.io/docs/akka/snapshot/common/cluster.html#state-diagram-for-the-member-states
>  
>
> Hope this helps!
> ​
>
> On Fri, Oct 17, 2014 at 9:53 PM, Miguel Angel Fernandez <
> [email protected] <javascript:>> wrote:
>
>> By the way, I forgot to mention that I'm using the version 2.2
>>
>> --
>> >>>>>>>>>>      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 http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Cheers,
> Konrad 'ktoso' Malawski
> hAkker @ Typesafe
>
> <http://typesafe.com>
>  

-- 
>>>>>>>>>>      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