| 1 |
include/group_replication.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 server1] |
| 6 |
[connection server1] |
| 7 |
SET SESSION sql_log_bin= 0; |
| 8 |
include/gtid_utils.inc |
| 9 |
SET SESSION sql_log_bin= 1; |
| 10 |
[connection server2] |
| 11 |
SET SESSION sql_log_bin= 0; |
| 12 |
include/gtid_utils.inc |
| 13 |
SET SESSION sql_log_bin= 1; |
| 14 |
[connection server1] |
| 15 |
include/start_and_bootstrap_group_replication.inc |
| 16 |
CREATE TABLE t1 (i INT PRIMARY KEY); |
| 17 |
include/assert.inc [GTID_EXECUTED must contain two transactions, one from view change and other being the create table.] |
| 18 |
[connection server2] |
| 19 |
include/start_group_replication.inc |
| 20 |
[connection server1] |
| 21 |
include/assert.inc [GTID_EXECUTED must contain three transactions, the new one from the insert.] |
| 22 |
include/assert_binlog_events.inc [Gtid # Query/BEGIN # View_change # Query/COMMIT # !Gtid_transaction # Gtid # Query/BEGIN # View_change # Query/COMMIT] |
| 23 |
[connection server2] |
| 24 |
include/assert_binlog_events.inc [Gtid # Query/BEGIN # View_change # Query/COMMIT # !Gtid_transaction # Gtid # Query/BEGIN # View_change # Query/COMMIT] |
| 25 |
include/stop_group_replication.inc |
| 26 |
[connection server1] |
| 27 |
SET GTID_NEXT= "32e12bc9-01d2-11e6-a992-02420ef39c5b:4"; |
| 28 |
INSERT INTO t1 VALUES(2); |
| 29 |
SET GTID_NEXT= "32e12bc9-01d2-11e6-a992-02420ef39c5b:5"; |
| 30 |
INSERT INTO t1 VALUES(3); |
| 31 |
SET GTID_NEXT='AUTOMATIC'; |
| 32 |
include/stop_group_replication.inc |
| 33 |
[connection server1] |
| 34 |
include/start_and_bootstrap_group_replication.inc |
| 35 |
[connection server2] |
| 36 |
include/start_group_replication.inc |
| 37 |
include/assert_binlog_events.inc [Gtid # Query/BEGIN # View_change # Query/COMMIT # !Gtid_transaction # Gtid # Query/BEGIN # View_change # Query/COMMIT # !Gtid_transaction # !Gtid_transaction # Gtid # Query/BEGIN # View_change # Query/COMMIT # Gtid # Query/BEGIN # View_change # Query/COMMIT] |
| 38 |
[connection server1] |
| 39 |
include/assert_binlog_events.inc [Gtid # Query/BEGIN # View_change # Query/COMMIT # !Gtid_transaction # Gtid # Query/BEGIN # View_change # Query/COMMIT # !Gtid_transaction # !Gtid_transaction # Gtid # Query/BEGIN # View_change # Query/COMMIT # Gtid # Query/BEGIN # View_change # Query/COMMIT] |
| 40 |
include/assert.inc [The GTID EXECUTED must not contain holes.] |
| 41 |
DROP TABLE t1; |
| 42 |
include/rpl_sync.inc |
| 43 |
[connection server1] |
| 44 |
SET SESSION sql_log_bin= 0; |
| 45 |
include/gtid_utils_end.inc |
| 46 |
SET SESSION sql_log_bin= 1; |
| 47 |
[connection server2] |
| 48 |
SET SESSION sql_log_bin= 0; |
| 49 |
include/gtid_utils_end.inc |
| 50 |
SET SESSION sql_log_bin= 1; |
| 51 |
include/group_replication_end.inc |