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
|
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]
SET GLOBAL DEBUG ='+d,set_commit_parent_150';
SET @saved_rpco= @@GLOBAL.replica_preserve_commit_order;
include/stop_slave.inc
SET GLOBAL replica_preserve_commit_order=OFF;
#setup the databases and tables
CREATE DATABASE db1;
CREATE TABLE db1.t (a int) engine=innodb;
SET GLOBAL DEBUG ='-d,set_commit_parent_150';
SET GLOBAL DEBUG ='+d,set_commit_parent_100';
INSERT INTO db1.t values (1),(2),(3);
SET GLOBAL replica_parallel_type='DATABASE';
Warnings:
Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release.
include/start_slave.inc
include/sync_slave_sql_with_master.inc
include/diff_tables.inc [master:db1.t,slave:db1.t]
include/stop_slave.inc
SET GLOBAL DEBUG ='-d,set_commit_parent_100';
SET GLOBAL DEBUG ='+d,set_commit_parent_150';
INSERT INTO db1.t values (1),(2),(3);
SET GLOBAL replica_parallel_type='LOGICAL_CLOCK';
Warnings:
Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release.
include/start_slave.inc
include/sync_slave_sql_with_master.inc
include/diff_tables.inc [master:db1.t,slave:db1.t]
include/stop_slave.inc
SET GLOBAL DEBUG ='-d,set_commit_parent_150';
SET GLOBAL DEBUG ='+d,set_commit_parent_100';
INSERT INTO db1.t values (1),(2),(3);
SET GLOBAL replica_parallel_type='DATABASE';
Warnings:
Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release.
include/start_slave.inc
include/sync_slave_sql_with_master.inc
include/diff_tables.inc [master:db1.t,slave:db1.t]
DROP DATABASE db1;
include/sync_slave_sql_with_master.inc
include/stop_slave.inc
include/start_slave.inc
include/rpl_end.inc
|