Comments - Multi-Source Replication

3 weeks ago xu pingyong

Environment: MariaDB10.6.8, Two machines: node1 and node2 node1 and node2 are in active/secondary mode

binlog logs of node1 are normal

The binlogs log of node2 reports the following error: Error during XID COMMIT; failed to update GTID state in mysql.gtid_slave_pos:1062: Duplicate entry '0-100243250' for key 'PRIMARY'

I would like to ask you, what is the cause of this factor, how can you repeat this situation

Error during XID COMMIT occurs when two master modes are set up. failed to update GTID state in mysql.gtid_slave_pos:1062: Duplicate entry '0-100243250' for key 'PRIMARY'

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.