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

Backport: Gracefully shutdown VTGate instances #187

Conversation

brendar
Copy link

@brendar brendar commented Oct 1, 2024

Cherry-pick of vitessio@ad26d15

This is a workaround for vitessio#16840

This ensures that new transactions cannot be started during vtgate shutdown, which should reduce the number of transactions left open at shutdown. At that point only transactions which were started before the shutdown period would still be open, and we use a 10s shutdown period, so that should be very rare.

@brendar brendar merged commit 8ba1756 into v18.0.5-shopify-5-candidate Oct 2, 2024
206 of 207 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants