Inaccurate error message for PD address #1893
Labels
area/ticdc
Issues or PRs related to TiCDC.
severity/moderate
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
What did you do? If possible, provide a recipe for reproducing the error.
run the CDC cli with unreachable PD address
What did you expect to see?
What did you see instead?
the error message said: fail to open PD etcd client, pd-addr="http://127.0.0.1:2379"
but the flag for PD address is
--pd
.Versions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):TiCDC version (execute
cdc version
):The text was updated successfully, but these errors were encountered: