Hi Johannes, Thank you for reporting! It seems like allow-local-routees is a bit confusing. I created a ticket: https://github.com/akka/akka/issues/15412
> How should I properly make sure the cluster aware routers get initialized? > Since this kind of router is very dynamic, you cannot reliably detect that there are available routees at all. At the point where it would return to you "Hey, I am ready", it might be that all nodes are gone already because of a network failure for example. You can use the GetRoutees message and check if there are routees available, but it cannot guarantee that those routees will be there when you want to use them. This is a general problem and is not limited to initialization. There is also a relevant Note in the docs which you should consider: "The routee actors should be started as early as possible when starting the actor system, because the router will try to use them as soon as the member status is changed to 'Up'. If it is not available at that point it will be removed from the router and it will only re-try when the cluster members are changed" -Endre > I'm attaching a test class that I can reproduce my case with. I'm using > Akka 2.3.0. > > -- > >>>>>>>>>> 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. > -- Akka Team Typesafe - The software stack for applications that scale Blog: letitcrash.com Twitter: @akkateam -- >>>>>>>>>> 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.
