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

Use ActorSelection instead of ActorRef in Leader #99

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

Use ActorSelection instead of ActorRef in Leader #99

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

Comments

@clinedome-work
Copy link
Collaborator

Similar to #98 , dump ActorRef resolution for ActorSelection, but this time in the context of the elected leader in the Leader actor. At first, using a resolved reference seems like a good idea in the Leader -- we care whether there is an actor alive at the other end. However, we're also doing our own liveness testing for the elected leader, and doubling up on that just leads to confusion.

Also, while we care whether there is a live remote leader, we don't care which instantiation it is -- and stale ActorRefs with old ids can be problematic.

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

No branches or pull requests

1 participant