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

PD leader is abnormal when rolling restart #7973

Open
CharlesCheung96 opened this issue Mar 22, 2024 · 0 comments
Open

PD leader is abnormal when rolling restart #7973

CharlesCheung96 opened this issue Mar 22, 2024 · 0 comments
Labels
affects-8.1 This bug affects the 8.1.x(LTS) versions. affects-8.5 This bug affects the 8.5.x(LTS) versions. may-affects-5.4 may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 severity/major type/bug The issue is confirmed as a bug.

Comments

@CharlesCheung96
Copy link

CharlesCheung96 commented Mar 22, 2024

Bug Report

What did you do?

  1. Deploy tidb cluster (with ticdc node) using operator.
  2. Rolling restart pd via configuration update.

What did you expect to see?

the cluster is normal

What did you see instead?

[2024/03/17 03:44:29.073 +00:00] [INFO] [server.go:1813] [\"no longer a leader because lease has expired, pd leader will step down\"]
  1. The session between PD and TiCDC is disconnected
[2024/03/17 03:44:31.716 +00:00] [WARN] [capture.go:604] ["session is disconnected"] [error="[CDC:ErrEtcdSessionDone]the etcd session is done"] [errorVerbose="[CDC:ErrEtcdSessionDone]the etcd session is done\[ngithub.com/pingcap/errors.AddStack\n\tgithub.com/pingcap/[email protected]/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\tgithub.com/pingcap/[email protected]/normalize.go:164\ngithub.com/pingcap/tiflow/pkg/orchestrator.(*EtcdWorker).Run\n\tgithub.com/pingcap/tiflow/pkg/orchestrator/etcd_worker.go:190\ngithub.com/pingcap/tiflow/cdc/capture.(*captureImpl).runEtcdWorker\n\tgithub.com/pingcap/tiflow/cdc/capture/capture.go:595\ngithub.com/pingcap/tiflow/cdc/capture.(*captureImpl).campaignOwner.func4\n\tgithub.com/pingcap/tiflow/cdc/capture/capture.go:531\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/[email protected]/errgroup/errgroup.go:78\nruntime.goexit\n\truntime/asm_amd64.s:1650](http://ngithub.com/pingcap/errors.AddStack/n/tgithub.com/pingcap/[email protected]/errors.go:174/ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs/n/tgithub.com/pingcap/[email protected]/normalize.go:164/ngithub.com/pingcap/tiflow/pkg/orchestrator.(*EtcdWorker).Run/n/tgithub.com/pingcap/tiflow/pkg/orchestrator/etcd_worker.go:190/ngithub.com/pingcap/tiflow/cdc/capture.(*captureImpl).runEtcdWorker/n/tgithub.com/pingcap/tiflow/cdc/capture/capture.go:595/ngithub.com/pingcap/tiflow/cdc/capture.(*captureImpl).campaignOwner.func4/n/tgithub.com/pingcap/tiflow/cdc/capture/capture.go:531/ngolang.org/x/sync/errgroup.(*Group).Go.func1/n/tgolang.org/x/[email protected]/errgroup/errgroup.go:78/nruntime.goexit/n/truntime/asm_amd64.s:1650)"]
  1. The session between PD and TiDB is disconnected
[2024/03/17 03:44:33.859 +00:00] [INFO] [manager.go:267] [\"etcd session is done, creates a new one\"] [\"owner info\"=\"[autoid] tidb/autoid/leader ownerManager upstream-tidb-1.upstream-tidb-peer.cdc-airbnb-simple-tian-gcp-tps-7500530-1-808.svc:10080\"]"}

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

6ee25f9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.1 This bug affects the 8.1.x(LTS) versions. affects-8.5 This bug affects the 8.5.x(LTS) versions. may-affects-5.4 may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 severity/major type/bug The issue is confirmed as a bug.
Projects
Status: Need Triage
Development

No branches or pull requests

3 participants