Skip to content
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

Unified the cancal/kill logic in tidb. #47075

Closed
wshwsh12 opened this issue Sep 19, 2023 · 0 comments · Fixed by #47063
Closed

Unified the cancal/kill logic in tidb. #47075

wshwsh12 opened this issue Sep 19, 2023 · 0 comments · Fixed by #47063
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@wshwsh12
Copy link
Contributor

Enhancement

Currently there are many kinds of cancel/kill query logic in tidb, kill signal, max_excution_time, query_quota, global memory control..
They use different atomic variables, different checkpoints in the code, different exit methods (return err or panic).
They should be unified and we can exit the query as soon as possible.

@wshwsh12 wshwsh12 added the type/enhancement The issue or PR belongs to an enhancement. label Sep 19, 2023
@wshwsh12 wshwsh12 self-assigned this Sep 19, 2023
ti-chi-bot bot pushed a commit that referenced this issue Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant