简体   繁体   English

MySQL组复制:永久停留在RECOVERING

[英]Mysql group replication: stuck on RECOVERING forever

I have two MySQL server which are running on same group replication. 我有两个在同一组复制上运行的MySQL服务器。 The setup had been done by below steps: 该设置已通过以下步骤完成:

  1. The first server is production server with lot of data. 第一台服务器是具有大量数据的生产服务器。
  2. I set it readonly and dump the data, then restore it on the fallback MySQL server 我将其设置为只读并转储数据,然后将其还原到后备MySQL服务器上
  3. After restored, I executed "START GROUP_REPLICATION" and it success join to the group. 恢复后,我执行了“ START GROUP_REPLICATION”,并成功加入了该组。 All data are sync well between two server. 所有数据在两个服务器之间都可以很好地同步。

But I found an other error: Every time I reload the fallback MySQL (by restart services) it will auto join to group but stuck at RECOVERING forever, I waited for 3 days but it still in RECOVERING. 但是我发现了另一个错误:每次我重新加载后备MySQL(通过重新启动服务)时,它将自动加入组,但永远停留在RECOVERING上,我等待了3天,但它仍处于RECOVERING中。 I checked on the log and don't see any error on both server, everything look good except the fallback is running as readonly and stay at RECOVERING. 我检查了日志,在两台服务器上均未看到任何错误,除了回退以只读方式运行并停留在RECOVERING之外,其他所有内容看起来都不错。

What step did I missed? 我错过了哪一步?

My group configuration is (I followed the instruction from DigitalOcean help page at https://www.digitalocean.com/community/tutorials/how-to-configure-mysql-group-replication-on-ubuntu-16-04 ): 我的组配置是(我遵循了DigitalOcean帮助页面上的说明, 网址https://www.digitalocean.com/community/tutorials/how-to-configure-mysql-group-replication-on-ubuntu-16-04 ):

BINARY LOGGING # log_bin = /data/databases/mysql_bin199 expire_logs_days = 14 二进制记录#log_bin = / data / databases / mysql_bin199 expire_logs_days = 14

sync_binlog = 1 binlog_format = ROW sync_binlog = 1 binlog_format = ROW

General replication settings gtid_mode = ON enforce_gtid_consistency = ON master_info_repository = TABLE relay_log_info_repository = TABLE binlog_checksum = NONE log_slave_updates = ON 常规复制设置gtid_mode = ON执行_gtid_consistency = ON master_info_repository = TABLE relay_log_info_repository = TABLE binlog_checksum = NONE log_slave_updates = ON

log_bin = binlog log_bin = Binlog

binlog_format = ROW transaction_write_set_extraction = XXHASH64 loose-group_replication_bootstrap_group = OFF binlog_format = ROW transaction_write_set_extraction = XXHASH64lack-group_replication_bootstrap_group = OFF

loose-group_replication_start_on_boot = ON loose-group_replication_ssl_mode = REQUIRED loose-group_replication_recovery_use_ssl = 1 lack-group_replication_start_on_boot = ON宽松-group_replication_ssl_mode =必需宽松-group_replication_recovery_use_ssl = 1

Shared replication group configuration loose-group_replication_group_name = 共享复制组配置松散组_复制_组=

"9dc4ae01-6664-437a-83f8-80546d58e025" loose-group_replication_ip_whitelist = "172.AAA.BBB.166,138.AAA.BBB.199" loose-group_replication_group_seeds = "172.AAA.BBB.166:33061,138.AAA.BBB.199:33061" “ 9dc4ae01-6664-437a-83f8-80546d58e025” lack-group_replication_ip_whitelist =“ 172.AAA.BBB.166,138.AAA.BBB.199” lack-group_replication_group_seeds =“ 172.AAA.BBB.166:33061,138.AAA.BBB .199:33061“

Single or Multi-primary mode? 单或多主要模式? Uncomment these two lines 取消注释这两行

for multi-primary mode, where any host can accept writes loose-group_replication_single_primary_mode = OFF 对于多主模式,其中任何主机都可以接受写入,则为松散组_复制_单_主模式= OFF

loose-group_replication_enforce_update_everywhere_checks = ON Pine-group_replication_enforce_update_everywhere_checks =开

Host specific replication configuration server_id = 2 report_host = "138.AAA.BBB.199" loose-group_replication_local_address = 主机特定的复制配置server_id = 2 report_host =“ 138.AAA.BBB.199” let-group_replication_local_address =

"138.AAA.BBB.199:33061" “ 138.AAA.BBB.199:33061”

Below is MySQL log on first server: 下面是第一个服务器上的MySQL登录:

2018-06-08T06:10:12.167400Z 0 [Warning] Plugin group_replication 2018-06-08T06:10:12.167400Z 0 [警告]插件group_replication

reported: 'Members removed from the group: 138.AAA.BBB.199:3306' 报告:“从群组中删除的成员:138.AAA.BBB.199:3306”

2018-06-08T06:10:12.167475Z 0 [Note] Plugin group_replication 2018-06-08T06:10:12.167475Z 0 [Note]插件group_replication

reported: 'Group membership changed to 172.AAA.BBB.166:3306 on view 报告:“查看时,组成员身份更改为172.AAA.BBB.166:3306

15271181169364149:11.' 15271181169364149:11。” 2018-06-08T06:11:59.032666Z 0 [Note] Plugin 2018-06-08T06:11:59.032666Z 0 [Note]插件

group_replication reported: 'Members joined the group: group_replication报告:'成员加入该组:

138.AAA.BBB.199:3306' 2018-06-08T06:11:59.032722Z 0 [Note] Plugin group_replication reported: 'Group membership changed to 138.AAA.BBB.199:3306'2018-06-08T06:11:59.032722Z 0 [注意]插件group_replication报告:'组成员身份更改为

172.AAA.BBB.166:3306, 138.AAA.BBB.199:3306 on view 15271181169364149:12.' 观看15271181169364149:12上的172.AAA.BBB.166:3306、138.AAA.BBB.199:3306”。

Below is the MySQL log on fallback server: 以下是MySQL登录后备服务器:

2018-06-11T09:22:57.490896Z 0 [Warning] option 'max_allowed_packet': 2018-06-11T09:22:57.490896Z 0 [警告]选项'max_allowed_pa​​cket':

unsigned value 3221225472 adjusted to 1073741824 无符号值3221225472调整为1073741824

2018-06-11T09:22:57.490942Z 0 [Warning] The use of InnoDB is mandatory 2018-06-11T09:22:57.490942Z 0 [警告]强制使用InnoDB

since MySQL 5.7. 从MySQL 5.7开始。 The former options like '--innodb=0/1/OFF/ON' or 以前的选项,例如'--innodb = 0/1 / OFF / ON'或

'--skip-innodb' are ignored. '--skip-innodb'被忽略。 2018-06-11T09:22:57.491057Z 0 [Warning] 2018-06-11T09:22:57.491057Z 0 [警告]

The syntax '--log_warnings/-W' is deprecated and will be removed in a 语法'--log_warnings / -W'已过时,将在

future release. 将来的版本。 Please use '--log_error_verbosity' instead. 请改用'--log_error_verbosity'。

2018-06-11T09:22:57.491098Z 0 [Warning] TIMESTAMP with implicit 2018-06-11T09:22:57.491098Z 0 [警告] TIMESTAMP具有隐式

DEFAULT value is deprecated. 不建议使用DEFAULT值。 Please use 请用

--explicit_defaults_for_timestamp server option (see documentation for more details). --explicit_defaults_for_timestamp服务器选项(有关更多详细信息,请参阅文档)。 2018-06-11T09:22:57.492972Z 0 [Note] /usr/sbin/mysqld 2018-06-11T09:22:57.492972Z 0 [Note] / usr / sbin / mysqld

(mysqld 5.7.22-log) starting as process 31633 ... (mysqld 5.7.22-log)从进程31633开始...

2018-06-11T09:22:57.500063Z 0 [Warning] InnoDB: Using 2018-06-11T09:22:57.500063Z 0 [警告] InnoDB:使用

innodb_locks_unsafe_for_binlog is DEPRECATED. innodb_locks_unsafe_for_binlog已弃用。 This option may be 此选项可能是

removed in future releases. 在将来的版本中删除。 Please use READ COMMITTED transaction 请使用READ COMMITTED交易

isolation level instead; 隔离级别; Please refer to 请参阅

http://dev.mysql.com/doc/refman/5.7/en/set-transaction.html http://dev.mysql.com/doc/refman/5.7/en/set-transaction.html

2018-06-11T09:22:57.500175Z 0 [Note] InnoDB: PUNCH HOLE support 2018-06-11T09:22:57.500175Z 0 [Note] InnoDB:PUNCH HOLE支持

available 2018-06-11T09:22:57.500191Z 0 [Note] InnoDB: Mutexes and 可用的2018-06-11T09:22:57.500191Z 0 [Note] InnoDB:Mutexes and

rw_locks use GCC atomic builtins 2018-06-11T09:22:57.500200Z 0 [Note] rw_locks使用GCC原子内置函数2018-06-11T09:22:57.500200Z 0 [注意]

InnoDB: Uses event mutexes 2018-06-11T09:22:57.500205Z 0 [Note] InnoDB:使用事件互斥锁2018-06-11T09:22:57.500205Z 0 [注意]

InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier InnoDB:GCC内置__atomic_thread_fence()用于内存屏障

2018-06-11T09:22:57.500209Z 0 [Note] InnoDB: Compressed tables use 2018-06-11T09:22:57.500209Z 0 [Note] InnoDB:压缩表的使用

zlib 1.2.3 2018-06-11T09:22:57.500213Z 0 [Note] InnoDB: Using Linux zlib 1.2.3 2018-06-11T09:22:57.500213Z 0 [注意] InnoDB:使用Linux

native AIO 2018-06-11T09:22:57.500430Z 0 [Note] InnoDB: Number of 本机AIO 2018-06-11T09:22:57.500430Z 0 [Note] InnoDB:

pools: 1 2018-06-11T09:22:57.500575Z 0 [Note] InnoDB: Using CPU crc32 池:1 2018-06-11T09:22:57.500575Z 0 [注意] InnoDB:使用CPU crc32

instructions 2018-06-11T09:22:57.501015Z 0 [ERROR] InnoDB: Failed to 指令2018-06-11T09:22:57.501015Z 0 [错误] InnoDB:无法

create check sector file, errno:13 Please confirm O_DIRECT is 创建检查扇区文件,错误号:13请确认O_DIRECT为

supported and remove the file /data/check_sector_size if it exists. 支持并删除文件/ data / check_sector_size(如果存在)。

2018-06-11T09:22:57.502305Z 0 [Note] InnoDB: Initializing buffer pool, 2018-06-11T09:22:57.502305Z 0 [注意] InnoDB:正在初始化缓冲池,

total size = 4G, instances = 8, chunk size = 128M 总大小= 4G,实例= 8,块大小= 128M

2018-06-11T09:22:57.799065Z 0 [Note] InnoDB: Completed initialization 2018-06-11T09:22:57.799065Z 0 [Note] InnoDB:已完成初始化

of buffer pool 2018-06-11T09:22:57.857325Z 0 [Note] InnoDB: If the 缓冲池的数量2018-06-11T09:22:57.857325Z 0 [Note] InnoDB:如果

mysqld execution user is authorized, page cleaner thread priority can mysqld执行用户被授权,页面清理线程优先级可以

be changed. 被改变。 See the man page of setpriority(). 请参见setpriority()的手册页。

2018-06-11T09:22:57.870317Z 0 [Note] InnoDB: Highest supported file 2018-06-11T09:22:57.870317Z 0 [Note] InnoDB:支持的最高文件

format is Barracuda. 格式是梭子鱼。 2018-06-11T09:22:58.081570Z 0 [Note] InnoDB: 2018-06-11T09:22:58.081570Z 0 [Note] InnoDB:

Creating shared tablespace for temporary tables 为临时表创建共享表空间

2018-06-11T09:22:58.081656Z 0 [Note] InnoDB: Setting file 2018-06-11T09:22:58.081656Z 0 [注意] InnoDB:设置文件

'/data/databases/ibtmp1' size to 12 MB. '/ data / databases / ibtmp1'大小为12 MB。 Physically writing the file 物理写入文件

full; 充分; Please wait ... 2018-06-11T09:22:58.116190Z 0 [Note] InnoDB: 请稍候... 2018-06-11T09:22:58.116190Z 0 [Note] InnoDB:

File '/data/databases/ibtmp1' size is now 12 MB. 文件“ / data / databases / ibtmp1”的大小现在为12 MB。

2018-06-11T09:22:58.117279Z 0 [Note] InnoDB: 96 redo rollback 2018-06-11T09:22:58.117279Z 0 [Note] InnoDB:96重做回滚

segment(s) found. 找到的细分。 96 redo rollback segment(s) are active. 96个重做回滚段处于活动状态。

2018-06-11T09:22:58.117293Z 0 [Note] InnoDB: 32 non-redo rollback 2018-06-11T09:22:58.117293Z 0 [Note] InnoDB:32非重做回滚

segment(s) are active. 细分有效。 2018-06-11T09:22:58.117670Z 0 [Note] InnoDB: 2018-06-11T09:22:58.117670Z 0 [Note] InnoDB:

Waiting for purge to start 2018-06-11T09:22:58.168094Z 0 [Note] 等待清除开始2018-06-11T09:22:58.168094Z 0 [注意]

InnoDB: 5.7.22 started; InnoDB:5.7.22开始; log sequence number 51745666191 日志序列号51745666191

2018-06-11T09:22:58.168309Z 0 [Note] InnoDB: Loading buffer pool(s) 2018-06-11T09:22:58.168309Z 0 [Note] InnoDB:正在加载缓冲池

from /data/databases/ib_buffer_pool 2018-06-11T09:22:58.168558Z 0 来自/ data / databases / ib_buffer_pool 2018-06-11T09:22:58.168558Z 0

[Note] Plugin 'FEDERATED' is disabled. [注意]插件“ FEDERATED”已禁用。 2018-06-11T09:22:58.183268Z 0 2018-06-11T09:22:58.183268Z 0

[Warning] CA certificate /etc/mysql/mysql-ssl/ca-cert.pem is self [警告] CA证书/etc/mysql/mysql-ssl/ca-cert.pem是自我的

signed. 签。 2018-06-11T09:22:58.184615Z 0 [Note] Server hostname 2018-06-11T09:22:58.184615Z 0 [Note]服务器主机名

(bind-address): '138.AAA.BBB.199'; (绑定地址):'138.AAA.BBB.199'; port: 3306 端口:3306

2018-06-11T09:22:58.184636Z 0 [Note] - '138.AAA.BBB.199' resolves to 2018-06-11T09:22:58.184636Z 0 [Note]-'138.AAA.BBB.199'解析为

'138.AAA.BBB.199'; '138.AAA.BBB.199'; 2018-06-11T09:22:58.184668Z 0 [Note] Server socket 2018-06-11T09:22:58.184668Z 0 [Note]服务器套接字

created on IP: '138.AAA.BBB.199'. 创建于IP:“ 138.AAA.BBB.199”。 2018-06-11T09:22:58.186203Z 0 2018-06-11T09:22:58.186203Z 0

[Warning] 'user' entry 'mysql.session@localhost' ignored in [警告]在'user'条目'mysql.session@localhost'中被忽略

--skip-name-resolve mode. --skip-name-resolve模式。 2018-06-11T09:22:58.186220Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve 2018-06-11T09:22:58.186220Z 0 [警告]'用户'条目'mysql.sys@localhost'在--skip-name-resolve中被忽略

mode. 模式。 2018-06-11T09:22:58.186238Z 0 [Warning] 'user' entry 2018-06-11T09:22:58.186238Z 0 [警告]'用户'条目

'phpmadsys@localhost' ignored in --skip-name-resolve mode. 在--skip-name-resolve模式下忽略了'phpmadsys @ localhost'。

2018-06-11T09:22:58.186260Z 0 [Warning] 'user' entry 2018-06-11T09:22:58.186260Z 0 [警告]'用户'条目

'phpmyadmin@localhost' ignored in --skip-name-resolve mode. 在--skip-name-resolve模式下忽略了'phpmyadmin @ localhost'。

2018-06-11T09:22:58.186308Z 0 [Warning] 'db' entry 'performance_schema 2018-06-11T09:22:58.186308Z 0 [警告]'db'条目'performance_schema

mysql.session@localhost' ignored in --skip-name-resolve mode. 在--skip-name-resolve模式下忽略了mysql.session@localhost'。

2018-06-11T09:22:58.186313Z 0 [Warning] 'db' entry 'sys 2018-06-11T09:22:58.186313Z 0 [警告]'db'条目'sys

mysql.sys@localhost' ignored in --skip-name-resolve mode. 在--skip-name-resolve模式下忽略了mysql.sys@localhost'。

2018-06-11T09:22:58.186318Z 0 [Warning] 'db' entry 'phpmyadmin 2018-06-11T09:22:58.186318Z 0 [警告]'db'条目'phpmyadmin

phpmadsys@localhost' ignored in --skip-name-resolve mode. phpmadsys @ localhost'在--skip-name-resolve模式下被忽略。

2018-06-11T09:22:58.186322Z 0 [Warning] 'db' entry 'performance_schema 2018-06-11T09:22:58.186322Z 0 [警告]'db'条目'performance_schema

datadog@localhost' ignored in --skip-name-resolve mode. 在--skip-name-resolve模式下忽略了datadog @ localhost'。

2018-06-11T09:22:58.186327Z 0 [Warning] 'db' entry 'phpmyadmin 2018-06-11T09:22:58.186327Z 0 [警告]'db'条目'phpmyadmin

phpmyadmin@localhost' ignored in --skip-name-resolve mode. phpmyadmin @ localhost'在--skip-name-resolve模式下被忽略。

2018-06-11T09:22:58.186340Z 0 [Warning] 'proxies_priv' entry '@ 2018-06-11T09:22:58.186340Z 0 [警告]'proxies_priv'条目'@

root@localhost' ignored in --skip-name-resolve mode. 在--skip-name-resolve模式下忽略了root @ localhost'。

2018-06-11T09:22:58.188628Z 0 [Warning] 'tables_priv' entry 'user 2018-06-11T09:22:58.188628Z 0 [警告]'tables_priv'条目'用户

mysql.session@localhost' ignored in --skip-name-resolve mode. 在--skip-name-resolve模式下忽略了mysql.session@localhost'。

2018-06-11T09:22:58.188649Z 0 [Warning] 'tables_priv' entry 2018-06-11T09:22:58.188649Z 0 [警告]'tables_priv'条目

'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode. 在--skip-name-resolve模式下忽略了'sys_config mysql.sys@localhost'。

2018-06-11T09:22:58.192624Z 0 [Warning] Neither --relay-log nor 2018-06-11T09:22:58.192624Z 0 [警告] --relay-log或

--relay-log-index were used; --relay-log-index被使用; so replication may break when this MySQL server acts as a slave and has his hostname changed!! 因此,当此MySQL服务器充当从属服务器并更改其主机名时,复制可能会中断! Please use 请用

'--relay-log=dvm02-relay-bin' to avoid this problem. '--relay-log = dvm02-relay-bin'可以避免此问题。

2018-06-11T09:22:58.206545Z 0 [Note] Event Scheduler: Loaded 0 events 2018-06-11T09:22:58.206545Z 0 [Note]事件计划程序:已加载0个事件

2018-06-11T09:22:58.206745Z 0 [Note] /usr/sbin/mysqld: ready for 2018-06-11T09:22:58.206745Z 0 [Note] / usr / sbin / mysqld:准备

connections. 连接。 Version: '5.7.22-log' socket: 版本:“ 5.7.22-log”套接字:

'/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server '/var/run/mysqld/mysqld.sock'端口:3306 MySQL Community Server

(GPL) 2018-06-11T09:22:58.207175Z 2 [Note] Plugin group_replication (GPL)2018-06-11T09:22:58.207175Z 2 [Note]插件group_replication

reported: 'Group communication SSL configuration: 报告:“组通信SSL配置:

group_replication_ssl_mode: "REQUIRED"; group_replication_ssl_mode:“必需”; server_key_file: server_key_file:

"/etc/mysql/mysql-ssl/server-key.pem"; “ /etc/mysql/mysql-ssl/server-key.pem”; server_cert_file: server_cert_file:

"/etc/mysql/mysql-ssl/server-cert.pem"; “ /etc/mysql/mysql-ssl/server-cert.pem”; client_key_file: client_key_file:

"/etc/mysql/mysql-ssl/server-key.pem"; “ /etc/mysql/mysql-ssl/server-key.pem”; client_cert_file: client_cert_file:

"/etc/mysql/mysql-ssl/server-cert.pem"; “ /etc/mysql/mysql-ssl/server-cert.pem”; ca_file: ca_file:

"/etc/mysql/mysql-ssl/ca-cert.pem"; “ /etc/mysql/mysql-ssl/ca-cert.pem”; ca_path: ""; ca_path:“”; cipher: ""; 密码:“”;

tls_version: "TLSv1,TLSv1.1"; tls_version:“ TLSv1,TLSv1.1”; crl_file: ""; crl_file:“”; crl_path: ""' crl_path:“”

2018-06-11T09:22:58.207378Z 2 [Warning] Plugin group_replication 2018-06-11T09:22:58.207378Z 2 [警告]插件group_replication

reported: '[GCS] Automatically adding IPv4 localhost address to the 报告:“ [GCS]自动将IPv4本地主机地址添加到

whitelist. 白名单。 It is mandatory that it is added.' 必须添加它。”

2018-06-11T09:22:58.207820Z 2 [Note] Plugin group_replication 2018-06-11T09:22:58.207820Z 2 [Note]插件group_replication

reported: 'Initialized group communication with configuration: 报告:“使用配置初始化群组通信:

group_replication_group_name: "9dc4ae01-6664-437a-83f8-80546d58e025"; group_replication_group_name:“ 9dc4ae01-6664-437a-83f8-80546d58e025”;

group_replication_local_address: "138.AAA.BBB.199:33061"; group_replication_local_address:“ 138.AAA.BBB.199:33061”;

group_replication_group_seeds: group_replication_group_seeds:

"172.AAA.BBB.166:33061,138.AAA.BBB.199:33061"; “ 172.AAA.BBB.166:33061,138.AAA.BBB.199:33061”;

group_replication_bootstrap_group: false; group_replication_bootstrap_group:否;

group_replication_poll_spin_loops: 0; group_replication_poll_spin_loops:0;

group_replication_compression_threshold: 1000000; group_replication_compression_threshold:1000000;

group_replication_ip_whitelist: "172.AAA.BBB.166,138.AAA.BBB.199"' group_replication_ip_whitelist:“ 172.AAA.BBB.166,138.AAA.BBB.199”'

2018-06-11T09:22:58.207853Z 2 [Note] Plugin group_replication 2018-06-11T09:22:58.207853Z 2 [Note]插件group_replication

reported: '[GCS] Configured number of attempts to join: 0' 报告:“ [GCS]配置的尝试加入次数:0”

2018-06-11T09:22:58.207859Z 2 [Note] Plugin group_replication 2018-06-11T09:22:58.207859Z 2 [Note]插件group_replication

reported: '[GCS] Configured time between attempts to join: 5 seconds' 报告:“ [GCS]配置的两次尝试之间的时间:5秒”

2018-06-11T09:22:58.207878Z 2 [Note] Plugin group_replication 2018-06-11T09:22:58.207878Z 2 [Note]插件group_replication

reported: 'Member configuration: member_id: 2; 报告:“成员配置:member_id:2; member_uuid: member_uuid:

"822868f9-52a0-11e8-aa0e-1e45f9551f27"; “ 822868f9-52a0-11e8-aa0e-1e45f9551f27”; single-primary mode: "false"; 单主要模式:“ false”;

group_replication_auto_increment_increment: 7; group_replication_auto_increment_increment:7; ' '

2018-06-11T09:22:58.209024Z 3 [Note] 'CHANGE MASTER TO FOR CHANNEL 2018-06-11T09:22:58.209024Z 3 [Note]'将主频道更改为频道

'group_replication_applier' executed'. 已执行“ group_replication_applier”。 Previous state 先前状态

master_host='', master_port= 0, master_log_file='', master_host ='',master_port = 0,master_log_file ='',

master_log_pos= 4, master_bind=''. master_log_pos = 4,master_bind =''。 New state master_host='', 新状态master_host ='',

master_port= 0, master_log_file='', master_log_pos= 4, master_bind=''. master_port = 0,master_log_file ='',master_log_pos = 4,master_bind =''。

2018-06-11T09:22:58.216904Z 6 [Note] Slave SQL thread for channel 2018-06-11T09:22:58.216904Z 6 [Note]通道的从SQL线程

'group_replication_applier' initialized, starting replication in log 初始化“ group_replication_applier”,开始在日志中复制

'FIRST' at position 0, relay log 位置0,继电器日志中的“ FIRST”

'./dvm02-relay-bin-group_replication_applier.000071' position: 4 './dvm02-relay-bin-group_replication_applier.000071'位置:4

2018-06-11T09:22:58.216931Z 2 [Note] Plugin group_replication 2018-06-11T09:22:58.216931Z 2 [Note]插件group_replication

reported: 'Group Replication applier module successfully initialized!' 报告:“组复制应用程序模块已成功初始化!”

2018-06-11T09:22:58.241357Z 0 [Note] Plugin group_replication 2018-06-11T09:22:58.241357Z 0 [Note]插件group_replication

reported: 'XCom protocol version: 3' 2018-06-11T09:22:58.241397Z 0 报告:'XCom协议版本:3'2018-06-11T09:22:58.241397Z 0

[Note] Plugin group_replication reported: 'XCom initialized and ready [注意]插件group_replication报告:'XCom已初始化并准备就绪

to accept incoming connections on port 33061' 接受端口33061'上的传入连接

2018-06-11T09:22:59.213826Z 0 [Note] InnoDB: Buffer pool(s) load 2018-06-11T09:22:59.213826Z 0 [Note] InnoDB:缓冲池加载

completed at 180611 11:22:59 2018-06-11T09:23:00.316791Z 0 [Note] 于180611 11:22:59 2018-06-11T09:23:00.316791Z 0完成[注]

Plugin group_replication reported: 'Group membership changed to 插件group_replication报告:'组成员身份更改为

172.AAA.BBB.166:3306, 138.AAA.BBB.199:3306 on view 15271181169364149:16.' 观看15271181169364149:16上的172.AAA.BBB.166:3306、138.AAA.BBB.199:3306”。

sorry for the delay. 抱歉耽搁了。

From your error log I can't see any issues on recovery being thrown but I either don't see any connection attempts. 从您的错误日志中,我看不到任何有关恢复的问题,但是我也看不到任何连接尝试。 I wonder if you have some issues with data in the group replication relay logs... 我想知道您是否在组复制中继日志中的数据有问题...

I suggest you open a bug if the problem still persists. 如果问题仍然存在,建议您打开一个错误。 As a workaround you can try to reset the applier channel before "START GROUP_REPLICATION" 解决方法是,您可以尝试在“ START GROUP_REPLICATION”之前重置申请者频道

RESET SLAVE ALL FOR CHANNEL "group_replication_applier"; 重置从属频道“ group_replication_applier”;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM