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

Start listener after routing table is initialized #248

Closed
taharah opened this issue Mar 9, 2017 · 2 comments
Closed

Start listener after routing table is initialized #248

taharah opened this issue Mar 9, 2017 · 2 comments
Milestone

Comments

@taharah
Copy link

taharah commented Mar 9, 2017

I've noticed that when restarting Fabio it clears out the routing tables, which can cause issues temporarily while the routes are re-generated. Would it be possible to be able to persist the current routing table between restarts? Either that or have a startup timer similar to the shutdown one where it will throw a 503 because then the load balancer in front of Fabio that I use (F5) would be able to detect the service as unhealthy still.

@magiconair
Copy link
Contributor

magiconair commented Mar 9, 2017 via email

@magiconair magiconair changed the title Request: Persistent routing tables Start listener after routing table is initialized Mar 9, 2017
@magiconair
Copy link
Contributor

@taharah I've written a small patch which should do the trick. Can you check whether this works for you?

raben2 pushed a commit to raben2/fabio that referenced this issue Mar 29, 2017
This patch changes the startup sequence so that the listeners
are started after the routing table has been initialized.

Fixes fabiolb#248
@magiconair magiconair added this to the 1.4 milestone Oct 10, 2017
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

2 participants