-
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
*: implement chunk rpc encoding for unistore #35114
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
@@ -140,7 +140,6 @@ type selectResult struct { | |||
feedback *statistics.QueryFeedback | |||
partialCount int64 // number of partial results. | |||
sqlType string | |||
encodeType tipb.EncodeType |
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.
There is already a encodeType
in this.selectResp.DAGRequest
This field is duplicated...
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/4f497bc7ab2ccc27bf4a91c70c017c93fd55d612 |
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
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 4f511c7
|
/rebuild |
/merge |
/run-all-tests |
/run-build |
/run-mysql-test |
/hold |
/unhold |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 4f497bc
|
TiDB MergeCI notify
|
What problem does this PR solve?
Issue Number: close #35113
Problem Summary:
What is changed and how it works?
The old implementation just ignore the encode type of the coprocessor request, and use the default encoding for the response.
I make some tiny changes to support returning coprocessor response in chunk encoding.
Check List
Tests
Reuse all the old tests ...
Just set
CreateSession4Test
to usedefault | chunk
encoding randomly.Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.