mysql-binlog-connector-java icon indicating copy to clipboard operation
mysql-binlog-connector-java copied to clipboard

Failed to deserialize data of EventHeaderV4

Open wanghangyu817 opened this issue 2 years ago • 0 comments

After running for a long time, we get an error:

Failed to deserialize data of EventHeaderV4{timestamp=1701164723000, eventType=UPDATE_ROWS, serverId=179003860,   headerLength=19, dataLength=4255, nextPosition=427381925, flags=0}:   com.github.shyiko.mysql.binlog.event.deserialization.EventDataDeserializationException:   Failed to deserialize data of EventHeaderV4{timestamp=1701164723000, eventType=UPDATE_ROWS, serverId=179003860,   headerLength=19, dataLength=4255, nextPosition=427381925, flags=0}
Caused by: java.io.EOFException: Failed to read remaining 216 of 787 bytes from position 117209190. Block length:   2686. Initial block length: 4251.

After that, the program works fine, but there may be data loss, what could be the cause of this thanks!

wanghangyu817 avatar Nov 29 '23 02:11 wanghangyu817