Bug #82525 | mysql replicate from binlog one event to relay log produce Duplicate same event | ||
---|---|---|---|
Submitted: | 10 Aug 2016 8:50 | Modified: | 23 Aug 2016 3:31 |
Reporter: | Tiger Woo | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Row Based Replication ( RBR ) | Severity: | S1 (Critical) |
Version: | mysql-community-server-5.7.13 | OS: | Red Hat (redhat6.4_64bit_en_static_basic) |
Assigned to: | CPU Architecture: | Any | |
Tags: | binlog to relaylog, HA_ERR_FOUND_DUPP_KEY |
[10 Aug 2016 8:50]
Tiger Woo
[10 Aug 2016 9:23]
Tiger Woo
Confirm that binlog on master database only have one insert event for primary key 54784818
[23 Aug 2016 3:31]
Tiger Woo
This not a bug. but according analysize this event and found that if use XA connection to operate data. under master/slave architecture database for mysql 5.7.1X. slave db which use binlog to replicate data from master to slave by parallel work threads will continue to consume memory and not release these memory and till exhaust all free memory and cause mysqld process killed by mysql safe process and restarted mysqld process by mysql safe process auto. due to this reason, cause dupliated record event happened.