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

DATA RACE found in dispatcher #838

Open
asddongmen opened this issue Jan 9, 2025 · 0 comments
Open

DATA RACE found in dispatcher #838

asddongmen opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@asddongmen
Copy link
Collaborator

==================
WARNING: DATA RACE
Read at 0x0000125f1910 by goroutine 738:
  github.com/pingcap/ticdc/downstreamadapter/dispatcher.GetDispatcherTaskScheduler()
      /home/dongmen/tigate/downstreamadapter/dispatcher/helper.go:234 +0x78
  github.com/pingcap/ticdc/downstreamadapter/dispatcher.newResendTask()
      /home/dongmen/tigate/downstreamadapter/dispatcher/helper.go:205 +0x84
  github.com/pingcap/ticdc/downstreamadapter/dispatcher.(*Dispatcher).dealWithBlockEvent()
      /home/dongmen/tigate/downstreamadapter/dispatcher/dispatcher.go:488 +0x1936
  github.com/pingcap/ticdc/downstreamadapter/dispatcher.(*Dispatcher).HandleEvents()
      /home/dongmen/tigate/downstreamadapter/dispatcher/dispatcher.go:351 +0x1b51
  github.com/pingcap/ticdc/downstreamadapter/eventcollector.(*EventsHandler).Handle()
      /home/dongmen/tigate/downstreamadapter/eventcollector/helper.go:93 +0x30c
  github.com/pingcap/ticdc/utils/dynstream.(*stream[go.shape.struct { Low uint64 "json:\"low\""; High uint64 "json:\"high\"" },go.shape.struct { Low uint64 "json:\"low\""; High uint64 "json:\"high\"" },go.shape.struct { From *github.com/pingcap/ticdc/pkg/node.ID; github.com/pingcap/ticdc/pkg/common/event.Event },go.shape.*uint8,go.shape.*uint8]).handleLoop()
      /home/dongmen/tigate/utils/dynstream/stream.go:252 +0x7da
  github.com/pingcap/ticdc/utils/dynstream.(*stream[go.shape.struct { Low uint64 "json:\"low\""; High uint64 "json:\"high\"" },go.shape.struct { Low uint64 "json:\"low\""; High uint64 "json:\"high\"" },go.shape.struct { From *github.com/pingcap/ticdc/pkg/node.ID; github.com/pingcap/ticdc/pkg/common/event.Event },go.shape.*uint8,go.shape.*uint8]).start.gowrap2()
      /home/dongmen/tigate/utils/dynstream/stream.go:113 +0x44

Log file:
stdout2.log

@asddongmen asddongmen added the bug Something isn't working label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants