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

Fix fallback to other nodes for Marathon #1740

Merged
merged 1 commit into from
Jun 14, 2017

Conversation

m3co-code
Copy link
Contributor

@m3co-code m3co-code commented Jun 13, 2017

This PR should fix the issue #659. The fix is actually in github.com/gambol99/go-marathon and this PR updates it and its sub-dependency github.com/donovanhide/eventsource.

I updated the dependency according to the approach @timoreimann suggested here. I tested the failover with Traefik against a real running Marathon cluster and took nodes down one after another. Also I tried to take all nodes down at once and see if it recovers and the failover/recovery works consistently.

Fixes #659

@ldez
Copy link
Contributor

ldez commented Jun 13, 2017

The go-marathon diff: gambol99/go-marathon@15ea23e...1b9c258

@m3co-code m3co-code force-pushed the issue-659-go-marathon-update branch from 6dea861 to 4ac6b69 Compare June 13, 2017 10:46
@ldez ldez added this to the 1.4 milestone Jun 13, 2017
@ldez ldez requested a review from timoreimann June 13, 2017 11:07
Copy link
Contributor

@timoreimann timoreimann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marco-jantke and I spent a pretty significant amount of time on developing and testing this feature. So clearly LGTM.

Copy link
Contributor

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐯

in order to get the latest fixes regarding SSE subscription failover.
@m3co-code m3co-code force-pushed the issue-659-go-marathon-update branch from 4ac6b69 to 9091f2b Compare June 14, 2017 07:24
@ldez ldez merged commit 2ddae2e into traefik:master Jun 14, 2017
@m3co-code m3co-code deleted the issue-659-go-marathon-update branch June 14, 2017 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Marathon provider doesn't seem to fall back to other addresses
4 participants