-
Notifications
You must be signed in to change notification settings - Fork 188
relay's behaviour should align with MySQL when using GTID #1383
Comments
when MySQL use GTID replication and slave didn't enable binlog, user can't use slave as upstream of DM because DM is based on binlog replication. Assuming at that time the GTID set is
User enables binlog on slave then, the first binlog of slave will have an empty |
Did you use |
didn't use it when |
What's the output of |
starting from 1. accroding to MySQL doc, |
Bug Report
https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-auto-positioning.html
getPosByGTID
may choose start position bychoose a relay log file that its "Previous_gtids_log_event" don't overlap with "complementary set of given GTID set", which could reduce to "Previous_gtids_log_event" is subset or equal to "given GTID set"
scan the relay log and skip the transactions in "given GTID set", to handle cases when given GTID set is not continuous like
uuid:1-10:20-30
The text was updated successfully, but these errors were encountered: