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

query-tee: gracefully stop inflight requests when shutting down #8985

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

charleskorn
Copy link
Contributor

@charleskorn charleskorn commented Aug 13, 2024

What this PR does

This PR improves the behaviour of query-tee when it receives a shutdown signal.

Previously, query-tee would immediately terminate all inflight HTTP requests on shutdown.

With this change, query-tee will now wait up to -server.graceful-shutdown-timeout before terminating any outstanding requests.

Which issue(s) this PR fixes or relates to

(none)

Checklist

  • [n/a] Tests updated.
  • [n/a] Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • [n/a] about-versioning.md updated with experimental features.

@charleskorn charleskorn marked this pull request as ready for review August 13, 2024 00:41
@charleskorn charleskorn requested a review from a team as a code owner August 13, 2024 00:41
@charleskorn charleskorn force-pushed the charleskorn/query-tee-graceful-shutdown branch from 7e300df to e7df5b3 Compare August 13, 2024 01:22
@charleskorn charleskorn merged commit 99716c8 into main Aug 13, 2024
57 checks passed
@charleskorn charleskorn deleted the charleskorn/query-tee-graceful-shutdown branch August 13, 2024 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants