File: rpl_mts_logical_clock_crash.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 (56 lines) | stat: -rw-r--r-- 2,299 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
45
46
47
48
49
50
51
52
53
54
55
56
include/master-slave.inc
Warnings:
Note	####	Sending passwords in plain text without SSL/TLS is extremely insecure.
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.
[connection master]
CREATE TABLE t1(c1 INT PRIMARY KEY) ENGINE = InnoDB;
CREATE TABLE t2(c1 INT PRIMARY KEY) ENGINE = InnoDB;
include/sync_slave_sql_with_master.inc
include/stop_slave_sql.inc
[connection master]
SET @save_debug = @@GLOBAL.debug;
SET GLOBAL debug = "+d,set_commit_parent_100";
INSERT INTO t2 VALUES(99);
BEGIN;
INSERT INTO t1 VALUES(1);
INSERT INTO t1 VALUES(2);
COMMIT;
BEGIN;
INSERT INTO t1 VALUES(3);
INSERT INTO t1 VALUES(4);
COMMIT;
INSERT INTO t1 VALUES(5);
SET GLOBAL debug = @save_debug;
include/save_master_pos.inc
[connection slave]
SET @save_replica_parallel_type = @@GLOBAL.replica_parallel_type;
Warnings:
Warning	1287	'@@replica_parallel_type' is deprecated and will be removed in a future release.
SET @save_replica_parallel_workers = @@GLOBAL.replica_parallel_workers;
SET @save_replica_transaction_retries = @@GLOBAL.replica_transaction_retries;
SET GLOBAL replica_parallel_type = LOGICAL_CLOCK;
Warnings:
Warning	1287	'@@replica_parallel_type' is deprecated and will be removed in a future release.
SET GLOBAL replica_parallel_workers = 2;
SET GLOBAL replica_transaction_retries = 0;
INSERT INTO t1 VALUES(1);
CALL mtr.add_suppression("Worker . Failed executing transaction.*");
CALL mtr.add_suppression(".*coordinator and worker threads are stopped.*");
LOCK TABLE t1 WRITE;
[connection server_2]
include/sync_slave_io.inc
include/start_slave_sql.inc
[connection slave]
UNLOCK TABLES;
include/wait_for_slave_sql_to_stop.inc
SET GLOBAL replica_parallel_workers = @save_replica_parallel_workers;
SET GLOBAL replica_parallel_type = @save_replica_parallel_type;
Warnings:
Warning	1287	'@@replica_parallel_type' is deprecated and will be removed in a future release.
SET GLOBAL replica_transaction_retries = @save_replica_transaction_retries;
TRUNCATE t1;
include/start_slave_sql.inc
[connection master]
DROP TABLE t1;
DROP TABLE t2;
include/rpl_end.inc