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 resource control feature implements quota limiter and scheduling logic in the client-go and tikv side, it uses the resource group name in the kv request to identify the task attached resource group.
For most foreground SQLs, we set the resource-group-name parameter from the sessionctx but for DDL/Import like task, it uses a unified worker pool so the sessionctx's resource group is not the same as the user's session. We should attach the correct resource-group-name to let resource control feature work correctly.
The text was updated successfully, but these errors were encountered:
Development Task
The resource control feature implements quota limiter and scheduling logic in the client-go and tikv side, it uses the resource group name in the kv request to identify the task attached resource group.
For most foreground SQLs, we set the resource-group-name parameter from the sessionctx but for DDL/Import like task, it uses a unified worker pool so the sessionctx's resource group is not the same as the user's session. We should attach the correct resource-group-name to let resource control feature work correctly.
The text was updated successfully, but these errors were encountered: