-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](cancel) Fix cancel msg on branch-2.1 #41798
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
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
e760929 to
18b899a
Compare
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
3 similar comments
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |
17f3e61 to
8a5e3c1
Compare
|
run buildall |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
pick fix apache#41798 on master.
Make sure we can tell cancel reason from: 1. user cancel 2. timeout 3. others ```text mysql [demo]>set query_timeout=1; -------------- set query_timeout=1 -------------- Query OK, 0 rows affected (0.00 sec) mysql [demo]>select sleep(5); -------------- select sleep(5) -------------- ERROR 1105 (HY000): errCode = 2, detailMessage = Timeout mysql [demo]>select sleep(5); -------------- select sleep(5) -------------- ^C^C -- sending "KILL QUERY 0" to server ... ^C -- query aborted ERROR 1105 (HY000): errCode = 2, detailMessage = cancel query by user from 127.0.0.1:64208 ```
Make sure we can tell cancel reason from: 1. user cancel 2. timeout 3. others ```text mysql [demo]>set query_timeout=1; -------------- set query_timeout=1 -------------- Query OK, 0 rows affected (0.00 sec) mysql [demo]>select sleep(5); -------------- select sleep(5) -------------- ERROR 1105 (HY000): errCode = 2, detailMessage = Timeout mysql [demo]>select sleep(5); -------------- select sleep(5) -------------- ^C^C -- sending "KILL QUERY 0" to server ... ^C -- query aborted ERROR 1105 (HY000): errCode = 2, detailMessage = cancel query by user from 127.0.0.1:64208 ``` Conflicts: fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
Related PR: apache#41798 Problem Summary: apache#41798 does not set cancel reason if query is timeout on fe.
Make sure we can tell cancel reason from: