Commit 97f237e6 authored by mkaruza's avatar mkaruza Committed by Jan Lindström

MDEV-25912 wsrep does not identify checksummed events correctly

For GTID consistenty, GTID events was artificialy added before
replication happned. This event should not contain CHECKSUM calculated.
Reviewed-by: default avatarJan Lindström <jan.lindstrom@mariadb.com>
parent cf483a77
......@@ -5735,6 +5735,8 @@ THD::binlog_start_trans_and_stmt()
this->variables.gtid_domain_id,
true, LOG_EVENT_SUPPRESS_USE_F,
true, 0);
// Replicated events in writeset doesn't have checksum
gtid_event.checksum_alg= BINLOG_CHECKSUM_ALG_OFF;
gtid_event.server_id= this->variables.server_id;
writer.write(&gtid_event);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment