-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
DDL hangs, DML reports PD server timeout and many regions miss peers #22117
Comments
pd.log TiDB and TiKV log files are too big to upload. |
It seems these versions are totally different, I do not sure if they can work together. However I find some related log in pd
|
I think the pd can not work may caused by this, that the pd couldn't campaign his leader since the new leader's information is the same with the old deleted leader, and in this situtation and with only 1 PD, we shouldn't campaign again,related code https://github.com/tikv/pd/blob/master/server/member/member.go#L171?
|
It is not the critical reason, forget it. sorry |
Please edit this comment or add a new comment to complete the following informationNot a bug
Duplicate bug
BugNote: Make Sure that 'component', and 'severity' labels are added 1. Root Cause Analysis (RCA) (optional)After tikv/pd#3305, the id allocator will alloc duplicate id when restart, which let the regions have a hold. the key is located in the hold and will not found the corresponding region. 2. Symptom (optional)3. All Trigger Conditions (optional)region have duplicated ids. 4. Workaround (optional)5. Affected versionsmaster after tikv/pd#3305 6. Fixed versionsmaster after tikv/pd#3322 |
( FixedVersions AffectedVersions ) fields are empty. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
pd.toml
tidb.toml
tikv.toml
2. What did you expect to see? (Required)
The cluster works well after the chaos recover.
3. What did you see instead (Required)
The cluster does not work anymore.
4. What is your TiDB version? (Required)
pd
tidb
tikv
The text was updated successfully, but these errors were encountered: