-
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
Use transaction_isolation vs tx_isolation #17845
base: main
Are you sure you want to change the base?
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
|
Thanks, @corbantek ! There are several other uses, so it would be good to change them all if you don't mind:
|
Oh good find. I only searched in the |
go/vt/sqlparser/normalizer_test.go
Outdated
`SELECT d_next_o_id, d_tax | ||
FROM district%d | ||
WHERE d_w_id = %d | ||
`SELECT d_next_o_id, d_tax |
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.
Hmm, my IDE didn't even show these changes going out, let me see if the tests break...
Hmm a bunch of test failures, but its hard (for me to determine the cause...). Going to try to get these tests running locally for me, if not, I'll maybe submit a file change (one at a time) and narrow it down that way... |
- tx_isolation was deprectated/deleted in MySQL 8.0 - transaction_isolation is backwards compatible with MySQL 5.7.20+ Signed-off-by: Kyle Johnson <[email protected]>
Signed-off-by: Kyle Johnson <[email protected]>
…solation`" This reverts commit ed03051. Signed-off-by: Kyle Johnson <[email protected]>
ed03051
to
07bdf26
Compare
I've run the test locally and its not obvious what test is actually failing. This is my first time debugging vitess unit/system tests and I just shows failed but from the mysql process, so not much help. Locally I reverted and ran the tests and still got some oddball failures. Nothing is consistent from run to run, so I'm going to just introduce a file at a time to see what breaks... |
Signed-off-by: Kyle Johnson <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17845 +/- ##
==========================================
+ Coverage 67.45% 67.47% +0.01%
==========================================
Files 1594 1594
Lines 259064 259064
==========================================
+ Hits 174760 174797 +37
+ Misses 84304 84267 -37 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Kyle Johnson <[email protected]>
Signed-off-by: Kyle Johnson <[email protected]>
Description
Related Issue(s)
Fixes Bug Report: Switch from tx_isolation to transaction_isolation
Checklist
Deployment Notes
None