-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
query killed by global memory controller unexpectedly #42662
Comments
This case has nothing to do with prepare and execute |
FYI, Tried go sql driver with prepared stmt, like this:
After the previous two queries failed due to "Out Of Memory Quota", the following ones executed successfully. |
Confirmed that it is killed by global memory controller: |
Confirmed that both this issue and #42664 can be reproduced by following steps:
|
The trigger for this issue is caused by the following reasons:
|
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Global memory controller killed a query successfully on the connection 8733482432075924065
But all the new queries sent to this connection are killed
I guess the NeedKill signal was not set to false on this connection.
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
["Release Version"=v6.5.0-20230228] [Edition=Enterprise] ["Git Commit Hash"=58fcf7b58ad717b61c3deeff0764f3a47246c5ed] ["Git Branch"=heads/refs/tags/v6.5.0-20230228] ["UTC Build Time"="2023-02-28 11:07:46"] [GoVersion=go1.19.5] ["Race Enabled"=false] ["Check Table Before Drop"=false] ["TiKV Min Version"=6.2.0-alpha]
The text was updated successfully, but these errors were encountered: