-
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
DDL allowed outside of transaction in vttablet #16661
Conversation
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
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #16661 +/- ##
==========================================
+ Coverage 68.92% 68.94% +0.01%
==========================================
Files 1565 1565
Lines 201682 201748 +66
==========================================
+ Hits 139010 139089 +79
+ Misses 62672 62659 -13 ☔ View full report in Codecov by Sentry. |
172ac61
to
f1fa115
Compare
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
…d targeting Signed-off-by: Harshit Gangal <harshit@planetscale.com>
f1fa115
to
59c8346
Compare
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
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.
Makes sense to me.
Description
This PR is follow up on #14110
It basically adds a check to disallow DDL execution inside an ongoing transaction.
VTGate is suppose to implicit commit the existing transaction before sending the DDL statement down to vttablet.
VTGate did not handle the case on shard targeting. It is covered now in this PR.
Related Issue(s)
Checklist
Deployment Notes