planetscale / vitess-releases

Vitess releases
Apache License 2.0
30 stars 6 forks source link

Using Vtorc,Primary is Dead,how can i do to let it failover normally #33

Closed shizhibo2016 closed 1 year ago

shizhibo2016 commented 1 year ago

E0318 06:32:01.683227 51275 topology_recovery.go:800] AttemptRecoveryRegistration: keyspace keyspace_yy shard 0 has recently experienced a failover (of 10.1.9.91:17201) and is in active period. It will not be failed over again. You may acknowledge the failure on this cluster (-c ack-cluster-recoveries) or on 10.1.9.91:17201 (-c ack-instance-recoveries) to remove this blockage

Anders-PlanetScale commented 1 year ago

You can still use PRS or ERS with vtorc running. If you want automated fail-over via vtorc you have to have the durability policy for the keyspace set tosemi_sync and you have to have vtorc global-recovery enabled.

shizhibo2016 commented 1 year ago

You can still use PRS or ERS with vtorc running. If you want automated fail-over via vtorc you have to have the durability policy for the keyspace set tosemi_sync and you have to have vtorc global-recovery enabled. Thanks,That is ok。