Skip to content

mysql.binlog.event.deserialization.EventDataDeserializationException whenever a Previous-GTIDs event occurs #158

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

Open
EeshwarPrasath opened this issue Oct 21, 2024 · 0 comments

Comments

@EeshwarPrasath
Copy link

EeshwarPrasath commented Oct 21, 2024

In mysql version 8.0.39, the Previous-GTIDs event deserialized fine. After updating to mysql version 8.4.3, the Previous-GTIDs event always fails on deserialization even for an empty event.
Example for the exception thrown on empty Previous-GTIDs event:
java.io.EOFException: Failed to read remaining 16 of 16 bytes from position 583. Block length: 0. Initial block length: 8.
at com.github.shyiko.mysql.binlog.io.ByteArrayInputStream.fill(ByteArrayInputStream.java:121)
at com.github.shyiko.mysql.binlog.io.ByteArrayInputStream.read(ByteArrayInputStream.java:106)
at com.github.shyiko.mysql.binlog.event.deserialization.PreviousGtidSetDeserializer.deserialize(PreviousGtidSetDeserializer.java:36)
at com.github.shyiko.mysql.binlog.event.deserialization.PreviousGtidSetDeserializer.deserialize(PreviousGtidSetDeserializer.java:28)
at com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer.deserializeEventData(EventDeserializer.java:337)
at com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer.nextEvent(EventDeserializer.java:246)
at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:1084)
at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:659)

Tried with mysql binlog connector 0.29.2, 0.30 and 0.40.
I am not sure what I am missing.
Thanks in advance

EDIT: It seems to fail only when I start using tagged GTIDs.
@Naros @osheroff

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