Debian Codegraph @

mysql-test/suite/group_replication/r/gr_primary_mode_group_operations_32.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 # 1. Change to single primary mode.
8 SELECT group_replication_switch_to_single_primary_mode("MEMBER1_UUID");
9 group_replication_switch_to_single_primary_mode("MEMBER1_UUID")
10 Mode switched to single-primary successfully.
11 #
12 # 2. Check the values on the other member first and then on the invoker
13 [connection server2]
14 include/gr_assert_secondary_member.inc
15 [connection server1]
16 include/gr_assert_primary_member.inc
17 #
18 # 3. Change to multi primary mode
19 [connection server1]
20 SELECT group_replication_switch_to_multi_primary_mode();
21 group_replication_switch_to_multi_primary_mode()
22 Mode switched to multi-primary successfully.
23 #
24 # 4. Check the values on the other member first and then on the invoker
25 [connection server2]
26 include/gr_assert_multi_primary_mode.inc
27 [connection server1]
28 include/gr_assert_multi_primary_mode.inc
29 #
30 # 5. Cleanup
31 include/group_replication_end.inc