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

exchange table partition failed #825

Closed
lidezhu opened this issue Jan 8, 2025 · 0 comments · Fixed by #833
Closed

exchange table partition failed #825

lidezhu opened this issue Jan 8, 2025 · 0 comments · Fixed by #833
Assignees

Comments

@lidezhu
Copy link
Collaborator

lidezhu commented Jan 8, 2025

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa584430]

goroutine 1184 [running]:
github.com/pingcap/ticdc/pkg/common.(*TableInfo).ShadowCopyColumnSchema(...)
/root/ticdc/pkg/common/table_info.go:376
github.com/pingcap/ticdc/logservice/schemastore.extractTableInfoFuncForExchangeTablePartition(0xc0080ee9c0, 0x8d)
/root/ticdc/logservice/schemastore/persist_storage_ddl_handlers.go:1206 +0xc70
github.com/pingcap/ticdc/logservice/schemastore.(*versionedTableInfoStore).doApplyDDL(0xc008503140, 0xc0080ee9c0)
/root/ticdc/logservice/schemastore/multi_version.go:224 +0x8e3
github.com/pingcap/ticdc/logservice/schemastore.(*versionedTableInfoStore).applyDDLFromPersistStorage(0xc008503140, 0xc0080ee9c0)
/root/ticdc/logservice/schemastore/multi_version.go:190 +0x137
github.com/pingcap/ticdc/logservice/schemastore.(*persistentStorage).buildVersionedTableInfoStore(0xc0037f0370, 0xc008503140)
/root/ticdc/logservice/schemastore/persist_storage.go:489 +0x3a5
github.com/pingcap/ticdc/logservice/schemastore.(*persistentStorage).registerTable(0xc0037f0370, 0x8d, 0x651148001bc0009)
/root/ticdc/logservice/schemastore/persist_storage.go:290 +0x557
github.com/pingcap/ticdc/logservice/schemastore.(*schemaStore).RegisterTable(0xc0041ffd60, 0x8d, 0x651148001bc0009)
/root/ticdc/logservice/schemastore/schema_store.go:233 +0x38d
github.com/pingcap/ticdc/pkg/eventservice.(*eventBroker).addDispatcher(0xc00181a8c0, {0xcda0740, 0xc0042246d8})
/root/ticdc/pkg/eventservice/event_broker.go:823 +0x11a8
github.com/pingcap/ticdc/pkg/eventservice.(*eventService).registerDispatcher(0xc004602fc0, {0xcd63640, 0xc001029d60}, {0xcda0740, 0xc0042246d8})
/root/ticdc/pkg/eventservice/event_service.go:145 +0x1ab
github.com/pingcap/ticdc/pkg/eventservice.(*eventService).Run(0xc004602fc0, {0xcd63640, 0xc001029d60})
/root/ticdc/pkg/eventservice/event_service.go:97 +0x285
github.com/pingcap/ticdc/server.(*server).Run.(*server).Run.func2.func3()
/root/ticdc/server/server.go:186 +0x1a4
golang.org/x/sync/errgroup.(*Group).Go.func1()
/root/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78 +0x92
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 562
/root/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x12

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

Successfully merging a pull request may close this issue.

1 participant