osheroff/mysql-binlog-connector-java

Using mariadb_slave_capability=1 breaks GTID events

Closed this issue · 2 comments

With release 0.27.1 (this commit specifically).

With mariadb_slave_capability=1 the connector does not get MARIADB_GTID events at all. With mariadb_slave_capability=4 those events are there.

I am not aware of the reasons behind setting the capability mode to 1, but I would suggest at least making it configurable.

Please, see the attached test-case. It works in 0.27.0 and fails with next versions.

test-case.zip

yeah you're totally right. looking into a fix, setting slave capability to 4 also implies a few other replication features I'm not sure we support yet.

fixed this in 0.27.4