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

feat(server): Report unhealthy instead of terminating on panic #4250

Merged
merged 8 commits into from
Nov 14, 2024

Conversation

jjbayer
Copy link
Member

@jjbayer jjbayer commented Nov 14, 2024

Follow-up to #4249: instead of terminating the process when a service panics, report unhealthy on the health check endpoint. This gives other services the chance to finish processing and / or flush out data.

Fixes #4037.

@jjbayer jjbayer marked this pull request as ready for review November 14, 2024 12:41
@jjbayer jjbayer requested a review from a team as a code owner November 14, 2024 12:41
Dav1dde and others added 6 commits November 14, 2024 15:24
Instruments all `tokio::spawn` calls with a new spawn function
`relay_system::spawn`.
MongoDB support for the Query insights module is now in GA. Remove the
feature flag that controlled whether or not to enable query scrubbing
for Mongo queries, as it is now always required. This involved removing
the `scrub_mongo_description` parameter down the call stack, and moving
`Feature::ScrubMongoDbDescriptions` to the graduated feature list.

#skip-changelog
@jjbayer jjbayer merged commit ad28282 into joris/join Nov 14, 2024
@jjbayer jjbayer deleted the joris/panic-unhealthy branch November 14, 2024 16:42
@jjbayer jjbayer restored the joris/panic-unhealthy branch November 15, 2024 07:10
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.

4 participants