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

Watch leader key for fast failover #15

Merged
merged 19 commits into from
Sep 8, 2015

Conversation

CyberDem0n
Copy link
Collaborator

No description provided.

Alexander Kukushkin and others added 19 commits August 27, 2015 10:53
`Cluster.leader` is not reference to `Member` anymore, but to `Leader`
`Leader` class contains field `index` (update index). This field is very
useful for watching for events which changing leader key. Also `Leader`
contains `member` field, which should reference real member.
This method suppose to watch for changes of leader key if current node
is not leader and also it could watch for changes in a members list if
current conde is the leader.
It returns self.member.name and simplifies later usage in code.
Retry requests to configuration store
@feikesteenbergen feikesteenbergen merged commit 3a4a2db into master Sep 8, 2015
@CyberDem0n CyberDem0n deleted the feature/watch-leader-key branch September 8, 2015 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants