Skip to content
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) #42368

Conversation

TangSiyang2001
Copy link
Collaborator

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.
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@TangSiyang2001
Copy link
Collaborator Author

run buildall

@dataroaring dataroaring merged commit 82e5fd7 into apache:branch-2.0 Oct 24, 2024
22 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants