Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: cdc v6.2.0 查看任务、删除任务等操作异常 Error: election: no leader

【TiDB Usage Environment】Production
【TiDB Version】v5.3.0
【Encountered Issue】
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: cdc v6.2.0 查看任务、删除任务等操作异常 Error: election: no leader
【TiDB Usage Environment】Production
【TiDB Version】v5.3.0
【Encountered Issue】
Starting from version 6.2.0, it is recommended to use --server=cdc address instead of --pd=pd address for cli changefeed operations.
You can see in the cli changefeed --help that there is a prompt: --pd is deprecated, please use parameter --server instead.