-
Notifications
You must be signed in to change notification settings - Fork 991
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
invalid sequence 0 != 1 #814
Comments
How to reproduce the problem please? |
Occasionally~~~ my mysqldump version is mysql5.7 , Is this the reason? i will try |
when table struct changed.... file:schema.go error info: could you give some advice? |
I don't know how to reproduce based on your response. Can you provide step-by-step actions to reproduce? |
要怎么说呢,这是偶然出现的,运行下来看,貌似表结构变了,就可能会出这个问题,我这边是同一个程序里运行了多个c, err := canal.NewCanal(cfg)实例。我想知道,是不是conn连接的原因:类似#456 |
找到问题了,mysql连接设置了超时,mysql服务器会主动断掉conn连接,这时候换个表修改,就有这个问题,我看有一个HeartbeatPeriod 配置好像没有用,不知道有没有其他地方可以设置心跳 |
mysql 8.0.31
error in canal.go:
t, err := schema.NewTable(c, db, table)
error info:
invalid sequence 0 != 1
any solution please ?
The text was updated successfully, but these errors were encountered: