Debian Codegraph @

mysql-test/suite/binlog_gtid/r/binlog_gtid_exhausted.result

raw
1 call mtr.add_suppression("An error occurred during flush stage of the commit");
2 call mtr.add_suppression("Attempting backtrace. You can use the following information to find out");
3 SET GLOBAL binlog_error_action=IGNORE_ERROR;
4 CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
5 RESET MASTER;
6 SET GLOBAL gtid_purged = CONCAT(@@GLOBAL.server_uuid, ':1-9223372036854775805');
7 INSERT INTO t1 VALUES (1);
8 INSERT INTO t1 VALUES (2);
9 ERROR HY000: Impossible to generate GTID: the integer component reached the maximum value. Restart the server with a new server_uuid.
10 include/assert_grep.inc [ER_GNO_EXHAUSTED found in server error log]
11 include/assert.inc [Count of elements in t1 should be 2.]
12 # restart
13 RESET MASTER;
14 DROP TABLE t1;
15 CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
16 RESET MASTER;
17 SET GLOBAL gtid_purged = CONCAT(@@GLOBAL.server_uuid, ':1-9223372036854775805');
18 include/assert.inc [Binlog file must not rotate after SET GTID_PURGED]
19 INSERT INTO t1 VALUES (1);
20 SET GLOBAL binlog_error_action=ABORT_SERVER;
21 INSERT INTO t1 VALUES (2);
22 ERROR HY000: Binary logging not possible. Message: Impossible to generate GTID: the integer component reached the maximum value. Restart the server with a new server_uuid. Server is being stopped.
23 RESET MASTER;
24 DROP TABLE t1;
25 include/assert_grep.inc [ER_GNO_EXHAUSTED server is being stopped found in server error log]
26 # restart
27 RESET MASTER;
28 CREATE TABLE t1(i INT);
29 DROP TABLE t1;
30 include/assert_grep.inc [ER_WARN_GTID_THRESHOLD_BREACH found in server error log]
31 RESET MASTER;
32 CREATE TABLE t1(i INT);
33 include/assert_grep.inc [No new ER_WARN_GTID_THRESHOLD_BREACH found in server error log]
34 DROP TABLE t1;
35 # restart
36 RESET MASTER;
37 SET GLOBAL gtid_purged = CONCAT('dddddddd-dddd-dddd-dddd-dddddddddddd:1-', (1 << 62));
38 SET GLOBAL gtid_purged = CONCAT('+SERVER_UUID:1-', (1 << 62));
39 include/assert_grep.inc [No ER_WARN_GTID_THRESHOLD_BREACH found in server error log]
40 RESET MASTER;
41 SET GLOBAL gtid_purged = CONCAT('dddddddd-dddd-dddd-dddd-dddddddddddd:1-', (1 << 63) - 2);
42 SET GLOBAL gtid_purged = CONCAT('+SERVER_UUID:1-25');
43 include/assert_grep.inc [No new ER_WARN_GTID_THRESHOLD_BREACH found in server error log]
44 # restart