Hello!
I have the scenario when the only one seed node is configured.
If this node is not reachable due to a network problem - then after the connection is re-established, it does not re-join the cluster. In other words, the rest of nodes don't know about seed node anymore.
Are there any approaches to tell the rest of cluster to "poll" the seed nodes periodically, and if they respond - then "rejoin" the cluster with those nodes?
--
Thanks!
>>>>>>>>>> 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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
Patrik Nordwall
Typesafe - Reactive apps on the JVM
Twitter: @patriknw
So you had one cluster consisting of all nodes, and then a network split caused it to be split into two separate clusters?That does not really have anything to do with seed nodes. Seed nodes are only used as initial contact points when joining new nodes.
So you had one cluster consisting of all nodes, and then a network split caused it to be split into two separate clusters?That does not really have anything to do with seed nodes. Seed nodes are only used as initial contact points when joining new nodes.
Hi!
Let's assume there are 3 nodes - A, B and C. Node A is a seed node for B and C. So when cluster starts - B joins A and C joins A, then they gossip and then B knows about C and vise versa.
Now A is not reachable, so both B and C mark it as "quarantined". After A gets online - it doesn't know neither about B nor about C, and none of the nodes B and C will even try to restore the connections to A.
If A has some "actors" to be deployed on node B - then it will not be able to do so.
The only way to resolve this seems to make A, B and C as "seed" nodes, so if any of then will "disconnect" - then after the connection is established (and threshold is not broken yet) they will re-join. But I'm not sure if there would be a delay in startup of node B - will it be marked as inaccessible?
--
>>>>>>>>>> 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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
An ActorSystem can only be part of one cluster, and only once. Rejoining or joining of two different clusters are not supported. Then the ActorSystem must be stopped and started again to join the cluster./Patrik
Hi Patrik,Reading this:An ActorSystem can only be part of one cluster, and only once. Rejoining or joining of two different clusters are not supported. Then the ActorSystem must be stopped and started again to join the cluster./PatrikDo you confirm that for every Cluster an new ActorSytem should be created?
We are using a singleton and router clusters within the same ActorSystem. Would you recommend to create 2 actor systems?
You received this message because you are subscribed to a topic in the Google Groups "Akka User List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/akka-user/2PnY31IgGEg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
I mean we deployed within the same actor system:- singleton actor: scheduled task- router: the singleton distributed the work to workers using a routerI presume to implement a Singleton actor, some sort of Cluster is needed.
The same thing applies for setting up a router.