-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Skip FOR...UPDATE Clause in Warming Reads Queries #19060
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
base: main
Are you sure you want to change the base?
Skip FOR...UPDATE Clause in Warming Reads Queries #19060
Conversation
Signed-off-by: Emily Signorelli <[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
|
|
📝 Documentation updates detected! New suggestion: Document warming reads feature and SELECT...FOR UPDATE exclusion |
…ntirely Signed-off-by: Emily Signorelli <[email protected]>
…eads Signed-off-by: Emily Signorelli <[email protected]>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #19060 +/- ##
==========================================
- Coverage 69.90% 69.90% -0.01%
==========================================
Files 1612 1612
Lines 215796 215814 +18
==========================================
+ Hits 150858 150868 +10
- Misses 64938 64946 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
We are addressing the bug involving SELECT...FOR UPDATE queries in warming reads which resulted in errors such as
Error 1290: The MySQL server is running with the --read-only option so it cannot execute this statementby removing the locks related to the "FOR UPDATE" clause in the warming read queriesWe tested this change at HubSpot on Vitess v22 and request a backport to that version for us to use
Related Issue(s)
Fixes #19059
Checklist
Deployment Notes
AI Disclosure
I wrote the primary change in routes.go. Claude Code was used in creating the tests. I reviewed all Claude-generated test code.