Drainer remains Pending Offline and cannot be removed after scaling down

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

Original topic: drainer 缩容后一直 Pending Offline无法移除

| username: 像风一样的男子

【TiDB Usage Environment】
uat

【TiDB Version】
5.4.0

【Encountered Problem】

After executing tiup cluster scale-in for the drainer node in the cluster, it remains in Pending Offline status and cannot be removed.
【Problem Phenomenon and Impact】

What should I do to remove this drainer?

| username: hey-hoho | Original post link

You need to use binlogctl to operate:

| username: songxuecheng | Original post link

Please provide the drainer logs.

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

After scaling in the cluster with tiup, the service stopped.

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

It is already in Pending Offline status, the above operations are no longer possible.

| username: songxuecheng | Original post link

Try running tiup cluster scale-in -N xxxx:8249 --force again.

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

Got it, thanks.