-
Notifications
You must be signed in to change notification settings - Fork 728
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
add index failed with error “request pd http api failed with status: '500 Internal Server Error', body: '[PD:apiutil:ErrRedirect]redirect failed” when kill pd leader #8499
Comments
/severity major |
/assign JmPotato |
/remove-label may-affects-5.4 |
/label affects-8.1 |
/remove-label may-affects-8.1 |
@Lily2025: These labels are not set on the issue: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
ref #8142, close #8499 Due to the return of historical errors causing the client's retry logic to fail, and since we currently do not need to obtain all errors during retries, this PR removes `multierr` from backoffer and add tests to ensure the correctness of the retry logic. Signed-off-by: JmPotato <ghzpotato@gmail.com> Co-authored-by: JmPotato <ghzpotato@gmail.com>
Bug Report
What did you do?
1、tidb_enable_dist_task='on'
2、run sysbench
3、add index for one table
4、kill pd leader
What did you expect to see?
add index can success
What did you see instead?
add index failed with error “request pd http api failed with status: '500 Internal Server Error', body: '[PD:apiutil:ErrRedirect]redirect failed”
What version of PD are you using (
pd-server -V
)?./pd-server -V
Release Version: v8.1.1
Edition: Community
Git Commit Hash: 3d11c4d
Git Branch: HEAD
UTC Build Time: 2024-08-05 12:23:13
2024-08-06T06:24:22.864+0800
The text was updated successfully, but these errors were encountered: