-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add release notes for the new connection drain (+ use dashes instead of underscore) #16334
Add release notes for the new connection drain (+ use dashes instead of underscore) #16334
Conversation
Signed-off-by: Florent Poinsard <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Signed-off-by: Florent Poinsard <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #16334 +/- ##
==========================================
- Coverage 68.72% 68.70% -0.03%
==========================================
Files 1547 1547
Lines 198290 198287 -3
==========================================
- Hits 136279 136229 -50
- Misses 62011 62058 +47 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had some suggestions, but up to you, whatever you prefer.
changelog/21.0/21.0.0/summary.md
Outdated
We are adding a new way to terminate VTGate in v21 by using a connection drain timeout rather than an activity drain timeout. | ||
The goal of this new drain is to disallow new connections when VTGate is shutting down, but keep allowing idle/actives | ||
connections to execute queries until they disconnect or until the `--onterm_timeout` is reached. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are adding a new way to terminate VTGate in v21 by using a connection drain timeout rather than an activity drain timeout. | |
The goal of this new drain is to disallow new connections when VTGate is shutting down, but keep allowing idle/actives | |
connections to execute queries until they disconnect or until the `--onterm_timeout` is reached. | |
We added a new option to affect the VTGate shutdown process in v21 by using a connection drain timeout rather than the older activity drain timeout. The goal of this new connection draining option is to disallow new connections when VTGate is shutting down, but continue allowing existing connections to finish their in flight work, giving them up to `--onterm_timeout` to complete it. | |
This new behavior can be enabled by specifying the new `--mysql-server-drain-onterm` flag to VTGate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not follow the suggested text at 100%, but I improved it via 325c619, here is what I wrote:
We added a new option to affect the VTGate shutdown process in v21 by using a connection drain timeout rather than the older activity drain timeout.
The goal of this new behavior, connection draining option, is to disallow new connections when VTGate is shutting down,
but continue allowing existing connections to finish their work until they manually disconnect or until the `--onterm_timeout` timeout is reached,
without getting a `Server shutdown in progress` error.
This new behavior can be enabled by specifying the new `--mysql-server-drain-onterm` flag to VTGate.
Signed-off-by: Florent Poinsard <[email protected]>
Signed-off-by: Florent Poinsard <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope you got all references to the underscore version :)
The release notes + |
Signed-off-by: Florent Poinsard <[email protected]>
…of underscore) (vitessio#16334) Signed-off-by: Florent Poinsard <[email protected]>
Description
This PR adds the release notes for the changes implemented by #16298.
It also changes the flag to use dashes instead of underscores.
Related Issue(s)