Debian Codegraph @

mysql-test/suite/rpl_gtid/r/rpl_simulate_create_chunk_failure.result

raw
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 [connection slave]
7 call mtr.add_suppression("You need to use --log-bin to make --binlog-format work");
8 # Adding debug point 'rpl_gtid_update_on_commit_simulate_out_of_memory' to @@GLOBAL.debug
9 [connection master]
10 #
11 # Commit a transaction on master
12 #
13 CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY);
14 [connection slave]
15 #
16 # Wait the slave server crash caused by 'OUT OF MEMORY' error
17 # on adding GTID into @@GLOBAL.GTID_EXECUTED when applying
18 # the replicated transaction.
19 #
20 include/rpl_start_server.inc [server_number=2]
21 #
22 # Verify that the transaction is committed and its GTID is
23 # added into @@GLOBAL.GTID_EXECUTED and 'gtid_executed'
24 # table after slave server restarts.
25 #
26 SELECT * FROM mysql.gtid_executed;
27 source_uuid interval_start interval_end
28 MASTER_UUID 1 1
29 include/assert.inc [Table t1 exists and is empty]
30 include/start_slave.inc
31 [connection master]
32 DROP TABLE t1;
33 include/rpl_end.inc