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

Can't change endpoint list while running #5491

Closed
purpleidea opened this issue May 30, 2016 · 1 comment
Closed

Can't change endpoint list while running #5491

purpleidea opened this issue May 30, 2016 · 1 comment

Comments

@purpleidea
Copy link
Contributor

purpleidea commented May 30, 2016

I'd like to change the endpoints that a client knows about so that it can dynamically switch to a different endpoint if one goes down. I know that I can specify multiple endpoints initially, however if a new server joins the cluster after I've configured my client, then it won't get used.

Is there already some mechanism to do this, or does anybody have any reason why we can't directly modify the endpoints list of a client? (We can't because that variable is private.) If there's no other way, and nobody has any reasons why this wouldn't work, then I can try and write the patch.

API suggestions welcome.

NOTE: I'm referring to the V3 API.

@purpleidea
Copy link
Contributor Author

FWIW I wrote a private patch to change the list of endpoints, but it doesn't seem to do what I expected might happen :(

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

No branches or pull requests

2 participants