The sample doesn't have those settings, but i added them for two roles and I could see from the MemberUp logging that it was working mån 4 juli 2016 kl. 11:08 skrev Raymond Roestenburg < raymond.roestenb...@gmail.com>:
> That does not seem to solve the issue, I'll check out the > akka-sample-cluster-scala to see what you're doing differently there.. > > > On Sunday, July 3, 2016 at 8:45:25 PM UTC+2, Raymond Roestenburg wrote: >> >> Thanks Patrik, I'll try that. >> >> On Friday, July 1, 2016 at 8:32:27 AM UTC+2, Patrik Nordwall wrote: >>> >>> I have verified that it works as expected with >>> the akka-sample-cluster-scala. >>> >>> I think the problem is that you have not defined the same min-nr-of-members >>> in all config files. seed.config only contains seed.min-nr-of-members >>> >>> /Patrik >>> >>> On Thu, Jun 30, 2016 at 2:47 PM, Raymond Roestenburg < >>> raymond.r...@gmail.com> wrote: >>> >>>> (Copy from gitter) >>>> >>>> Hey guys, I don’t think 'min-nr-of-members’ in cluster works anymore, >>>> I’ve got an example where I would expect the registerOnMemberUp to not get >>>> called until two ‘worker’ role nodes are up, but it gets called anyway. >>>> Example is here at >>>> https://github.com/RayRoestenburg/akka-in-action/tree/master/chapter-cluster >>>> . >>>> >>>> I you would like to try: >>>> >>>> run sbt assembly, start a 'seed' with >>>> java -DPORT=2551 -Dconfig.resource=/seed.conf -jar target/words-node.jar >>>> And a 'master’ with >>>> java -DPORT=2554 -Dconfig.resource=/master.conf -jar >>>> target/words-node.jar >>>> Since worker.min-nr-of-members = 2 is set, I would expect the master >>>> not to get up, but it does. >>>> (Am I doing something wrong?) >>>> >>>> Cheers, >>>> Ray >>>> >>>> -- >>>> >>>>>>>>>> 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 https://groups.google.com/group/akka-user. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> >>> Patrik Nordwall >>> Akka Tech Lead >>> Lightbend <http://www.lightbend.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 akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at https://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- >>>>>>>>>> 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+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.