Escolar Documentos
Profissional Documentos
Cultura Documentos
Replication Error
By Will Mayall http://www.nwstartups.com 16-June-2011
Problem: Sometimes, the Master sends the record twice, the first update works,
the second attempt BREAKS Replication. Then you have to Manually Fix Replication
on the Slave.
Master_SSL_Key:
Seconds_Behind_Master: NULL
1 row in set (0.00 sec)
+--------------+----------+--------+------------+------------+------------+
| TYPE | SEQUENCE | CRO | START_DATE | END_DATE | TRIGGER_ID |
+--------------+----------+--------+------------+------------+------------+
| BOOKING_ROOM | 1 | GLOBAL | 2010-04-23 | 2099-12-31 | 1188 |
+--------------+----------+--------+------------+------------+------------+
1 row in set (0.00 sec)
mysql> select * from TRIGGER_DATA where TYPE='BOOKING_ROOM' and SEQUENCE=1 and CRO='GLOBAL'
and START_DATE='2010-04-23' and TRIGGER_ID=1188\G
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 235837065
Relay_Log_Space: 235
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: 0
1 row in set (0.00 sec)
mysql>