File: binlog_gtid_exhausted.result

package info (click to toggle)
mysql-8.0 8.0.43-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,273,924 kB
  • sloc: cpp: 4,684,605; ansic: 412,450; pascal: 108,398; java: 83,641; perl: 30,221; cs: 27,067; sql: 26,594; sh: 24,181; python: 21,816; yacc: 17,169; php: 11,522; xml: 7,388; javascript: 7,076; makefile: 2,194; lex: 1,075; awk: 670; asm: 520; objc: 183; ruby: 97; lisp: 86
file content (44 lines) | stat: -rw-r--r-- 2,165 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
call mtr.add_suppression("An error occurred during flush stage of the commit");
call mtr.add_suppression("Attempting backtrace. You can use the following information to find out");
SET GLOBAL binlog_error_action=IGNORE_ERROR;
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
RESET MASTER;
SET GLOBAL gtid_purged = CONCAT(@@GLOBAL.server_uuid, ':1-9223372036854775805');
INSERT INTO t1 VALUES (1);
INSERT INTO t1 VALUES (2);
ERROR HY000: Impossible to generate GTID: the integer component reached the maximum value. Restart the server with a new server_uuid.
include/assert_grep.inc [ER_GNO_EXHAUSTED found in server error log]
include/assert.inc [Count of elements in t1 should be 2.]
# restart
RESET MASTER;
DROP TABLE t1;
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
RESET MASTER;
SET GLOBAL gtid_purged = CONCAT(@@GLOBAL.server_uuid, ':1-9223372036854775805');
include/assert.inc [Binlog file must not rotate after SET GTID_PURGED]
INSERT INTO t1 VALUES (1);
SET GLOBAL binlog_error_action=ABORT_SERVER;
INSERT INTO t1 VALUES (2);
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.
RESET MASTER;
DROP TABLE t1;
include/assert_grep.inc [ER_GNO_EXHAUSTED server is being stopped found in server error log]
# restart
RESET MASTER;
CREATE TABLE t1(i INT);
DROP TABLE t1;
include/assert_grep.inc [ER_WARN_GTID_THRESHOLD_BREACH found in server error log]
RESET MASTER;
CREATE TABLE t1(i INT);
include/assert_grep.inc [No new ER_WARN_GTID_THRESHOLD_BREACH found in server error log]
DROP TABLE t1;
# restart
RESET MASTER;
SET GLOBAL gtid_purged = CONCAT('dddddddd-dddd-dddd-dddd-dddddddddddd:1-', (1 << 62));
SET GLOBAL gtid_purged = CONCAT('+SERVER_UUID:1-', (1 << 62));
include/assert_grep.inc [No ER_WARN_GTID_THRESHOLD_BREACH found in server error log]
RESET MASTER;
SET GLOBAL gtid_purged = CONCAT('dddddddd-dddd-dddd-dddd-dddddddddddd:1-', (1 << 63) - 2);
SET GLOBAL gtid_purged = CONCAT('+SERVER_UUID:1-25');
include/assert_grep.inc [No new ER_WARN_GTID_THRESHOLD_BREACH found in server error log]
# restart