Closed bonafideyan closed 2 years ago
I think that message may mean that the node that was redeployed has data that wasn't fully committed to the other nodes so it is "newer".. You could start that node with /var/lib/mysql/new-cluster
flag file so it would become the primary node then stop all other nodes then restart them to rejoin the new cluster automatically.
After some failure and redeploy, the mariadb cluster in swarm still works, but there two nodes whose logs has error:
if it is not in production environment, I will remove all volume about db and create the cluster then import the backuped db data.
now I don't know how to recovery it really, enter the container, modify the the config to recovery_mode=1, then restart the mysql process in container manullay, can I do this way?