为了账号安全,请及时绑定邮箱和手机立即绑定

关于PXC集群首节点恢复的问题

我尝试使用docker搭建了一个3节点PXC集群

启动第一个节点,后面两个加入,完成之后测试了一下数据同步没有问题

然后关闭第一个启动的节点,再恢复无法加入集群

2018-11-25T04:27:40.930345Z 0 [ERROR] WSREP: It may not be safe to bootstrap the cluster from this node. It was not the last one to leave the cluster and may not contain all the updates. To force cluster bootstrap with this node, edit the grastate.dat file manually and set safe_to_bootstrap to 1 .

2018-11-25T04:27:40.930352Z 0 [ERROR] WSREP: Provider/Node (gcomm://) failed to establish connection with cluster (reason: 7)

2018-11-25T04:27:40.930356Z 0 [ERROR] Aborting

尝试关闭第二个和第三个节点都没有问题,请问第一个节点如果故障如何恢复呢?

正在回答

2 回答

启动的方式有问题应该是。直接mysql start启动就可以了,不需要在引导

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

关于PXC集群首节点恢复的问题

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信