Does anyone know which error codes are safe to ignore during replication, meaning the slave will remain consistent with the master?
For example
[mysqld]
slave-skip-errors=1007,1008,1050,1051,1054,1060,1061,1068,1094,1146
The example that I found omitted is 1213 (Deadlock found when trying to get lock; try restarting transaction, Error_code: 1213; handler error HA_ERR_LOCK_DEADLOCK
), which seems safe to me?
I've found little advice on the matter so seems like a good one for stackoverflow...