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

Query Cancel Cause Many Retries in the Resource Controller #8217

Closed
nolouch opened this issue May 27, 2024 · 0 comments · Fixed by #8219
Closed

Query Cancel Cause Many Retries in the Resource Controller #8217

nolouch opened this issue May 27, 2024 · 0 comments · Fixed by #8219
Assignees
Labels
affects-7.1 affects-7.5 affects-8.1 severity/major The issue's severity is major. type/bug The issue is confirmed as a bug.

Comments

@nolouch
Copy link
Contributor

nolouch commented May 27, 2024

Bug Report

What did you do?

 set @@global.max_execution_time = 100;
 alter resource group rg1 RU_PER_SEC=500

run sysbench

sysbench --mysql-user=user1 --mysql-host=127.0.0.1 --mysql-port=30306 --table-size=10000000 --mysql-db=rg_sbtest_32_10000000 oltp_read_write run --time=100000 --report-interval=1 --threads=20   --tables=32 --mysql-ignore-errors=1105,3024,2013,0 --db-driver=mysql

What did you expect to see?

no retires in resource control

What did you see instead?

image

What version of PD are you using (pd-server -V)?

master

@nolouch nolouch added the type/bug The issue is confirmed as a bug. label May 27, 2024
@github-actions github-actions bot added this to Need Triage in Questions and Bug Reports May 27, 2024
@nolouch nolouch added the severity/major The issue's severity is major. label May 27, 2024
ti-chi-bot bot added a commit that referenced this issue May 28, 2024
close #8217

controller: fix error retry and add more metrics

Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Questions and Bug Reports automation moved this from Need Triage to Closed May 28, 2024
ti-chi-bot pushed a commit to ti-chi-bot/pd that referenced this issue May 28, 2024
close tikv#8217

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@nolouch nolouch self-assigned this May 28, 2024
ti-chi-bot bot pushed a commit that referenced this issue May 28, 2024
close #8217

controller: fix error retry and add more metrics

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: ShuNing <nolouch@gmail.com>
Co-authored-by: nolouch <nolouch@gmail.com>
ti-chi-bot bot pushed a commit to pingcap/tidb that referenced this issue May 29, 2024
ti-chi-bot pushed a commit to ti-chi-bot/pd that referenced this issue May 30, 2024
close tikv#8217

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot pushed a commit to ti-chi-bot/pd that referenced this issue May 30, 2024
close tikv#8217

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot bot pushed a commit that referenced this issue May 31, 2024
close #8217

controller: fix error retry and add more metrics

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: ShuNing <nolouch@gmail.com>
Co-authored-by: nolouch <nolouch@gmail.com>
ti-chi-bot bot pushed a commit that referenced this issue May 31, 2024
close #8217

controller: fix error retry and add more metrics

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: ShuNing <nolouch@gmail.com>
Co-authored-by: nolouch <nolouch@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.1 affects-7.5 affects-8.1 severity/major The issue's severity is major. type/bug The issue is confirmed as a bug.
Projects
Development

Successfully merging a pull request may close this issue.

1 participant