1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
include/rpl_init.inc [topology=1->2, 2->3]
Warnings:
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
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.
Warnings:
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
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.
# A. First server in the replication chain is not 5.8
[connection server_1]
# Adding debug point 'do_not_write_rpl_timestamps' to @@GLOBAL.debug
# A1. Execute a transaction and sync it on all the servers.
CREATE TABLE t1 (a INT);
include/rpl_sync.inc
# A2. Collect both timestamps (original/immediate) from servers 2 and 3.
[connection server_1]
[connection server_2]
[connection server_3]
# A3. Verify that the timestamps are correct.
include/assert.inc [Assert that the OCT is zero in server_2.]
include/assert.inc [Assert that the OCT is zero in server_3.]
include/assert.inc [Assert that ICT exists in server_2.]
include/assert.inc [Assert that ICT exists in server_3.]
# A4. Cleanup
[connection server_1]
# Removing debug point 'do_not_write_rpl_timestamps' from @@GLOBAL.debug
# B. Server in the middle of the replication chain is not 5.8
[connection server_2]
# Adding debug point 'do_not_write_rpl_timestamps' to @@GLOBAL.debug
# B1. Execute a transaction and sync it on all the servers.
[connection server_1]
DROP TABLE t1;
include/rpl_sync.inc
# B2. Collect both timestamps (original/immediate) from servers 1 and 3.
[connection server_1]
[connection server_3]
# B3. Verify that the timestamps are correct.
include/assert.inc [Assert that OCT is same as ICT on server_1 (originating server).]
include/assert.inc [Assert that ICT exists in server_3.]
include/assert.inc [Assert that the OCT is zero in server 3.]
# B4. Cleanup
[connection server_2]
# Removing debug point 'do_not_write_rpl_timestamps' from @@GLOBAL.debug
include/rpl_end.inc
|