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