Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli_changefeed_update report pd is an unsupported flag #2803

Closed
XuJianxu opened this issue Sep 13, 2021 · 4 comments · Fixed by #2827
Closed

cli_changefeed_update report pd is an unsupported flag #2803

XuJianxu opened this issue Sep 13, 2021 · 4 comments · Fixed by #2827
Assignees
Labels
area/ticdc Issues or PRs related to TiCDC. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. severity/minor type/bug The issue is confirmed as a bug.

Comments

@XuJianxu
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.
    Use update to update changefeed
    "/cdc cli changefeed update "--pd=http://upstream-pd.testbed-jianxu-bggzq.svc:2379\" "--changefeed-id=basic-incremental-sync-1" "--no-confirm" "--config=/tmp/changefeed.toml""
  2. What did you expect to see?
    no error happened
  3. What did you see instead?
    "/cdc cli changefeed update "--pd=http://upstream-pd.testbed-jianxu-bggzq.svc:2379\" "--changefeed-id=basic-incremental-sync-1" "--no-confirm" "--config=/tmp/changefeed.toml""

{"stdout": "[2021/09/13 08:43:15.769 +00:00] [WARN] [cli_changefeed_update.go:195] ["unsupported flag, please report a bug"] [flagName=pd]
4. Versions of the cluster

- Upstream TiDB cluster version (execute `SELECT tidb_version();` in a MySQL client):

    ```
    nightly
    ```

- TiCDC version (execute `cdc version`):

    ```
    nightly
    ```
@XuJianxu XuJianxu added type/bug The issue is confirmed as a bug. severity/minor labels Sep 13, 2021
@Rustin170506
Copy link
Member

/assign

@Rustin170506 Rustin170506 added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Sep 13, 2021
@Rustin170506
Copy link
Member

We need to ignore these global parameters here.

If anyone would like to help fix it, I'd be happy to offer my help.

/unassign

@Rustin170506
Copy link
Member

/assign

@Rustin170506
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ticdc Issues or PRs related to TiCDC. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants