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

Can not receive MARIADB_GTID event when execute SET @mariadb_slave_capability=1 #120

Open
ThisisWilli opened this issue Aug 14, 2023 · 0 comments

Comments

@ThisisWilli
Copy link

ThisisWilli commented Aug 14, 2023

Env

mariadb version: 10.6.4
java: jdk1.8

Question

in requestBinaryLogStreamMaria method,
https://github.com/osheroff/mysql-binlog-connector-java/blame/2774bedde7960ba20a66e0bf0699ac4f66f63825/src/main/java/com/github/shyiko/mysql/binlog/BinaryLogClient.java#L795
execute "SET @mariadb_slave_capability=1" can not receive MARIADB_GTID event from mariadb master.
if exeute "SET @mariadb_slave_capability=4", slave can receive MARIADB_GTID event
I wanna know the reason of change SET @mariadb_slave_capability=4“ to "SET @mariadb_slave_capability=1".
@osheroff hi, please take a look this problem, thks~

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