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

fix(shutdown): wait for pending queries to process on alpha shutdown #8057

Merged
merged 2 commits into from
Sep 28, 2021

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented Sep 27, 2021

When alpha shuts down, we were earlier not waiting for the pending queries to process. We should wait for some time for those queries to complete processing. This also helps us prevent unpleasant harmless panics caused due to those pending queries as they access the DB in the closed state.


This change is Reviewable

@NamanJain8 NamanJain8 merged commit ebf8bd6 into master Sep 28, 2021
@NamanJain8 NamanJain8 deleted the naman/fix-queries-on-stop branch September 28, 2021 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants