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 9172 #17

Draft
wants to merge 1 commit into
base: before-9172
Choose a base branch
from
Draft

TEST 9172 #17

wants to merge 1 commit into from

Conversation

CharlesCheung96
Copy link
Owner

@CharlesCheung96 CharlesCheung96 commented Jun 18, 2024

What problem does this PR solve?

Issue Number: close #xxx

What is changed and how it works?

➜  go test -timeout 30s -tags intest,deadlock -run ^TestTableExecutorAddingTableIndirectly$ github.com/pingcap/tiflow/cdc/processor -v  | grep ERROR
[2024/06/18 20:58:39.146 +08:00] [ERROR] [manager.go:941] ["sinkManager: resolved ts should not less than checkpoint ts"] [namespace=processor-test] [changefeed=processor-test] [span={table_id:1,start_key:7480000000000000ff015f720000000000fa,end_key:7480000000000000ff015f730000000000fa}] [resolvedTs=20] [checkpointTs="{\"Mode\":0,\"Ts\":101,\"BatchID\":18446744073709551615}"] [stack="github.com/pingcap/tiflow/cdc/processor/sinkmanager.(*SinkManager).GetTableStats\n\t/Users/charles/Documents/pingkai/test/cdc/processor/sinkmanager/manager.go:941\ngithub.com/pingcap/tiflow/cdc/processor.TestTableExecutorAddingTableIndirectly.func3\n\t/Users/charles/Documents/pingkai/test/cdc/processor/processor_test.go:309\ngithub.com/stretchr/testify/assert.Eventually.func1\n\t/Users/charles/go/pkg/mod/github.com/stretchr/testify@v1.8.2/assert/assertions.go:1737"]
[2024/06/18 20:58:39.248 +08:00] [ERROR] [manager.go:522] ["redo manager fails to close writer"] [namespace=] [changefeed=] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\t/Users/charles/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20221009092201-b66cddb77c32/errors.go:174\ngithub.com/pingcap/errors.Trace\n\t/Users/charles/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20221009092201-b66cddb77c32/juju_adaptor.go:15\ngithub.com/pingcap/tiflow/cdc/redo/writer/memory.(*fileWorkerGroup).bgFlushFileCache\n\t/Users/charles/Documents/pingkai/test/cdc/redo/writer/memory/file_worker.go:170\ngithub.com/pingcap/tiflow/cdc/redo/writer/memory.(*fileWorkerGroup).Run.func3\n\t/Users/charles/Documents/pingkai/test/cdc/redo/writer/memory/file_worker.go:152\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\t/Users/charles/go/pkg/mod/golang.org/x/sync@v0.2.0/errgroup/errgroup.go:75\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_arm64.s:1222"] [stack="github.com/pingcap/tiflow/cdc/redo.(*logManager).close\n\t/Users/charles/Documents/pingkai/test/cdc/redo/manager.go:522\ngithub.com/pingcap/tiflow/cdc/redo.(*logManager).Run\n\t/Users/charles/Documents/pingkai/test/cdc/redo/manager.go:265\ngithub.com/pingcap/tiflow/cdc/processor.(*component[...]).spawn.func1\n\t/Users/charles/Documents/pingkai/test/cdc/processor/processor.go:1009"]

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Questions

Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?

Release note

Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with `None`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant