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

Update default initial value for health check. #414

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

derekmarcotte
Copy link
Contributor

Takes into account the change where the VCL is lazy-loaded on nodes as
needed. The lazy-load may cause the first couple of health check
attempts to fail, and can be enough to mark the backend as unhealthy
until enough successful checks occur to reach the threshold again.

It is highly recommended that the initial and threshold values be the
same for health checks going forward.

@derekmarcotte derekmarcotte force-pushed the dm-healthcheck-initial branch from 2bd5d9f to 30b08ae Compare June 3, 2021 16:17
Takes into account the change where the VCL is lazy-loaded on nodes as
needed.  The lazy-load may cause the first couple of health check
attempts to fail, and can be enough to mark the backend as unhealthy
until enough successful checks occur to reach the threshold again.

It is highly recommended that the initial and threshold values be the
same for health checks going forward.

By setting the initial value to equal the threshold value, the threshold
will be met immediately, before any Health check requests are sent.  The
backend is initialized as Healthy from the start. This avoids
unnecessary errors as the VCL is being loaded onto the nodes.
@derekmarcotte derekmarcotte force-pushed the dm-healthcheck-initial branch from 30b08ae to fe3ecf9 Compare June 3, 2021 20:20
@HawkSE
Copy link

HawkSE commented Jun 8, 2021

I can't approve this, but I do want to suggest that this be changed.

@Integralist
Copy link
Collaborator

Thanks @HawkSE I'll get this approved and merged.

Once merged I'll need to coordinate this change with a new Terraform release, which might not happen immediately as we usually like to bundle up a few different changes within a release.

@Integralist Integralist added the enhancement New feature or request label Jun 9, 2021
@Integralist Integralist merged commit 7a1fb9b into fastly:main Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants