| 1 |
include/master-slave.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 master] |
| 6 |
SET GLOBAL DEBUG ='+d,set_commit_parent_150'; |
| 7 |
SET @saved_rpco= @@GLOBAL.replica_preserve_commit_order; |
| 8 |
include/stop_slave.inc |
| 9 |
SET GLOBAL replica_preserve_commit_order=OFF; |
| 10 |
#setup the databases and tables |
| 11 |
CREATE DATABASE db1; |
| 12 |
CREATE TABLE db1.t (a int) engine=innodb; |
| 13 |
SET GLOBAL DEBUG ='-d,set_commit_parent_150'; |
| 14 |
SET GLOBAL DEBUG ='+d,set_commit_parent_100'; |
| 15 |
INSERT INTO db1.t values (1),(2),(3); |
| 16 |
SET GLOBAL replica_parallel_type='DATABASE'; |
| 17 |
Warnings: |
| 18 |
Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release. |
| 19 |
include/start_slave.inc |
| 20 |
include/sync_slave_sql_with_master.inc |
| 21 |
include/diff_tables.inc [master:db1.t,slave:db1.t] |
| 22 |
include/stop_slave.inc |
| 23 |
SET GLOBAL DEBUG ='-d,set_commit_parent_100'; |
| 24 |
SET GLOBAL DEBUG ='+d,set_commit_parent_150'; |
| 25 |
INSERT INTO db1.t values (1),(2),(3); |
| 26 |
SET GLOBAL replica_parallel_type='LOGICAL_CLOCK'; |
| 27 |
Warnings: |
| 28 |
Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release. |
| 29 |
include/start_slave.inc |
| 30 |
include/sync_slave_sql_with_master.inc |
| 31 |
include/diff_tables.inc [master:db1.t,slave:db1.t] |
| 32 |
include/stop_slave.inc |
| 33 |
SET GLOBAL DEBUG ='-d,set_commit_parent_150'; |
| 34 |
SET GLOBAL DEBUG ='+d,set_commit_parent_100'; |
| 35 |
INSERT INTO db1.t values (1),(2),(3); |
| 36 |
SET GLOBAL replica_parallel_type='DATABASE'; |
| 37 |
Warnings: |
| 38 |
Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release. |
| 39 |
include/start_slave.inc |
| 40 |
include/sync_slave_sql_with_master.inc |
| 41 |
include/diff_tables.inc [master:db1.t,slave:db1.t] |
| 42 |
DROP DATABASE db1; |
| 43 |
include/sync_slave_sql_with_master.inc |
| 44 |
include/stop_slave.inc |
| 45 |
include/start_slave.inc |
| 46 |
include/rpl_end.inc |