-
Notifications
You must be signed in to change notification settings - Fork 905
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
auth: refactor health checks monitoring done from LUA records #8249
Conversation
Thanks for your review. I added an extra check on insertion when we have the lock and changed how we store items to be deleted. |
f0c235b
to
e0067d0
Compare
Not a fan of this behaviour. But, that being said. I'm not a fan of the current behaviour of not running a check until someones tries to look up the record. Is it possible to make this configurable? I would prefer ALL checks to be run if the record exists, and/or the existing behaviour. |
The configurable health check would be great - it would help resolve the issue I've just reported: #8261 |
If possible I would like to configure the timeout for the health check too. We're looking at implementing this and noticed in our lab a lot of flapping on some of the longer checks (about 500ms). |
One or two serious reviews would be more than welcome. Also I don't understand why this broke the dnsdist circleci tests :/ |
Can you see if a rebase fixes that? We had/have an issue with CircleCI running commit X tests against commit Y builds, and we merged an improvement for that on master yesterday. |
d83d27c
to
4c08346
Compare
Looks like it works (c) now... |
Thanks for your review. Invalid options (like |
d29cffb
to
995a081
Compare
2b25a01
to
4d63f11
Compare
rebased |
Short description
This PR puts TCP/IP and URL health checks in a single thread (instead of 1 thread per check).
This also removes checks that have been unused for a given period of time (currently 1 hour). This will prevent checks from modified or deleted records to keep being performed by the authoritative server (fix #7988).
Checklist
I have: