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

Suggestion on removal of log_slave_updates system variable #410

Closed
dongwook-chan opened this issue Jul 26, 2023 · 0 comments
Closed

Suggestion on removal of log_slave_updates system variable #410

dongwook-chan opened this issue Jul 26, 2023 · 0 comments

Comments

@dongwook-chan
Copy link
Collaborator

dongwook-chan commented Jul 26, 2023

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.

dongwook-chan added a commit to python-mysql-replication-kr/python-mysql-replication that referenced this issue Aug 23, 2023
…lle#410

- `log_slave_updates` modifies to which file binlog events is written.
- The variable is not applicable to python-mysql-replication, because no file is written
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