以下两个参数在两个节点是对得上的.

| wsrep_last_applied | 3363764 |

| wsrep_last_committed | 3363764

但show master status中的Executed_Gtid_Set两个节点对应不上.

原有节点:

root@localhost [wenyz]>show master status\G
*************************** 1. row ***************************
File: mysql-bin.000006
Position: 226322719
Binlog_Do_DB:
Binlog_Ignore_DB:
Executed_Gtid_Set: 0a15ae1e-5e2f-ee17-4638-bcd794bde339:1-3363763
1 row in set (0.00 sec) root@localhost [wenyz]>show global status like '%wsrep%';
+----------------------------------+-------------------------------------------------------------+
| Variable_name | Value |
+----------------------------------+-------------------------------------------------------------+
| wsrep_local_state_uuid | f5ea51e1-a1d0-11e8-b9c7-43286b421cc6 |
| wsrep_protocol_version | 8 |
| wsrep_last_applied | 3363764 |
| wsrep_last_committed | 3363764 |
| wsrep_replicated | 3363764 |
| wsrep_replicated_bytes | 1701421328 |
| wsrep_repl_keys | 10093257 |
| wsrep_repl_keys_bytes | 161476392 |
| wsrep_repl_data_bytes | 1322502282 |
| wsrep_repl_other_bytes | 0 |
| wsrep_received | 27257 |
| wsrep_received_bytes | 224090 |
| wsrep_local_commits | 3363745 |
| wsrep_local_cert_failures | 0 |
| wsrep_local_replays | 0 |
| wsrep_local_send_queue | 0 |
| wsrep_local_send_queue_max | 29 |
| wsrep_local_send_queue_min | 0 |
| wsrep_local_send_queue_avg | 9.271179 |
| wsrep_local_recv_queue | 0 |
| wsrep_local_recv_queue_max | 2 |
| wsrep_local_recv_queue_min | 0 |
| wsrep_local_recv_queue_avg | 0.003522 |
| wsrep_local_cached_downto | 3120619 |
| wsrep_flow_control_paused_ns | 33771776425 |
| wsrep_flow_control_paused | 0.000633 |
| wsrep_flow_control_sent | 0 |
| wsrep_flow_control_recv | 12402 |
| wsrep_flow_control_interval | [ 173, 173 ] |
| wsrep_flow_control_interval_low | 173 |
| wsrep_flow_control_interval_high | 173 |
| wsrep_flow_control_status | OFF |
| wsrep_cert_deps_distance | 1042.455578 |
| wsrep_apply_oooe | 0.857846 |
| wsrep_apply_oool | 0.098041 |
| wsrep_apply_window | 4.413072 |
| wsrep_commit_oooe | 0.000000 |
| wsrep_commit_oool | 0.000000 |
| wsrep_commit_window | 1.165183 |
| wsrep_local_state | 4 |
| wsrep_local_state_comment | Synced |
| wsrep_cert_index_size | 310 |
| wsrep_cert_bucket_count | 30738 |
| wsrep_gcache_pool_size | 134218920 |
| wsrep_causal_reads | 0 |
| wsrep_cert_interval | 15.868040 |
| wsrep_ist_receive_status | |
| wsrep_ist_receive_seqno_start | 0 |
| wsrep_ist_receive_seqno_current | 0 |
| wsrep_ist_receive_seqno_end | 0 |
| wsrep_incoming_addresses | 192.168.99.211:3101,192.168.99.212:3101,192.168.99.210:3101 |
| wsrep_desync_count | 0 |
| wsrep_evs_delayed | |
| wsrep_evs_evict_list | |
| wsrep_evs_repl_latency | 0/0/0/0/0 |
| wsrep_evs_state | OPERATIONAL |
| wsrep_gcomm_uuid | f5e9d0b5-a1d0-11e8-a8ab-fb9117856933 |
| wsrep_cluster_conf_id | 23 |
| wsrep_cluster_size | 3 |
| wsrep_cluster_state_uuid | f5ea51e1-a1d0-11e8-b9c7-43286b421cc6 |
| wsrep_cluster_status | Primary |
| wsrep_connected | ON |
| wsrep_local_bf_aborts | 0 |
| wsrep_local_index | 2 |
| wsrep_provider_name | Galera |
| wsrep_provider_vendor | Codership Oy <info@codership.com> |
| wsrep_provider_version | 3.26(r) |
| wsrep_ready | ON |
+----------------------------------+-------------------------------------------------------------+
68 rows in set (0.00 sec) root@localhost [wenyz]>show master status\G
*************************** 1. row ***************************
File: mysql-bin.000006
Position: 226322719
Binlog_Do_DB:
Binlog_Ignore_DB:
Executed_Gtid_Set: 0a15ae1e-5e2f-ee17-4638-bcd794bde339:1-3363763
1 row in set (0.00 sec)

新节点:

