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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
include/master-slave.inc
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.
[connection master]
CREATE TABLE t1 (a INT);
include/sync_slave_sql_with_master.inc
[connection slave]
SET @saved_replica_parallel_workers = @@GLOBAL.replica_parallel_workers;
include/stop_slave.inc
SET @@GLOBAL.replica_parallel_workers = 0;
Warnings:
Warning 1287 '0' is deprecated and will be removed in a future release. Please use 1 instead
include/start_slave.inc
[connection master]
INSERT INTO t1 VALUES (1);
include/sync_slave_sql_with_master.inc
include/stop_slave.inc
SET @@GLOBAL.replica_parallel_workers = 0;
Warnings:
Warning 1287 '0' is deprecated and will be removed in a future release. Please use 1 instead
include/start_slave.inc
include/assert.inc [The GTID information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The OCT information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The ICT information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The start apply timestamp information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The end apply timestamp information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The GTID information about the last applied transaction was preserved after the slave was started]
include/assert.inc [The OCT information about the last applied transaction was preserved after the slave was started]
include/assert.inc [The ICT information about the last applied transaction was preserved after the slave was started]
include/assert.inc [The start apply timestamp information about the last applied transaction was preserved after the slave was started]
include/assert.inc [The end apply timestamp information about the last applied transaction was preserved after the slave was started]
[connection master]
INSERT INTO t1 VALUES (2);
include/sync_slave_sql_with_master.inc
include/stop_slave.inc
SET @@GLOBAL.replica_parallel_workers = 1;
include/start_slave.inc
include/assert.inc [The GTID information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The OCT information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The ICT information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The start apply timestamp information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The end apply timestamp information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The GTID information about the last applied transaction was cleared after the slave was started]
include/assert.inc [The OCT information about the last applied transaction was cleared after the slave was started]
include/assert.inc [The ICT information about the last applied transaction was cleared after the slave was started]
include/assert.inc [The start apply timestamp information about the last applied transaction was cleared after the slave was started]
include/assert.inc [The end apply timestamp information about the last applied transaction was cleared after the slave was started]
[connection master]
INSERT INTO t1 VALUES (3);
include/sync_slave_sql_with_master.inc
include/stop_slave.inc
SET @@GLOBAL.replica_parallel_workers = 1;
include/start_slave.inc
include/assert.inc [The GTID information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The OCT information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The ICT information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The start apply timestamp information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The end apply timestamp information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The GTID information about the last applied transaction was cleared after the slave was started]
include/assert.inc [The OCT information about the last applied transaction was cleared after the slave was started]
include/assert.inc [The ICT information about the last applied transaction was cleared after the slave was started]
include/assert.inc [The start apply timestamp information about the last applied transaction was cleared after the slave was started]
include/assert.inc [The end apply timestamp information about the last applied transaction was cleared after the slave was started]
[connection master]
INSERT INTO t1 VALUES (4);
include/sync_slave_sql_with_master.inc
include/stop_slave.inc
SET @@GLOBAL.replica_parallel_workers = 0;
Warnings:
Warning 1287 '0' is deprecated and will be removed in a future release. Please use 1 instead
include/start_slave.inc
include/assert.inc [The GTID information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The OCT information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The ICT information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The start apply timestamp information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The end apply timestamp information about the last applied transaction was preserved after the slave was stopped]
include/assert.inc [The GTID information about the last applied transaction was cleared after the slave was started]
include/assert.inc [The OCT information about the last applied transaction was cleared after the slave was started]
include/assert.inc [The ICT information about the last applied transaction was cleared after the slave was started]
include/assert.inc [The start apply timestamp information about the last applied transaction was cleared after the slave was started]
include/assert.inc [The end apply timestamp information about the last applied transaction was cleared after the slave was started]
[connection master]
DROP TABLE t1;
include/sync_slave_sql_with_master.inc
include/stop_slave.inc
SET @@GLOBAL.replica_parallel_workers = @saved_replica_parallel_workers;
include/start_slave.inc
include/rpl_end.inc
|