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

Owner met ErrSchemaStorageTableMiss error in integration test changefeed_pause_resume #2422

Closed
amyangfei opened this issue Jul 30, 2021 · 0 comments · Fixed by #2423
Closed
Assignees
Labels
area/ticdc Issues or PRs related to TiCDC. severity/major type/bug The issue is confirmed as a bug.

Comments

@amyangfei
Copy link
Contributor

amyangfei commented Jul 30, 2021

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.

Running integration test, met following error

[2021/07/30 12:25:01.639 +08:00] [ERROR] [changefeed.go:106] ["an error occurred in Owner"] [changefeedID=8b3466dd-58c0-4cfb-9fe6-1fbd2d1eb5bd] [error="[CDC:ErrSchemaStorageTableMiss]table 91 not found"] [errorVerbose="[CDC:ErrSchemaStorageTableMiss]table 91 not found\ngithub.com/pingcap/errors.AddStack\n\t/nfs/cache/mod/github.com/pingcap/errors@v0.11.5-0.20201126102027-b0a155152ca3/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\t/nfs/cache/mod/github.com/pingcap/errors@v0.11.5-0.20201126102027-b0a155152ca3/normalize.go:156\ngithub.com/pingcap/ticdc/cdc/entry.(*schemaSnapshot).PreTableInfo\n\t/home/jenkins/agent/workspace/cdc_ghpr_integration_test/go/src/github.com/pingcap/ticdc/cdc/entry/schema_storage.go:85\ngithub.com/pingcap/ticdc/cdc/owner.(*schemaWrap4Owner).BuildDDLEvent\n\t/home/jenkins/agent/workspace/cdc_ghpr_integration_test/go/src/github.com/pingcap/ticdc/cdc/owner/schema.go:110\ngithub.com/pingcap/ticdc/cdc/owner.(*changefeed).asyncExecDDL\n\t/home/jenkins/agent/workspace/cdc_ghpr_integration_test/go/src/github.com/pingcap/ticdc/cdc/owner/changefeed.go:376\ngithub.com/pingcap/ticdc/cdc/owner.(*changefeed).handleBarrier\n\t/home/jenkins/agent/workspace/cdc_ghpr_integration_test/go/src/github.com/pingcap/ticdc/cdc/owner/changefeed.go:332\ngithub.com/pingcap/ticdc/cdc/owner.(*changefeed).tick\n\t/home/jenkins/agent/workspace/cdc_ghpr_integration_test/go/src/github.com/pingcap/ticdc/cdc/owner/changefeed.go:150\ngithub.com/pingcap/ticdc/cdc/owner.(*changefeed).Tick\n\t/home/jenkins/agent/workspace/cdc_ghpr_integration_test/go/src/github.com/pingcap/ticdc/cdc/owner/changefeed.go:105\ngithub.com/pingcap/ticdc/cdc/owner.(*Owner).Tick\n\t/home/jenkins/agent/workspace/cdc_ghpr_integration_test/go/src/github.com/pingcap/ticdc/cdc/owner/owner.go:134\ngithub.com/pingcap/ticdc/pkg/orchestrator.(*EtcdWorker).Run\n\t/home/jenkins/agent/workspace/cdc_ghpr_integration_test/go/src/github.com/pingcap/ticdc/pkg/orchestrator/etcd_worker.go:165\ngithub.com/pingcap/ticdc/cdc/capture.(*Capture).runEtcdWorker\n\t/home/jenkins/agent/workspace/cdc_ghpr_integration_test/go/src/github.com/pingcap/ticdc/cdc/capture/capture.go:261\ngithub.com/pingcap/ticdc/cdc/capture.(*Capture).campaignOwner\n\t/home/jenkins/agent/workspace/cdc_ghpr_integration_test/go/src/github.com/pingcap/ticdc/cdc/capture/capture.go:240\ngithub.com/pingcap/ticdc/cdc/capture.(*Capture).run.func2\n\t/home/jenkins/agent/workspace/cdc_ghpr_integration_test/go/src/github.com/pingcap/ticdc/cdc/capture/capture.go:169\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371"]

This error will cause changefeed meets error and reloads. Besides this error happens more frequently in #2417, which will block the PR merge.

  1. What did you expect to see?

    CI runs successfully.

  2. What did you see instead?

    CI failure

  3. Versions of the cluster

    • TiCDC version (execute cdc version):

      master@e85446da01c05ffae0b320be49c19d4aed572269

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/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants