Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRAFT - Remove disconnected slaves from slave list
This is just a rough draft to demonstrate what I'm thinking around how to remove slaves from the slave list when they're disconnected. This is all untested and should not be merged. :P
- Loading branch information
1 parent
11dc3cd
commit c83a96f
Showing
3 changed files
with
81 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 comment
on commit c83a96f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. After our discussion I really liked the idea of SlaveRegistry. We need to make slave registry available at multiple places (ClusterMaster and Slave). So do we need to make it Singleton?
probably want to just cache this.