-
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
Flaky TestRestart: give mysqlctld process time to shutdown #12799
Merged
rohit-nayak-ps
merged 2 commits into
vitessio:main
from
planetscale:rn-flaky-TestRestart
Apr 3, 2023
Merged
Flaky TestRestart: give mysqlctld process time to shutdown #12799
rohit-nayak-ps
merged 2 commits into
vitessio:main
from
planetscale:rn-flaky-TestRestart
Apr 3, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vitess-bot
bot
added
NeedsDescriptionUpdate
The description is not clear or comprehensive enough, and needs work
NeedsWebsiteDocsUpdate
What it says
labels
Mar 31, 2023
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
If a new flag is being introduced:
If a workflow is added or modified:
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
rohit-nayak-ps
added
Type: Bug
Component: Cluster management
Flakes
and removed
NeedsDescriptionUpdate
The description is not clear or comprehensive enough, and needs work
NeedsWebsiteDocsUpdate
What it says
labels
Mar 31, 2023
rohit-nayak-ps
force-pushed
the
rn-flaky-TestRestart
branch
from
March 31, 2023 19:35
a31755c
to
5a1cc77
Compare
… for delays in CI Signed-off-by: Rohit Nayak <rohit@planetscale.com>
|
rohit-nayak-ps
requested review from
rsajwani,
frouioui,
GuptaManan100 and
a team
April 1, 2023 10:01
mattlord
reviewed
Apr 1, 2023
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
mattlord
approved these changes
Apr 2, 2023
GuptaManan100
approved these changes
Apr 3, 2023
frouioui
approved these changes
Apr 3, 2023
I was unable to backport this Pull Request to the following branches: |
rohit-nayak-ps
added a commit
to planetscale/vitess
that referenced
this pull request
Apr 3, 2023
…12799) * Give mysqlctld time to shutdown properly before restarting to account for delays in CI Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Address review comments Signed-off-by: Rohit Nayak <rohit@planetscale.com> --------- Signed-off-by: Rohit Nayak <rohit@planetscale.com>
rsajwani
reviewed
Apr 3, 2023
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.
LGTM
rohit-nayak-ps
added a commit
that referenced
this pull request
Apr 6, 2023
* Initial commit. Added json support to tracked buffer. Moved FormatFloat and replication constants required for json parser into sqltypes. Currently has import cycles due to use of CellAlias in json parser Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Also add code to move vstreamer-side json binlog parser to use the new vitess json parser Signed-off-by: Rohit Nayak <rohit@planetscale.com> * mysql: extract binlog package Signed-off-by: Vicent Marti <vmg@strn.cat> * add missing license Signed-off-by: Vicent Marti <vmg@strn.cat> * Use Vitess json parser in VStreamer VEvents and VReplication DMLs. Store json values in a lossless manner using JSON_OBJECT/JSON_ARRAYs Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Remove unused code incorrectly added to TrackedBuffer Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Add table with json columns and multiple rows with a bunch of json strings as part of all vrep e2e tests Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Add json_tbl to second customer vschema Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Flaky TestRestart: give mysqlctld process time to shutdown (#12799) * Give mysqlctld time to shutdown properly before restarting to account for delays in CI Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Address review comments Signed-off-by: Rohit Nayak <rohit@planetscale.com> --------- Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Add e2e tests for geometry columns. Make geometry byte comparable to fix vdiff failure Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Add tests with nested json docs. Remove GEOMETRY from TestConsistentLookupUpdateBecauseUncomparableTypes Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Fix expected json value for TestMessage to account for the additional space b/w key and value added by the new serialization Signed-off-by: Rohit Nayak <rohit@planetscale.com> --------- Signed-off-by: Rohit Nayak <rohit@planetscale.com> Signed-off-by: Vicent Marti <vmg@strn.cat> Co-authored-by: Vicent Marti <vmg@strn.cat>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
TestRestart
is flaky. Themysqlctld
process is first stopped and then restarted. However the restart finds that the process teardown has not been fully complete.Adding a wait, in case there is a contributing delay in CI between the time the process is stopped and the mysqlctld goroutine actually gets the signal and is scheduled to terminate.
Related Issue(s)
Checklist