Debian Codegraph @

mysql-test/suite/group_replication/r/gr_connect_during_delayed_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 [connection server_1]
7 SET @@GLOBAL.DEBUG= @debug_save;
8 #
9 # 1. Check that the delayed thread is not running
10 #
11 include/assert.inc [The delayed initialization thread is not running]
12 #
13 # 2. Start group replication. Check the thread is still not there
14 #
15 include/start_and_bootstrap_group_replication.inc
16 include/assert.inc [The delayed initialization thread is not running after start]
17 #
18 # 3. Restart the server with start on boot enabled
19 #
20 # restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group_replication_start_on_boot=1 --group-replication-group-name=GROUP_REPLICATION_GROUP_NAME --group_replication_bootstrap_group=1 --loose-debug=+d,group_replication_before_joining_the_group
21 include/rpl_reconnect.inc
22 #
23 # 3.1 Check the super read only mode is enabled
24 #
25 include/assert.inc [The super_read_only mode should be 1 here.]
26 #
27 # 3.2 There is a delayed initialization thread running
28 #
29 include/assert.inc [The delayed initialization thread is running after boot]
30 #
31 # 3.3 The member is OFFLINE as the join is stuck
32 #
33 # Asserting that the member here is offline.
34 include/gr_wait_for_member_state.inc
35 #
36 # 4. Disable the read mode on the server
37 #
38 SET GLOBAL read_only= 0;
39 #
40 # 5. Uninstall GR plugin should fail
41 #
42 UNINSTALL PLUGIN group_replication;
43 ERROR HY000: Plugin 'group_replication' cannot be uninstalled now. Plugin is busy, it cannot be uninstalled. To force a stop run STOP GROUP_REPLICATION and then UNINSTALL PLUGIN group_replication.
44 #
45 # 6. Enable the read mode on the server
46 #
47 SET GLOBAL super_read_only= 1;
48 #
49 # 7. Execute a parallel start request that will fail after join
50 #
51 [connection server_1]
52 START GROUP_REPLICATION;;
53 #
54 # 8. Unblock. The above start should fail and the server should go ONLINE
55 #
56 [connection server1]
57 SET DEBUG_SYNC= "now SIGNAL signal.continue_group_join";
58 # Wait for the server to be ONLINE
59 include/gr_wait_for_member_state.inc
60 [connection server_1]
61 ERROR HY000: The START GROUP_REPLICATION command failed since the group is already running.
62 #
63 # Cleanup
64 #
65 SET @@GLOBAL.DEBUG= @debug_save;
66 include/group_replication_end.inc