I use auto downing, but each node checks that its cluster size is larger than half the cluster. If not, it restarts and re-joins the cluster.
A consequence of this is that I can not run when less than half of my nodes are working. Best regards, Anders Båtstrand tirsdag 2. juni 2015 23.13.25 UTC+2 skrev Michael Irzh følgende: > > I read in Akka's documentation that when using cluster singleton one > should avoid using automatic downing. I don't understand how should downing > be configured in that case. I understand that I may subscribe to cluster > membership events and plan my strategy according to those messages. > However, I don't understand how practically it will be different from > automatic downing. > > > When a node is somehow partitioned from the cluster, if automatic downing > is used, the partitioned node will "think" that the entire cluster went > missing and start a cluster of its own (with its own singleton). But, on > the other hand, I can't keep unreachable nodes in unreachable state forever > because the cluster won't reach convergence (new nodes won't be able to > join) and if the partitioned node is the singleton itself a new singleton > node won't be assigned and therefor, according to my understanding, the > only thing that is left to do is to remove unreachable nodes after some > grace time which is exactly what automatic downing does. > > > What do I miss here? > > > p.s > > Also posted at stackoverflow: > > > http://stackoverflow.com/questions/30575174/how-to-configure-downing-in-akka-cluster-when-a-singleton-is-present > -- >>>>>>>>>> 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.
