diff --git a/dm/relay/local_reader.go b/dm/relay/local_reader.go index 66915057f07..8bfdc904ace 100644 --- a/dm/relay/local_reader.go +++ b/dm/relay/local_reader.go @@ -594,7 +594,8 @@ func (r *BinlogReader) parseFile( switch e.Event.(type) { // Only replace transaction event // Other events such as FormatDescriptionEvent, RotateEvent, etc. should be the same as before - case *replication.RowsEvent, *replication.QueryEvent, *replication.GTIDEvent, *replication.XIDEvent, *replication.TableMapEvent: + case *replication.RowsEvent, *replication.QueryEvent, *replication.GTIDEvent, + *replication.MariadbGTIDEvent, *replication.XIDEvent, *replication.TableMapEvent: // replace with heartbeat event state.lastSkipGTIDHeader = e.Header default: