Debian Codegraph @

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

raw
1 include/have_replication_observers_example_plugin.inc
2 include/group_replication.inc
3 Warnings:
4 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
5 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.
6 [connection server1]
7
8 # 1. Load plugin replication observers example on server1
9 include/install_replication_observers_example.inc
10
11 # 2. Load plugin replication observers example on server2
12 [connection server2]
13 include/install_replication_observers_example.inc
14
15 # 3. Enable debug point that causes a failure on recv subscriber
16 # Adding debug point 'gr_message_service_fail_recv' to @@GLOBAL.debug
17
18 # 4. Execute UDF that will transmit tag and message over GR send service
19 SELECT group_replication_service_message_send("tag", "Server2 sent a message");
20 group_replication_service_message_send("tag", "Server2 sent a message")
21 The tag and message was sent to the group.
22 include/gr_wait_for_member_state.inc
23
24 # 5. Assert server2 logged error when failed notification on recv service
25 include/assert_grep.inc [Server 2 logged failure to notify recv service.]
26
27 # 6. Assert server1 received message transmitted by GR message delivery
28 include/assert_grep.inc [Server 1 received message from server 2.]
29
30 # 7. Assert server2 do not received any message and is read only
31 [connection server2]
32 include/assert_grep.inc [Server 2 received 0 messages.]
33 include/assert_and_disable_read_only.inc
34
35 # 8. Cleanup
36 # Removing debug point 'gr_message_service_fail_recv' from @@GLOBAL.debug
37 include/uninstall_replication_observers_example.inc
38 [connection server1]
39 include/uninstall_replication_observers_example.inc
40 include/group_replication_end.inc