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

Test fails due to get source id error "strconv.ParseUint: parsing \"\\x00\\x00\\x00\\x00\\x00\\x00\\x03\\xe8\": invalid syntax"" #8110

Closed
overvenus opened this issue Jan 19, 2023 · 1 comment · Fixed by #8126
Labels
area/ticdc Issues or PRs related to TiCDC. severity/minor type/bug The issue is confirmed as a bug.

Comments

@overvenus
Copy link
Member

What did you do?

Run integration tests.

What did you expect to see?

No test fails

What did you see instead?

[2023/01/19 21:23:00.203 +08:00] [ERROR] [changefeed.go:233] ["an error occurred in Owner"] [namespace=default] [changefeed=custom-changefeed-name] [error="[CDC:ErrPDEtcdAPIError]etcd api call error: strconv.ParseUint: parsing \"\\x00\\x00\\x00\\x00\\x00\\x00\\x03\\xe8\": invalid syntax"] [errorVerbose="[CDC:ErrPDEtcdAPIError]etcd api call error: strconv.ParseUint: parsing \"\\x00\\x00\\x00\\x00\\x00\\x00\\x03\\xe8\": invalid syntax
github.com/pingcap/errors.AddStack
	/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20220729040631-518f63d66278/errors.go:174
github.com/pingcap/errors.(*Error).GenWithStackByArgs
	/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20220729040631-518f63d66278/normalize.go:164
github.com/pingcap/tiflow/pkg/errors.WrapError
	/home/jenkins/agent/workspace/cdc_ghpr_kafka_integration_test/go/src/github.com/pingcap/tiflow/pkg/errors/helper.go:34
github.com/pingcap/tiflow/pkg/pdutil.GetSourceID
	/home/jenkins/agent/workspace/cdc_ghpr_kafka_integration_test/go/src/github.com/pingcap/tiflow/pkg/pdutil/utils.go:42
github.com/pingcap/tiflow/cdc/owner.(*changefeed).initialize
	/home/jenkins/agent/workspace/cdc_ghpr_kafka_integration_test/go/src/github.com/pingcap/tiflow/cdc/owner/changefeed.go:525
github.com/pingcap/tiflow/cdc/owner.(*changefeed).tick
	/home/jenkins/agent/workspace/cdc_ghpr_kafka_integration_test/go/src/github.com/pingcap/tiflow/cdc/owner/changefeed.go:286
github.com/pingcap/tiflow/cdc/owner.(*changefeed).Tick
	/home/jenkins/agent/workspace/cdc_ghpr_kafka_integration_test/go/src/github.com/pingcap/tiflow/cdc/owner/changefeed.go:213
github.com/pingcap/tiflow/cdc/owner.(*ownerImpl).Tick
	/home/jenkins/agent/workspace/cdc_ghpr_kafka_integration_test/go/src/github.com/pingcap/tiflow/cdc/owner/owner.go:222
github.com/pingcap/tiflow/pkg/orchestrator.(*EtcdWorker).Run
	/home/jenkins/agent/workspace/cdc_ghpr_kafka_integration_test/go/src/github.com/pingcap/tiflow/pkg/orchestrator/etcd_worker.go:290
github.com/pingcap/tiflow/cdc/capture.(*captureImpl).runEtcdWorker
	/home/jenkins/agent/workspace/cdc_ghpr_kafka_integration_test/go/src/github.com/pingcap/tiflow/cdc/capture/capture.go:516
github.com/pingcap/tiflow/cdc/capture.(*captureImpl).campaignOwner
	/home/jenkins/agent/workspace/cdc_ghpr_kafka_integration_test/go/src/github.com/pingcap/tiflow/cdc/capture/capture.go:479
github.com/pingcap/tiflow/cdc/capture.(*captureImpl).run.func2
	/home/jenkins/agent/workspace/cdc_ghpr_kafka_integration_test/go/src/github.com/pingcap/tiflow/cdc/capture/capture.go:344
golang.org/x/sync/errgroup.(*Group).Go.func1
	/go/pkg/mod/golang.org/x/sync@v0.1.0/errgroup/errgroup.go:75
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1594"]

Versions of the cluster

TiCDC version (execute cdc version):

master branch 2023-01-19
@overvenus overvenus added type/bug The issue is confirmed as a bug. severity/minor area/ticdc Issues or PRs related to TiCDC. labels Jan 19, 2023
@overvenus
Copy link
Member Author

Looks like it is caused by tikv/pd#5830

ti-chi-bot pushed a commit that referenced this issue Jan 30, 2023
ti-chi-bot added a commit to tikv/pd that referenced this issue Feb 1, 2023
…anager (#5887)

ref #5851, ref #5886, ref pingcap/tiflow#8110

Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
ti-chi-bot added a commit to tikv/pd that referenced this issue Feb 2, 2023
close #5885, ref #5887, ref #5888, ref pingcap/tiflow#8110

The global config needs to support both names and configuration paths, not only for compatibility but also to make more sense.

Signed-off-by: husharp <jinhao.hu@pingcap.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
ti-chi-bot pushed a commit that referenced this issue Feb 8, 2023
asddongmen added a commit to asddongmen/tiflow that referenced this issue Feb 15, 2023
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. severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant