Error in logs after PD scale-in: Unable to connect to the decommissioned PD node

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

Original topic: pd缩容后日志报错无法连接到下线的pd节点

| username: TiDBer_yUoxD0vR

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Problem Phenomenon and Impact]
The PD node (192.168.133.113:2379) went offline, but the logs of other PD nodes kept reporting errors that they couldn’t connect to this node. The error only disappeared after restarting the PD nodes. Can’t PD detect that a PD node has gone offline? Using pt-ctl shows no offline nodes.
[WARN] [grpclog.go:60] [“grpc: addrConn.createTransport failed to connect to {192.168.133.113:2379 0 }. Err: connection error: desc = "transport: Error while dialing dial tcp 192.168.133.113:2379: connect: connection refused". Reconnecting…”]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]

| username: hey-hoho | Original post link

Indicate the version used.
Also, how do you perform the offline operation? Please paste the output result of tiup display.

| username: redgame | Original post link

Is there an error in this WRAN context?

| username: tidb菜鸟一只 | Original post link

Is PD scaling down done through TiUP?

| username: TiDBer_yUoxD0vR | Original post link

version: v3.0.13
Based on this scaling down
https://docs.pingcap.com/zh/tidb/v3.0/scale-tidb-using-ansible

| username: 小王同学Plus | Original post link

There might be some residual old PD node information. You can troubleshoot according to this post: pd日志报grpc: addrConn.createTransport failed to connect to - #34,来自 zhenjiaogao - TiDB 的问答社区

The cluster version is also relatively low. It is strongly recommended to use TiUP to manage the cluster. Ansible for cluster management is no longer being updated. If any issues arise during use, you may need to troubleshoot based on the Ansible scripts yourself.

Thank you.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.