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

add index failed with error '503 Service Unavailable' when kill pdleader #7673

Closed
Lily2025 opened this issue Jan 8, 2024 · 2 comments · Fixed by pingcap/tidb#50225
Closed
Assignees
Labels
affects-7.6 severity/major type/bug The issue is confirmed as a bug.

Comments

@Lily2025
Copy link

Lily2025 commented Jan 8, 2024

Bug Report

What did you do?

1、run add index or import into
2、kill pdleader or inject pd leader network partition last for 1mins

What did you expect to see?

add index or import into can success

What did you see instead?

add index failed with error '503 Service Unavailable' when kill pdleader

add index failed at 2024-01-05 17:44:10
Error 1105 (HY000): request pd http api failed with status: '503 Service Unavailable'

tidb logs:
tidb-0-503.txt
tidb-1-503.txt

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

./pd-server -V
Release Version: v7.6.0-alpha
Edition: Community
Git Commit Hash: c3ad361
Git Branch: heads/refs/tags/v7.6.0-alpha
UTC Build Time: 2024-01-05 11:36:37
2024-01-06T15:09:48.760+0800

@Lily2025 Lily2025 added the type/bug The issue is confirmed as a bug. label Jan 8, 2024
@Lily2025
Copy link
Author

Lily2025 commented Jan 8, 2024

/severity major

@Lily2025
Copy link
Author

Lily2025 commented Jan 8, 2024

/assign HuSharp

@Lily2025 Lily2025 changed the title add index or import into failed with error '500 Internal Server Error' or '500 Internal Server Error' when kill pdleader add index or import into failed with error '503 Service Unavailable' or '500 Internal Server Error' when kill pdleader Jan 8, 2024
@Lily2025 Lily2025 changed the title add index or import into failed with error '503 Service Unavailable' or '500 Internal Server Error' when kill pdleader add index failed with error '503 Service Unavailable' when kill pdleader Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.6 severity/major type/bug The issue is confirmed as a bug.
Projects
Development

Successfully merging a pull request may close this issue.

4 participants