I'm creating a replication between two Amazon Aurora Cluster following this: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Replication.html#Aurora.Replication.MySQLReplication.Monitor
But when I start the replication I get the following error:
Could not execute Update_rows event on table xxxx; Can't find record in 'xxx', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND; the event's master log mysql-bin-changelog.003469, end_log_pos 75006660
Even though the table has the same size in both server, the format of the replication is ROW and I read that a way to debug this error is reading the binlog but when I try:
mysqlbinlog -u 'user' -p'xxx' -h host --base64-output=DECODE-ROWS --verbose --start-position=75006221 --stop-position=75006761 -R -f mysql-bin-changelog.003469
Happens this error:
ERROR: Could not construct log event object: Sanity check failed
I've searched on Google without success. Does anyone know what's the best solution?
Thank you.