You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Fix the follow issues found when enable paging by default in pr#35244
There are several kinds of coprocessor request, including DAG and others. admin check table/indexanalyze are not using DAG so they don't support paging
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: