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

Allow Manual Failover in cluster bootstrap #67

Open
arohter opened this issue Jan 14, 2014 · 0 comments
Open

Allow Manual Failover in cluster bootstrap #67

arohter opened this issue Jan 14, 2014 · 0 comments

Comments

@arohter
Copy link
Contributor

arohter commented Jan 14, 2014

When launching fresh clusters, when zk holds no 'nodes' data, and all redis nodes are in master state, client.manual_failover() will fail with an exception due to the build_client() call failing to find the 'nodes' data when initializing the client object.

At the moment we need to manually issue slaveof commands to redis nodes in order to bootstrap.

We should be able to just call a static class method (skipping build_clients) to force a bootstrap.

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