root@localhost [(none)]>show master status\G
*************************** 1. row ***************************
File: mysql-bin.000001
Position: 73162918
Binlog_Do_DB:
Binlog_Ignore_DB:
Executed_Gtid_Set: 0a15ae1e-5e2f-ee17-4638-bcd794bde339:1-3241900
1 row in set (0.00 sec) root@localhost [(none)]>show global status like '%wsrep%';
+----------------------------------+-------------------------------------------------------------+
| Variable_name | Value |
+----------------------------------+-------------------------------------------------------------+
| wsrep_local_state_uuid | f5ea51e1-a1d0-11e8-b9c7-43286b421cc6 |
| wsrep_protocol_version | 8 |
| wsrep_last_applied | 3363764 |
| wsrep_last_committed | 3363764 |
| wsrep_replicated | 0 |
| wsrep_replicated_bytes | 0 |
| wsrep_repl_keys | 0 |
| wsrep_repl_keys_bytes | 0 |
| wsrep_repl_data_bytes | 0 |
| wsrep_repl_other_bytes | 0 |
| wsrep_received | 76525 |
| wsrep_received_bytes | 38766277 |
| wsrep_local_commits | 0 |
| wsrep_local_cert_failures | 0 |
| wsrep_local_replays | 0 |
| wsrep_local_send_queue | 0 |
| wsrep_local_send_queue_max | 1 |
| wsrep_local_send_queue_min | 0 |
| wsrep_local_send_queue_avg | 0.000000 |
| wsrep_local_recv_queue | 0 |
| wsrep_local_recv_queue_max | 205 |
| wsrep_local_recv_queue_min | 0 |
| wsrep_local_recv_queue_avg | 68.095642 |
| wsrep_local_cached_downto | 3288063 |
| wsrep_flow_control_paused_ns | 5401056699 |
| wsrep_flow_control_paused | 0.002234 |
| wsrep_flow_control_sent | 349 |
| wsrep_flow_control_recv | 1608 |
| wsrep_flow_control_interval | [ 173, 173 ] |
| wsrep_flow_control_interval_low | 173 |
| wsrep_flow_control_interval_high | 173 |
| wsrep_flow_control_status | OFF |
| wsrep_cert_deps_distance | 248.893900 |
| wsrep_apply_oooe | 0.000000 |
| wsrep_apply_oool | 0.000000 |
| wsrep_apply_window | 1.000000 |
| wsrep_commit_oooe | 0.000000 |
| wsrep_commit_oool | 0.000000 |
| wsrep_commit_window | 1.000000 |
| wsrep_local_state | 4 |
| wsrep_local_state_comment | Synced |
| wsrep_cert_index_size | 310 |
| wsrep_cert_bucket_count | 420 |
| wsrep_gcache_pool_size | 41789040 |
| wsrep_causal_reads | 0 |
| wsrep_cert_interval | 19.619046 |
| wsrep_ist_receive_status | |
| wsrep_ist_receive_seqno_start | 0 |
| wsrep_ist_receive_seqno_current | 0 |
| wsrep_ist_receive_seqno_end | 0 |
| wsrep_incoming_addresses | 192.168.99.211:3101,192.168.99.212:3101,192.168.99.210:3101 |
| wsrep_desync_count | 0 |
| wsrep_evs_delayed | |
| wsrep_evs_evict_list | |
| wsrep_evs_repl_latency | 0/0/0/0/0 |
| wsrep_evs_state | OPERATIONAL |
| wsrep_gcomm_uuid | b25483fa-a247-11e8-aef6-473eaed7aca6 |
| wsrep_cluster_conf_id | 23 |
| wsrep_cluster_size | 3 |
| wsrep_cluster_state_uuid | f5ea51e1-a1d0-11e8-b9c7-43286b421cc6 |
| wsrep_cluster_status | Primary |
| wsrep_connected | ON |
| wsrep_local_bf_aborts | 0 |
| wsrep_local_index | 1 |
| wsrep_provider_name | Galera |
| wsrep_provider_vendor | Codership Oy <info@codership.com> |
| wsrep_provider_version | 3.26(r) |
| wsrep_ready | ON |
+----------------------------------+-------------------------------------------------------------+
68 rows in set (0.00 sec) root@localhost [(none)]>show master status\G
*************************** 1. row ***************************
File: mysql-bin.000001
Position: 73162918
Binlog_Do_DB:
Binlog_Ignore_DB:
Executed_Gtid_Set: 0a15ae1e-5e2f-ee17-4638-bcd794bde339:1-3241900
1 row in set (0.00 sec)

