Debian Codegraph @

mysql-test/suite/group_replication/r/gr_start_during_start.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. Restart server1 with --group_replication_bootstrap_group=1,
9 # while setting a debug sync point just before bootstrap the
10 # group. This will mimic a start timeout due to all seeds be
11 # unreachable.
12 [connection server1]
13 SET @@GLOBAL.DEBUG= @debug_save;
14 # restart:--group_replication_group_name=GROUP_REPLICATION_GROUP_NAME --group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group_replication_bootstrap_group=1 --group_replication_start_on_boot=1 --loose-debug=+d,group_replication_before_joining_the_group
15 include/rpl_reconnect.inc
16
17 ############################################################
18 # 2. While the start procedure is blocked on the sync point,
19 # do execute START GROUP_REPLICATION, it will fail.
20 include/assert.inc [The super_read_only mode must be 1]
21 include/assert.inc [The delayed initialization thread is running after boot]
22 [connection server_1]
23 START GROUP_REPLICATION;
24
25 ############################################################
26 # 3. Unblock the start procedure, the server start will proceed
27 # and then the START GROUP_REPLICATION will fail.
28 [connection server1]
29 SET DEBUG_SYNC= "now SIGNAL signal.continue_group_join";
30 include/gr_wait_for_member_state.inc
31 [connection server_1]
32 ERROR HY000: The START GROUP_REPLICATION command failed since the group is already running.
33 include/assert.inc [The super_read_only mode must be 0]
34
35 ############################################################
36 # 4. Clean up.
37 [connection server1]
38 SET @@GLOBAL.DEBUG= @debug_save;
39 include/group_replication_end.inc