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

mysql同步至clickhouse,日志出现空指针错误后,数据同步被中断 #241

Open
Allen0769 opened this issue Jul 21, 2023 · 0 comments

Comments

@Allen0769
Copy link

Version:

  • Bifrost Version: v2.0.6-beta
  • Os Version: CentOS 7
    mysql同步至clickhouse的任务中,日志出现空指针错误后,主界面binlog的EventID和position不再刷新,实际数据同步也被中断,但ConnStatus依然是running状态

具体异常日志如下:
2023/07/12 07:22:55 channelConsume err: runtime error: invalid memory address or nil pointer dereference goroutine 149 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:24 +0x65 github.com/brokercap/Bifrost/server.(*Channel).channelConsume.func1() /mnt/hgfs/gopath/src/github.com/brokercap/Bifrost/server/channel.go:133 +0x45 panic({0x10c00c0, 0x1be4000}) /usr/local/go/src/runtime/panic.go:884 +0x213 github.com/brokercap/Bifrost/server.(*consume_channel_obj).sendToServerResult(0xc0000d2f68, 0xc000146160, 0xc00097f930) /mnt/hgfs/gopath/src/github.com/brokercap/Bifrost/server/channel_consume.go:121 +0x465 github.com/brokercap/Bifrost/server.(*consume_channel_obj).sendToServerList0(0xc0000d2f68?, {0xc000012590, 0x1, 0xc0000d2de0?}, 0xc00097f930) /mnt/hgfs/gopath/src/github.com/brokercap/Bifrost/server/channel_consume.go:307 +0xa9 github.com/brokercap/Bifrost/server.(*consume_channel_obj).sendToServerList(0xc0000d2f68, {0xc005208900?, 0x0?}, 0xc00097f930, 0x1, 0x2d9) /mnt/hgfs/gopath/src/github.com/brokercap/Bifrost/server/channel_consume.go:264 +0xab github.com/brokercap/Bifrost/server.(*consume_channel_obj).consumeChannel(0xc0000d2f68) /mnt/hgfs/gopath/src/github.com/brokercap/Bifrost/server/channel_consume.go:219 +0x3a9 github.com/brokercap/Bifrost/server.(*Channel).channelConsume(0xc000300480) /mnt/hgfs/gopath/src/github.com/brokercap/Bifrost/server/channel.go:139 +0xad created by github.com/brokercap/Bifrost/server.(*Channel).Start /mnt/hgfs/gopath/src/github.com/brokercap/Bifrost/server/channel.go:91 +0x1b2

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

No branches or pull requests

1 participant