-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Description
HA -- run any number of Marathon schedulers, but only one gets elected as leader; if you access a non-leader, your request gets proxied to the current leader
As proxying adds latency, we should try to find the leader (/v2/leader endpoint) in the cluster logic and then send all further requests to the master/leader directly.
Whenever a http request fails:
- find the new leader.
- re-send the request if step 1 only took x ms? (to make it more fault tolerant)
Also check for the latest leader/master in the background every minute or so. Because the currently used leader/master might transition to a slave in the meanwhile.
Metadata
Metadata
Assignees
Labels
No labels