Debian Codegraph @

mysql-test/suite/binlog/r/compression_incident_event.result

raw
1 call mtr.add_suppression("An incident event has been written to the binary log which will stop the replicas");
2 SET SESSION binlog_transaction_compression = ON;
3 CREATE TABLE t1(c1 INT PRIMARY KEY, data TEXT(30000));
4 RESET MASTER;
5 TRUNCATE performance_schema.binary_log_transaction_compression_stats;
6 include/rpl_log_file_max_number.inc
7 # Adding debug point 'binlog_compression_inject_incident' to @@GLOBAL.debug
8 INSERT INTO t1 VALUES (1, REPEAT ('a', 1000));
9 Check that Incident has been written
10 Incident
11 # Removing debug point 'binlog_compression_inject_incident' from @@GLOBAL.debug
12 include/assert.inc [Expected event type Anonymous_Gtid]
13 include/assert.inc [Expected event type Incident]
14 include/assert.inc [Number of rows in performance_schema.binary_log_transaction_compression_stats = 0 for compression_type != NONE (because of incident event)]
15 include/assert.inc [Number of rows in performance_schema.binary_log_transaction_compression_stats = 1 for compression_type = NONE]
16 include/rpl_log_file_max_number.inc
17 include/assert.inc [incident rotated binlog]
18 DROP TABLE t1;
19 SET SESSION binlog_transaction_compression = SAVED;
20 RESET MASTER;
21 TRUNCATE performance_schema.binary_log_transaction_compression_stats;