Owner met ErrSchemaStorageTableMiss error in integration test changefeed_pause_resume #2422
Closed
Description
opened on Jul 30, 2021
Bug Report
Please answer these questions before submitting your issue. Thanks!
- 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 https://github.com/pingcap/ticdc/pull/2417, which will block the PR merge.
-
What did you expect to see?
CI runs successfully.
-
What did you see instead?
CI failure
-
Versions of the cluster
-
TiCDC version (execute
cdc version
):master@e85446da01c05ffae0b320be49c19d4aed572269
-
Activity