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

Management TableMapping in case of RotateEvent #18

Open
darnuria opened this issue Jan 18, 2023 · 0 comments
Open

Management TableMapping in case of RotateEvent #18

darnuria opened this issue Jan 18, 2023 · 0 comments

Comments

@darnuria
Copy link

darnuria commented Jan 18, 2023

Hi!

Just read the sources and found that in this crate, the RotateEvent change of tables id is not managed.

Can lead to some data-corruptions, it's mostly a problem when doing networked binlog usage, may be out-of-scope if the goal is just following binlog files.
table_id are memory id persistent only during the server is running.

See for details:
https://github.com/julien-duponchelle/python-mysql-replication/blob/1376c6be032a46b396c6991133b958271604e829/pymysqlreplication/binlogstream.py#L507-L521

@darnuria darnuria changed the title Rework TableMapping in case of RotateEvent Management TableMapping in case of RotateEvent Jan 18, 2023
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