slave->pxc后GTID不一致的更多相关文章

  1. mysql5.7切换导致gtid不一致

    今天在公司的工程环境中做了个案例,手动切换关闭主库的mysql服务,从库上升为主库之后,发现主库处于read_only状态,通过高可用的组件观察了剩余主从库的alive以及delay的状态发现均正常. ...

  2. Percona XtraBackup不锁库搭建slave数据库-基于GTID

    Percona XtraBackup不锁库搭建slave数据库-基于GTID 1.下载安装epel源并安装 wget http://ftp.cuhk.edu.hk/pub/linux/fedora-e ...

  3. xtrabackup在线备份主库,搭建slave,使用gtid模式

    mysql:5.6.29xtrabackup:2.2.10master:192.168.166.129slave:192.168.166.131mysql数据目录:/data/mysqlmysql备份 ...

  4. Win7+Ubuntu双系统安装完成后时间不一致相差大概8小时

    Win7+Ubuntu双系统时间不一致 解决方法: 第一种在Windows下进行如下修改: 在 注册表项:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Con ...

  5. Mysql select id 加上order by 后结果不一致

    测试数据将近280万 1.SELECT id FROM cbbd ORDER BY id LIMIT 900000,10 2.SELECT id FROM cbbd  LIMIT 900000,10 ...

  6. float元素浮动后高度不一致导致错位的解决办方法

    换行开始的第一个元素clear:left;即可 例如  四列时应该时第5个,9个...加clear:left; .row .col-lg-3:nth-child(4n+1),.row .col-md- ...

  7. 两主机搭建MySQL主从复制后,show slave status显示:Last_IO_Error: error connecting to master ……

    两台主机A.B搭建mysql主从复制关系(A为master,B为slave)后,在slave上执行show slave status,结果中显示Last_IO_Error: error connect ...

  8. [置顶] 两主机搭建MySQL主从复制后,show slave status显示:Last_IO_Error: error connecting to master ……

    两台主机A.B搭建mysql主从复制关系(A为master,B为slave)后,在slave上执行show slave status,结果中显示Last_IO_Error: error connect ...

  9. 处理 MySQL 因为 SLAVE 崩溃导致需要手动跳过 GTID 的问题 | 关于 GTID

    今天发生了与之前某篇博客相似的问题,有同学在不同步的 binlog 库中使用语句 database.table 命令对表进行 drop 导致 master 丢弃该表但是从库并未能同步到该操作.并且后续 ...

随机推荐

  1. P4005 小 Y 和地铁

    题目描述 小 Y 是一个爱好旅行的 OIer.一天,她来到了一个新的城市.由于不熟悉那里的交通系统,她选择了坐地铁. 她发现每条地铁线路可以看成平面上的一条曲线,不同线路的交点处一定会设有 换乘站 . ...

  2. [CF1105D]Kilani and the Game

    题目大意:给出一个$n\times m(n,m\leqslant10^3)$的地图,有$k(k\leqslant9)$个玩家,第$i$个玩家速度为$s_i$.地图中$\#$代表障碍:$.$ 代表空地: ...

  3. [COCI2011-2012#5] POPLOCAVANJE 后缀自动机

    题面:洛谷 题解: 其实还可以用AC自动机做,但是没调出来,,,不知道发生了什么... AC自动机做法如下: 观察到如果我们对给定的每个串建AC自动机,那么直接拿大串在上面匹配,如果遇到了一个单词的终 ...

  4. 【BZOJ3203】保护出题人(动态规划,斜率优化)

    [BZOJ3203]保护出题人(动态规划,斜率优化) 题面 BZOJ 洛谷 题解 在最优情况下,肯定是存在某只僵尸在到达重点的那一瞬间将其打死 我们现在知道了每只僵尸到达终点的时间,因为僵尸要依次打死 ...

  5. 【POJ1741】Tree(点分治)

    [POJ1741]Tree(点分治) 题面 Vjudge 题目大意: 求树中距离小于\(K\)的点对的数量 题解 完全不觉得点分治了.. 简直\(GG\),更别说动态点分治了... 于是来复习一下. ...

  6. [ZJOI2007]棋盘制作 【最大同色矩形】

    题目描述 国际象棋是世界上最古老的博弈游戏之一,和中国的围棋.象棋以及日本的将棋同享盛名.据说国际象棋起源于易经的思想,棋盘是一个8*8大小的黑白相间的方阵,对应八八六十四卦,黑白对应阴阳. 而我们的 ...

  7. 洛谷 P2123 皇后游戏 解题报告

    P2123 皇后游戏 题意: 给定\(T\)组长为\(n\)的\(A\),\(B\)数组和\(C\)的计算方法,求一种排列方法,使最大的\(C\)最小化. 数据范围: \(1 \le T \le 10 ...

  8. 使用adb命令查看apk版本

    adb devices  (显示连接的设备) adb root   (获取手机root权限) adb remount  (重新挂载系统分区,使系统分区重新可写) adb shell (进入目标设备的L ...

  9. 框架----Django之Ajax全套实例(原生AJAX,jQuery Ajax,“伪”AJAX,JSONP,CORS)

    一.原生AJAX,jQuery Ajax,“伪”AJAX,JSONP 1. 浏览器访问 http://127.0.0.1:8000/index/ http://127.0.0.1:8000/fake_ ...

  10. apk文件签名绕过

    声明: 1.本文转载自:http://www.2cto.com/Article/201311/256406.html,为了留作日后参考上传博客 2.如有转载请复试上面连接,尊重原创 apk文件签名绕过 ...