Skip to content

Management TableMapping in case of RotateEvent #18

@darnuria

Description

@darnuria

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions