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. > > /Patrik >
Do 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? Thanks, Ryadh On Friday, July 4, 2014 8:38:47 AM UTC+1, Patrik Nordwall wrote: > > > > > On Thu, Jul 3, 2014 at 10:28 PM, Eugene Dzhurinsky <[email protected] > <javascript:>> wrote: > >> 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. >> > yes, then my understanding was correct > >> >> 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. >> > quarantine is because of downing: > http://doc.akka.io/docs/akka/2.3.4/scala/cluster-usage.html#Automatic_vs__Manual_Downing > > >> >> 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? >> > > I repeat myself, this has nothing to do with seed nodes. Please re-read my > previous reply, and this section: > http://doc.akka.io/docs/akka/2.3.4/scala/cluster-usage.html#Joining_to_Seed_Nodes > > /Patrik > > >> -- >> >>>>>>>>>> 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. >> > > > > -- > > Patrik Nordwall > Typesafe <http://typesafe.com/> - Reactive apps on the JVM > Twitter: @patriknw > > -- >>>>>>>>>> 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.
