-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
CLUSTER_INFO system table may not work after PD is scaled-in #18990
Comments
Friendly hint: According to current code base, the scaled-out PD node may be displayed improperly as well. |
alkaid will fix it :) |
when I try to scale in 3 tidb,I found |
CLSUTER_INFO is based on some reporting items from TiDB with a lease, how about the result after 1 minute? |
The |
@jyz0309 Good catch, go on and discover why |
Not fixed yet |
Please edit this comment or add a new comment to complete the following informationBugNote: Make Sure that 'component', and 'severity' labels are added 1. Root Cause Analysis (RCA) (optional)TiDB uses etcd address in CLI, which is unchanged when PD has dynamic member change. 2. Symptom (optional)Query INFORMATION_SCHEMA.CLUSTER_INFO will fail. In TiDB Dashboard, cluster info page may fail. 3. All Trigger Conditions (optional)Scale-in PD. 4. Workaround (optional)
5. Affected versions[v4.0.1:v4.0.6] 6. Fixed versionsv4.0.7 |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Scale-in PD.
2. What did you expect to see? (Required)
Successfully query INFORMATION_SCHEMA.CLUSTER_INFO
3. What did you see instead (Required)
It tries to access a PD that no longer exists. dial tcp xxxx: connect: connection refused
4. Affected version (Required)
v4.0.4
5. Root Cause Analysis
The text was updated successfully, but these errors were encountered: