重新scale-out 了cdc ,list可以看到已有的changefeed的,是可以remove掉的。
[tidb@tidb01 ~]$ tiup cdc cli changefeed list --server=http://192.168.2.72:8300
Starting component cdc: /home/tidb/.tiup/components/cdc/v8.5.2/cdc cli changefeed list --server=http://192.168.2.72:8300
[
{
"id": "pingcap-01",
"namespace": "default",
"summary": {
"state": "failed",
"tso": 461985127723696129,
"checkpoint": "2025-11-05 17:03:23.487",
"error": {
"time": "2025-11-10T09:18:50.045020616+08:00",
"addr": "192.168.2.72:8300",
"code": "CDC:ErrGCTTLExceeded",
"message": "[CDC:ErrGCTTLExceeded]the checkpoint-ts(461985127723696129) lag of the changefeed(default/pingcap-01) has exceeded the GC TTL and the changefeed is blocking global GC progression"
}
}
}
]
[tidb@tidb01 ~]$
[tidb@tidb01 ~]$
[tidb@tidb01 ~]$ tiup cdc cli changefeed remove --server=http://192.168.2.72:8300 -c pingcap-01
Starting component cdc: /home/tidb/.tiup/components/cdc/v8.5.2/cdc cli changefeed remove --server=http://192.168.2.72:8300 -c pingcap-01
Changefeed remove successfully.
ID: pingcap-01
CheckpointTs: 461985127723696129
SinkURI: mysql://rep_drainer:xxxxx@192.168.2.82:4000/
[tidb@tidb01 ~]$