MySQL could not replicate in case master is down in cluster and then gets up

廉价感情. 提交于 2020-01-07 07:19:07

问题


I have MySQL cluster (NDB) containing 2 servers[NodeA and NodeB]. I have another machine having InnoDB[NodeC] outside cluster. NodeA is master for NodeC replication slave. Problem arises when NodeA is down in cluster, and some transaction take place at NodeB of the cluster. When NodeA is again up and running, all data is sync between NodeA and NodeB. [I set sql_slave_skip_counter=1 into NodeC to remove LOST_EVENT error.] But the data is not replicated to NodeC. If after that any transaction takes place data is replicated but the data that is u[dated during downtime of NodeA is not replicated to NodeC.

Am I missing some setting so that Slave starts replicating from the point is left after Master is up again and in sync with other cluster nodes?

来源:https://stackoverflow.com/questions/24939964/mysql-could-not-replicate-in-case-master-is-down-in-cluster-and-then-gets-up

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!