-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](query-forward) Fix forward query exception or stuck or potentia…
…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.
- Loading branch information
1 parent
c1bc061
commit 82e5fd7
Showing
3 changed files
with
25 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters