TiDB v6.1.0 Expansion CDC Failure

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TiDB v6.1.0 扩容cdc失败

| username: lezhang0912

[Test Environment for TiDB] Testing CentOS7.6 x86_64 Hardware Environment
[TiDB Version] v6.1.0
[Encountered Issue: Phenomenon and Impact] After expanding the TiDB v6.1.0 cluster by adding two new CDC nodes, the first CDC is in a down state while the second is up. Restarting the first CDC using the tiup cluster start command still results in a down state. Checking the CDC logs shows initialization failure and failure to obtain metadata from PD. After scaling down the down node and re-expanding the CDC component on that node, the expansion still fails. Has anyone encountered this issue?

| username: xfworld | Original post link

Is it caused by a disconnection with PD?

| username: TiDBer_JUi6UvZm | Original post link

What do the logs of the faulty CDC and PD say?

| username: 像风一样的男子 | Original post link

Is the CDC node connected to the PD network?

| username: lezhang0912 | Original post link

It’s connected.

| username: lezhang0912 | Original post link

The network is connected.

| username: lezhang0912 | Original post link

CDC log shows initialization failed, failed to obtain metadata from PD.

| username: DBAER | Original post link

Please provide the specific logs for review.

| username: 数据库真NB | Original post link

What is the error when fetching PD metadata?

| username: xiaoqiao | Original post link

Check the logs.