Mariadb 10.1 galera cluster 集群joiner 节点加入集群 会出现这种报错,导致mysql一直点点点,这里我贴出报错。2016年04月19日13:34:58

2016-04-19 10:57:18 47193664784128 [Note] WSREP: Quorum results:
version = 3,
component = PRIMARY,
conf_id = 132,
members = 2/3 (joined/total),
act_id = 6379600,
last_appl. = -1,
protocols = 0/7/3 (gcs/repl/appl),
group UUID = 8decf2c7-fd49-11e5-a72e-f67863490496
2016-04-19 10:57:18 47193664784128 [Note] WSREP: Flow-control interval: [28, 28]
2016-04-19 10:57:18 47193664784128 [Note] WSREP: Shifting OPEN -> PRIMARY (TO: 6379600)
2016-04-19 10:57:18 47193675873024 [Note] WSREP: State transfer required:
Group state: 8decf2c7-fd49-11e5-a72e-f67863490496:6379600
Local state: 00000000-0000-0000-0000-000000000000:-1
2016-04-19 10:57:18 47193675873024 [Note] WSREP: New cluster view: global state: 8decf2c7-fd49-11e5-a72e-f67863490496:6379600, view# 133: Primary, number of nodes: 3, my index: 0, protocol version 3
2016-04-19 10:57:18 47193675873024 [Warning] WSREP: Gap in state sequence. Need state transfer.
2016-04-19 10:57:18 47193677977344 [Note] WSREP: Running: 'wsrep_sst_rsync --role 'joiner' --address '172.16.38.67' --datadir '/var/lib/mysql/' --parent '7662' '' '
2016-04-19 10:57:18 47193675873024 [Note] WSREP: Prepared SST request: rsync|172.16.38.67:4444/rsync_sst
2016-04-19 10:57:18 47193675873024 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2016-04-19 10:57:18 47193675873024 [Note] WSREP: REPL Protocols: 7 (3, 2)
2016-04-19 10:57:18 47193611138816 [Note] WSREP: Service thread queue flushed.
2016-04-19 10:57:18 47193675873024 [Note] WSREP: Assign initial position for certification: 6379600, protocol version: 3
2016-04-19 10:57:18 47193611138816 [Note] WSREP: Service thread queue flushed.
2016-04-19 10:57:18 47193675873024 [Warning] WSREP: Failed to prepare for incremental state transfer: Local state UUID (00000000-0000-0000-0000-000000000000) does not match group state UUID (8decf2c7-fd49-11e5-a72e-f67863490496): 1 (Operation not permitted)
at galera/src/replicator_str.cpp:prepare_for_IST():482. IST will be unavailable.
2016-04-19 10:57:18 47193664784128 [Note] WSREP: Member 0.0 (node1) requested state transfer from '*any*'. Selected 1.0 (node3)(SYNCED) as donor.
2016-04-19 10:57:18 47193664784128 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 6379600)
2016-04-19 10:57:18 47193675873024 [Note] WSREP: Requesting state transfer: success, donor: 1
2016-04-19 10:57:21 47193656399616 [Note] WSREP: (6d3ded9a, 'tcp://0.0.0.0:4567') turning message relay requesting off

如果细心的人,肯定会发现数据目录下有一个保存UUID的文件grastate.date 里面会保存本地mariadb的UUID。博主尝试更改里面的UUID 改成集群的UUID 就可以启动,但是这样会导致很多表的错误。所以没有继续研究下去

还有一种是让它一直点点点下去,这个过程看官方文档,也没有解释的那么详细,是和新节点的4568端口通信,然后我吃完饭回来,大概间隔20min 就同步成功了,就起来了- -!。

还有一种方法是同事说,让joiner 节点指定同步一个index=0的集群节点,就可以加入。

mariadb10.1交流很少,有交流的同学可以在本博文留言。

                                                    by:V

最新文章

  1. width:100%;与width:auto;的区别
  2. GCD定时器
  3. css position的使用
  4. JSON 数据使用方法
  5. Swift 设计指南之 编程规范
  6. Qt之控件美化
  7. 简述oracle视图
  8. Android完全退出activity
  9. Lua中使用状态机FSM简单例子
  10. Netty5序章之BIO NIO AIO演变
  11. KMP及其改进算法
  12. day 0314函数的进阶
  13. 12.double的int方
  14. 20145336 张子扬 《网络对抗技术》 web安全基础实践
  15. PHP高手修炼50法——勤快篇
  16. python xlwt操作excel
  17. 潜类别模型(Latent Class Modeling)
  18. yum 安装LAMP
  19. 「Linux」centos7安装python
  20. java基础---->数组的基础使用(一)

热门文章

  1. Servlet获取类路径下的资源
  2. 搭建ASP JSP运行环境
  3. loadrunner处理HTTP重定向请求
  4. hdu1166 线段树
  5. hdu 2553 N皇后问题
  6. css整理-02 颜色和字体
  7. express-5 质量保证(2)
  8. 项目新的需求,网页的自适应交付/响应式交付 Responsive/Adaptive Delivery
  9. Ue4如何在C++中获得获得当前角色的指针?
  10. IDE-Sublime【1】-JsFormat插件格式化缩进问题