DeathWatch 2 and reusing child names
Hi,
I'm wondering if we should call context.unwatch after receiving Terminated message. Actors maintain a set of actors they are watching for and ignore subsequent calls to watch method even if the actor ref actually relates to a different actor, just with the same name.
The example code: https://gist.github.com/2972002. If you uncomment line 28 it works, but I expected it to work without unwatching dead actors.
We use the latest 2.1-SNAPSHOT and perhaps this is related to a recently committed "DeathWatch 2.0".
Thanks,
Roman
I'm wondering if we should call context.unwatch after receiving Terminated message. Actors maintain a set of actors they are watching for and ignore subsequent calls to watch method even if the actor ref actually relates to a different actor, just with the same name.
The example code: https://gist.github.com/2972002. If you uncomment line 28 it works, but I expected it to work without unwatching dead actors.
We use the latest 2.1-SNAPSHOT and perhaps this is related to a recently committed "DeathWatch 2.0".
Thanks,
Roman
Leave a comment
on 2012-06-25 10:13 *
By viktorklang
Updating tickets (#2186, #2187, #2189, #2192, #2196, #2197, #2198, #2200, #2203, #2208, #2212, #2217, #2218, #2221, #2224, #2225, #2226, #2227, #2228, #2232, #2236, #2237, #2247, #2248, #2255, #2257, #2260, #2262, #2268, #2269, #2272, #2276, #2285, #2288, #2292, #2294, #2295, #2298, #2301, #2302, #2312, #2315, #2318, #2319, #2332, #2333, #2335, #2337, #2340, #2341, #2342, #2345)