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

[CDC:ErrCheckClusterVersionFromPD]failed to request PD%!(EXTRA string=response status: 503 Service Unavailable) #4341

Closed
Tammyxia opened this issue Jan 15, 2022 · 0 comments · Fixed by #4435
Assignees
Labels
area/ticdc Issues or PRs related to TiCDC. component/cli CLI component. found/automation Bugs found by automation cases severity/moderate type/bug The issue is confirmed as a bug.

Comments

@Tammyxia
Copy link

What did you do?

  • 4 pd, 2 tidb, 7 tikv, 2 cdc
  • test infra case: 360 pd_leader_switch_changefeed_admin_sync
  • when pd leader switch one by one,meanwhile changefeed pause/resume

What did you expect to see?

No response

What did you see instead?

  • cli chnangefeed resume failed:

2022-01-14T19:16:51.039Z INFO host/ticdc.go:220 Execute command on ticdc {"command": "/cdc cli changefeed resume "--pd=http://upstream-pd.cdc-qihoo-360-testbed-tps-600887-1-433:2379\" "--changefeed-id=qihoo360-mysql-task"", "timeout": "10s", "ticdc peer": 0}
[2022/01/14 19:16:51.050 +00:00] [INFO] [pd.go:32] ["pd leader"] [leader-name=upstream-pd-2]
[2022/01/14 19:16:51.553 +00:00] [INFO] [pd.go:46] ["transfer pd leader success"] [leader-name=upstream-pd-1]
[2022/01/14 19:16:52.215 +00:00] [ERROR] [ticdc.go:61] ["run changefeed operation failed"] [output="{stdout: Usage:\n cdc cli changefeed resume [flags]\n\nFlags:\n -c, --changefeed-id string Replication task (changefeed) ID\n -h, --help help for resume\n --no-confirm Don't ask user whether to ignore ineligible table\n\nGlobal Flags:\n --ca string CA certificate path for TLS connection\n --cert string Certificate path for TLS connection\n -i, --interact Run cdc cli with readline\n --key string Private key path for TLS connection\n --log-level string log level (etc: debug|info|warn|error) (default "warn")\n --pd string PD address, use ',' to separate multiple PDs (default "http://127.0.0.1:2379"), stderr: Error: [CDC:ErrCheckClusterVersionFromPD]failed to request PD%!(EXTRA string=response status: 503 Service Unavailable)\n[CDC:ErrCheckClusterVersionFromPD]failed to request PD%!(EXTRA string=response status: 503 Service Unavailable), ExitCode: 1"] [stack="github.com/pingcap/test-infra/caselib/pkg/host.(*TiCDCHost).ChangeFeed\n\t/Users/lixia/source-code/test-infra/caselib/pkg/host/ticdc.go:61\ngithub.com/pingcap/test-infra/caselib/pkg/steps.(*changeFeedTask).Execute\n\t/Users/lixia/source-code/test-infra/caselib/pkg/steps/changefeed.go:49\ngithub.com/pingcap/test-infra/caselib/pkg/steps.(*loopTask).Execute\n\t/Users/lixia/source-code/test-infra/caselib/pkg/steps/task.go:95\ngithub.com/pingcap/test-infra/caselib/pkg/steps.(*Parallel).Execute.func1\n\t/Users/lixia/source-code/test-infra/caselib/pkg/steps/step.go:69\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\t/Users/lixia/go/pkg/mod/golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57"]

Versions of the cluster

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

5.4.0

TiCDC version (execute cdc version):

5.4.0
@Tammyxia Tammyxia added type/bug The issue is confirmed as a bug. area/ticdc Issues or PRs related to TiCDC. severity/moderate labels Jan 15, 2022
@overvenus overvenus added the component/cli CLI component. label Jan 17, 2022
@overvenus overvenus self-assigned this Jan 17, 2022
@cyliu0 cyliu0 added the found/automation Bugs found by automation cases label Jan 20, 2022
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. component/cli CLI component. found/automation Bugs found by automation cases severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants