julien-duponchelle/python-mysql-replication

Suggestion on removal of `log_slave_updates` system variable

dongwook-chan opened this issue · 0 comments

I am seeking understanding regarding the specification and use of the log_slave_updates system variable as indicated in docker-compose.yml and scripts/install_mysql.sh.

The function of log_slave_updates is to enable a MySQL slave to log events to its binary log, as opposed to the relay log. However, python-mysql-replication does not maintain a relay or binary log, which makes the application of this variable seem inappropriate.

Considering that the python-mysql-replication operates in the capacity of a client rather than a slave, it should only be affected by system variables that modify how the master transmits data.

I would appreciate clarification on the rationale behind including the log_slave_updates system variable in the project. If no convincing reasons exist for its inclusion, I would like to suggest the removal of this variable for better project clarity and focus.