TiUP Scaling Down Hangs

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

Original topic: tiup 缩容 hang 死

| username: GreenGuan

tiup version v1.15.2

Background: Since TiDB and PD are on the same node, when that node fails (memory), both PD and TiDB cannot provide services, but the SSH network is accessible.

Phenomenon: tiup cluster scale-in xxx -N tidb --force gets stuck.

Solution: Shut down the problematic node, --force succeeds.

Suggestion: When the network is accessible, it will perform a check. When it cannot connect, it should clearly give an i/o timeout. --force should be an optional parameter during network checks, not a mandatory one.