akka/akka — pull request #1401 by patriknw (2013-05-04 15:44:52+00:00)
Title: Changed design of RemoteWatcher due to cleanup race, see #3265

* The problem was a race caused by HeartbeatReq sent out, and
the watchee terminated immediately. That caused the RemoteWatcher
peers watching each other without any other watch registered.
It is racy.
* Instead of one-way heartbeats from the side beeing watched I
changed to ping-pong style. That makes the problem go away
and simplifies a lot of things in RemoteWatcher.