首页 技术 正文
技术 2022年11月6日
0 收藏 397 点赞 414 浏览 913 个字

总所周知,MySQL集群又名ndb cluster,而ndb就是network based database的简称,数据库节点之间依靠网络来通信和保证数据分块间的一致性。今天由于机房交换机损坏,导致集群4个数据节点(复制数为2)应用全部关闭。网络恢复后再启动遇到以下问题:

“2016-11-03 16:37:40 [ndbd] INFO — Unable to start missing node group! starting: 0000000000000002 (missing fs for: 0000000000000000)

2016-11-03 16:37:40 [ndbd] INFO — QMGR (Line: 1872) 0x00000002

2016-11-03 16:37:40 [ndbd] INFO — Error handler shutting down system

2016-11-03 16:37:40 [ndbd] INFO — Error handler shutdown completed – exiting

2016-11-03 16:37:41 [ndbd] ALERT — Node 1: Forced node shutdown completed. Occured during startphase 1. Caused by error 2353: ‘Insufficent nodes for system restart(Restart error). Temporary error, restart node’.”

网络搜索了一下,发现问题可能同提交的这个bug有关,链接https://bugs.mysql.com/bug.php?id=22316

  • system restart fails as you dont start all 4 nodes fast enough…

    With default setting you have 30s for allowing nodes to get in contact with each other.

实际原因为,各个节点之间启动时间差太久,造成集群数据节点数不够而不能启动起来。

最后,使用xshell的To all sessions功能发送ndbmtd命令,同时启动四个节点,正常恢复集群运行。

–EOF–

上一篇: download github files
下一篇: NodeOS操作系统
相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,078
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,553
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,402
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,177
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,814
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,898