-
Notifications
You must be signed in to change notification settings - Fork 1k
When the order of fields in the data table is changed, the binlog log is confused. #905
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
Comments
This is done by a DDL? I think you can check if canal has captured this DDL and invalid the internal table structure. I'm not a user of canal interface, but I think it should be caused by table structure mismatch. |
Hello there! Any news about this? We are getting also these errors in our tool https://github.com/freepik-company/binwatch. When an alter table occurs, the index of e.Table.Columns and e.Rows[] are not in the same order 😓 . Thanks! |
Okay, it seems the issue occurs when you're trying to read binlogs older than the moment the schema change took place. This happens because Canal directly reads the current schema when it's unable to read it from the binlogs (since it doesn't have that data, from what I understood). Let me know if I'm correct; thank you very much! :) |
I think so. It's hard to get a history table structure in binlog. |
Hello, when I perform the following steps:
I'm wondering what could be the reason for this? What needs to be done?
The text was updated successfully, but these errors were encountered: