Wednesday, December 27, 2017

[google-cloud-sql-discuss] Cloud SQL Failover Replica Unavailable

Hello,

We are running a master + failover replica cluster. Our failover instance rendered unavailable with the following log trace:

2017-12-27T15:40:12.603534Z 2 [ERROR] Error reading packet from server for channel '': Lost connection to MySQL server during query (server_errno=2013)
2017-12-27T15:40:12.603580Z 2 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysql-bin.006549' at position 29800383 for channel ''
2017-12-27T15:40:14.003316Z 1 [ERROR] Slave SQL for channel '': Could not execute Update_rows event on table carts; Can't find record in 'carts', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND; the event's master log mysql-bin.006505, end_log_pos 22807607, Error_code: 1032
2017-12-27T15:40:14.003350Z 1 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'mysql-bin.006505' position 22806296

It's in a state where we can not restart or delete it (and can't create another failover replica), as per attached screenshot. What are the options for restoring the failed replication?

Any help is appreciated!

Thanks,
Arcadie Condrat

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/95f52bb3-9a30-43b1-80fe-3349bcc6bbf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment