-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](query-forward) Fix forward query exception or stuck or potential query result loss #41303
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
[fix](query-forward) Fix forward query exception or stuck or potential query result loss #41303
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
TPC-H: Total hot run time: 40710 ms |
TPC-DS: Total hot run time: 191664 ms |
ClickBench: Total hot run time: 31.28 s |
dd7ff78 to
4fbc268
Compare
|
run buildall |
4fbc268 to
e940e2d
Compare
|
run buildall |
|
run buildall |
|
run cloud_p0 |
9c66981 to
94474bf
Compare
94474bf to
01a6fe5
Compare
|
run buildall |
TPC-H: Total hot run time: 40876 ms |
TPC-DS: Total hot run time: 191541 ms |
ClickBench: Total hot run time: 32.24 s |
|
run buildall |
TPC-H: Total hot run time: 40629 ms |
TPC-DS: Total hot run time: 192089 ms |
ClickBench: Total hot run time: 33.06 s |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
dataroaring
left a comment
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.
LGTM
…l query result loss (apache#41303) 1. Fix forward query exception if no status code is set in master execution. EOF may result in this status. 2. Fix forward query stuck due to no result packet sent to mysql channel. Should use result packets from master. 3. Fix potential forward query result loss if follower can read status change during query process. Should judge by the status once before execution. 4. Add assertion for regression test.
…l query result loss (apache#41303) 1. Fix forward query exception if no status code is set in master execution. EOF may result in this status. 2. Fix forward query stuck due to no result packet sent to mysql channel. Should use result packets from master. 3. Fix potential forward query result loss if follower can read status change during query process. Should judge by the status once before execution. 4. Add assertion for regression test.
…l query result loss (#41303) (#42368) ## Proposed changes 1. Fix forward query exception if no status code is set in master execution. EOF may result in this status. 2. Fix forward query stuck due to no result packet sent to mysql channel. Should use result packets from master. 3. Fix potential forward query result loss if follower can read status change during query process. Should judge by the status once before execution. 4. Add assertion for regression test.
…l query result loss (apache#41303) 1. Fix forward query exception if no status code is set in master execution. EOF may result in this status. 2. Fix forward query stuck due to no result packet sent to mysql channel. Should use result packets from master. 3. Fix potential forward query result loss if follower can read status change during query process. Should judge by the status once before execution. 4. Add assertion for regression test.
…l query result loss (apache#41303) (apache#185) 1. Fix forward query exception if no status code is set in master execution. EOF may result in this status. 2. Fix forward query stuck due to no result packet sent to mysql channel. Should use result packets from master. 3. Fix potential forward query result loss if follower can read status change during query process. Should judge by the status once before execution. 4. Add assertion for regression test. Co-authored-by: Siyang Tang <82279870+TangSiyang2001@users.noreply.github.com>
…l query result loss (#41303) (#42382) ## Proposed changes 1. Fix forward query exception if no status code is set in master execution. EOF may result in this status. 2. Fix forward query stuck due to no result packet sent to mysql channel. Should use result packets from master. 3. Fix potential forward query result loss if follower can read status change during query process. Should judge by the status once before execution. 4. Add assertion for regression test.
…l query result loss (#41303) (#42369) ## Proposed changes 1. Fix forward query exception if no status code is set in master execution. EOF may result in this status. 2. Fix forward query stuck due to no result packet sent to mysql channel. Should use result packets from master. 3. Fix potential forward query result loss if follower can read status change during query process. Should judge by the status once before execution. 4. Add assertion for regression test.
Proposed changes
Fix forward query exception if no status code is set in master execution. EOF may result in this status.
Fix forward query stuck due to no result packet sent to mysql channel. Should use result packets from master.
Fix potential forward query result loss if follower can read status change during query process. Should judge by the status once before execution.
Add assertion for regression test.