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

Implement support for mesos high availability mode #12

Open
maximskripnik opened this issue Apr 5, 2020 · 0 comments
Open

Implement support for mesos high availability mode #12

maximskripnik opened this issue Apr 5, 2020 · 0 comments
Assignees

Comments

@maximskripnik
Copy link
Owner

If Mesos is running in the high availability mode, it might redirect to another instance when using HTTP API (which is what this framework will use). The framework should respect that and dynamically change the location of current mesos master (i.e. it should not try to connect to the same master node and follow redirects all the time, but remember that master was moved and send all new requests to the new node).

See: https://mesos.apache.org/documentation/latest/high-availability/#usage:

For HTTP endpoints that only work at the leading master, requests made to endpoints at a non-leading master will result in either a 307 Temporary Redirect (with the location of the leading master) or 503 Service Unavailable (if the master does not know who the current leader is).

@maximskripnik maximskripnik self-assigned this Apr 5, 2020
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

No branches or pull requests

1 participant