Debian Codegraph @

mysql-test/suite/group_replication/r/gr_max_group_size.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
7 ############################################################
8 # 1. Bootstrap a group.
9 [connection server1]
10 include/start_and_bootstrap_group_replication.inc
11
12 ############################################################
13 # 2. Fake that group size will be 10 when server 2 joins.
14 # Server 2 will be unable to join.
15 [connection server2]
16 SET SESSION sql_log_bin= 0;
17 call mtr.add_suppression("The START GROUP_REPLICATION command failed since the group already has 9 members");
18 SET SESSION sql_log_bin= 1;
19 SET @debug_save= @@GLOBAL.DEBUG;
20 SET @@GLOBAL.DEBUG='+d,group_replication_set_number_of_members_on_view_changed_to_10';
21 START GROUP_REPLICATION;
22 ERROR HY000: The START GROUP_REPLICATION command failed since the group already has 9 members.
23 include/gr_wait_for_member_state.inc
24 SET @@GLOBAL.DEBUG= @debug_save;
25
26 ############################################################
27 # 3. Group will remain with only server 1 (and 8 more fake
28 # members).
29 [connection server1]
30 include/rpl_gr_wait_for_number_of_members.inc
31
32 ############################################################
33 # 4. Cleanup.
34 include/group_replication_end.inc