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

Lightning does not use auto-sync and fails when the PD cluster address changed #43436

Closed
lichunzhu opened this issue Apr 26, 2023 · 1 comment · Fixed by #45680 or #46726
Closed

Lightning does not use auto-sync and fails when the PD cluster address changed #43436

lichunzhu opened this issue Apr 26, 2023 · 1 comment · Fixed by #45680 or #46726
Assignees
Labels
affects-6.5 affects-7.1 affects-7.3 component/lightning This issue is related to Lightning of TiDB. severity/moderate type/bug The issue is confirmed as a bug.

Comments

@lichunzhu
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. Start a TiDB cluster with 3 PDs ① ② ③ and a Lightning connected
  2. Scale-out 3 more PDs ④ ⑤ ⑥
  3. Wait 31 seconds
  4. Scale-in the original PDs ① ② ③
  5. Wait 31 seconds
  6. Keep Lightning running.

2. What did you expect to see? (Required)

We make sure lightning succeed.

3. What did you see instead (Required)

Lightning will fail in some cases due to no valid pd-addr.

4. What is your TiDB version? (Required)

master

@lichunzhu lichunzhu added type/bug The issue is confirmed as a bug. severity/minor component/lightning This issue is related to Lightning of TiDB. affects-6.5 affects-7.1 labels Apr 26, 2023
@lance6716 lance6716 changed the title The etcd client to the registry of Lightning does not use auto-sync and fails when the PD cluster address changed Lightning does not use auto-sync and fails when the PD cluster address changed May 31, 2023
ti-chi-bot pushed a commit to ti-chi-bot/tidb that referenced this issue Aug 1, 2023
@lance6716 lance6716 reopened this Sep 6, 2023
@lance6716
Copy link
Contributor

lance6716 commented Sep 6, 2023

many PD address usages not removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 affects-7.1 affects-7.3 component/lightning This issue is related to Lightning of TiDB. severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
3 participants