Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stale ActorRef eviction is broken #104

Open
clinedome-work opened this issue Aug 29, 2014 · 0 comments
Open

Stale ActorRef eviction is broken #104

clinedome-work opened this issue Aug 29, 2014 · 0 comments
Labels

Comments

@clinedome-work
Copy link
Collaborator

ActorRef eviction is designed in the following way:

  • keep track of when latest received Pong messages and actor resolutions have occurred
  • removing references who haven't been updated beyond a certain threshold from the map
  • fire off an attempt to re-resolve these actor refs

The first piece currently isn't functioning as desired. The map is keyed on an Actor's path, and the Pong message is received from the membership actor /user/sirius/membership, while the resolution path and the map in the MembershipAgent are keyed on the supervisor's path /user/sirius. In short, Pong messages aren't resetting the timeout threshold, and all Refs in the MembershipAgent are recreated (by default) every 40 seconds or so.

This is safe, but it should be fixed in order to work as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant