-
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
Make coprocessor paging as the default RPC protocol #35633
Labels
type/feature-request
Categorizes issue or PR as related to a new feature.
Comments
tiancaiamao
added
the
type/feature-request
Categorizes issue or PR as related to a new feature.
label
Jun 22, 2022
12 tasks
This was referenced Jun 30, 2022
'show stats_histograms' and 'admin checksum table' behaviour differ between tikv and unistore
#35833
Open
Closed
This was referenced Jul 8, 2022
6 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Jul 19, 2022
The internal test report here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
The background is that when we turn to use chunk encoding in the RPC, the grpc packet size become quite big.
A 96M region may amplify to 900M-1G when using chunk encoding.
And this account for some OOM issues.
So to alleviate the OOM cases, we have to avoid the grpc packet being too big.
One way is to use the coprocessor streaming, and the other way is coprocessor paging.
The streaming has some known issues and is lack of maintance, so it's deprecated #20759.
We have an internal doc about the details. The conclusion is that we'll turn to coprocessor paging and make it the default protocol.
Describe the feature you'd like:
This issue tracks the process of the development/testing.
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
Done
TODO
admin check table/index
analyze
are not using DAG so they don't support pagingINFORMATION_SCHEMA.CLUSTER_XXX
table use coprocessor request to query tidb instances, and tidb coprocessor doesn't support pagingIN REVIEW
WIP
The text was updated successfully, but these errors were encountered: