简体   繁体   中英

promote replica to primary with cluster mode enabled

is there a way to promote a replica node to primary with cluster mode enabled? I have googled but only found solution with cluster mode disabled.

You can send CLUSTER FAILOVER command to the replica to promote it to be a new master. However, you must ensure that the replica has already been known by majority of the masters in the cluster.

Check the doc on manually failover for detail.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM