That’s not the issue, shutdown progresses without noticeable delay (much less than a second). I’ll investigate further …
-- Heiko Seeberger Home: heikoseeberger.de Twitter: @hseeberger Public key: keybase.io/hseeberger > Am 19.12.2017 um 10:32 schrieb Patrik Nordwall <[email protected]>: > > Sounds strange. For how long do you sleep in the PhaseServiceUnbind task? > Note that there is a default timeout of 5 seconds for a phase, otherwise it > will continue with next phase. > https://github.com/akka/akka/blob/master/akka-actor/src/main/resources/reference.conf#L1044 > > <https://github.com/akka/akka/blob/master/akka-actor/src/main/resources/reference.conf#L1044> > > If that is not the issue then try with loglevel=DEBUG to see what it is doing. > > /Patrik > > On Mon, Dec 18, 2017 at 9:45 PM, Heiko Seeberger <[email protected] > <mailto:[email protected]>> wrote: > Hi, > > I’m playing with coordinated shutdown and things are not working as expected. > > I have a taks registered for PhaseServiceUnbind. When I kill (SIGTERM) the > running system, I can see (logging) that the task gets evaluated, but it > seems that the shutdown process doesn’t wait for its result, i.e. doesn’t > wait until the respective Future[Done] has completed. Instead all kinds of > cluster related shutdown activities are started immediately. > > So, am I missing something or shouldn’t cluster related shutdown activities > wait for the unbind task to complete? > > Thanks > Heiko > > -- > > Heiko Seeberger > Home: heikoseeberger.de <http://heikoseeberger.de/> > Twitter: @hseeberger > Public key: keybase.io/hseeberger <http://keybase.io/hseeberger> > > > > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/> > >>>>>>>>>> Check the FAQ: > >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html> > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > >>>>>>>>>> <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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/akka-user > <https://groups.google.com/group/akka-user>. > For more options, visit https://groups.google.com/d/optout > <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/ <http://akka.io/docs/> > >>>>>>>>>> Check the FAQ: > >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html> > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > >>>>>>>>>> <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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/akka-user > <https://groups.google.com/group/akka-user>. > For more options, visit https://groups.google.com/d/optout > <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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
