Skip to content

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

Open
@EeshwarPrasath

Description

@EeshwarPrasath

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions