Debian Codegraph @

mysql-test/suite/group_replication/r/gr_sql_service_failure.result

raw
1 include/group_replication.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 [connection server1]
6 SET SESSION sql_log_bin= 0;
7 call mtr.add_suppression("Failed to establish an internal server connection to execute plugin operations");
8 SET SESSION sql_log_bin= 1;
9
10 # 1. Start GR. Force SQL Service to return error failing Start GR.
11
12 SET @debug_save= @@GLOBAL.DEBUG;
13 SET @@GLOBAL.DEBUG= '+d,group_replication_sql_service_force_error';
14 START GROUP_REPLICATION;
15 ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log.
16
17 # 2. Start GR successfully now.
18
19 SET @@GLOBAL.DEBUG= '-d,group_replication_sql_service_force_error';
20 include/start_and_bootstrap_group_replication.inc
21 [connection server2]
22 include/start_group_replication.inc
23
24 # 3. Clean up.
25
26 [connection server1]
27 SET @@GLOBAL.DEBUG= @debug_save;
28 include/group_replication_end.inc