Hi Sean,

I think this might be a real issue. Remote deployment should maybe
automatically initiate a watch from the child to the parent. This problem
rings a bell though... Have you tried this in Akka 2.3.4? I have a feeling
that we fixed something like that before.

As a sidenote, I don't really like the current remote deployment (as in
hooking a remote actor into the local supervision hierarchy) and I hope
Akka 3 will move instead to a recepcionist style remote deployment.

-Endre


On Tue, Jul 29, 2014 at 11:22 PM, 09goral <[email protected]> wrote:

> To be honest, I don't know the answer but you can easily check what child
> actor receives. Just log every message child actor receives and see if
> comes any message that would indiciate that parent got killed.
>
> Buy according to  docs
> <http://doc.akka.io/docs/akka/2.3.4/scala/actors.html#Restart_Hooks> by
> default it should terminate all childrens. If you haven't overriden
> preRestart() method I imagine that it depends on way you kill parent actor.
>
>
> W dniu wtorek, 29 lipca 2014 15:07:06 UTC+2 użytkownik Sean Zhong napisał:
>
>> Test case:
>> parent actor: in a local machine, child actor, in a remote machine. child
>> actor is created by parent actor by akka remote deployment.
>>
>> Behavior observed:
>> when the parent JVM is killed, the child actor is *NOT* stopped. I have
>> not use child context.watch(parent) for this case.  I oringally thought
>> when the parent actor *cannot* connected, the child actor should
>> *suicide itself.*
>>
>> Is this expected? I use akka 2.2.3
>>
>>
>> Sean
>>
>>
>>
>>  --
> >>>>>>>>>> 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.
>

-- 
>>>>>>>>>>      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.

Reply via email to