File: binlog_set_trans_dependency_deadlock.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 (34 lines) | stat: -rw-r--r-- 1,312 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
#
# Bug 92108: Deadlock by concurrent SHOW BINLOGS,
# performance_schema.session_variables query, and binlog purge
#
RESET MASTER;
FLUSH LOGS;
connect con1,localhost,root,,;
SET DEBUG_SYNC="purge_logs_after_lock_index_before_thread_count SIGNAL purge_ready WAIT_FOR finish_purge";
PURGE BINARY LOGS BEFORE '2038-01-19';
connect con2,localhost,root,,;
SET DEBUG_SYNC="materialize_session_variable_array_THD_locked SIGNAL pfs_ready WAIT_FOR finish_pfs";
SELECT * FROM performance_schema.session_variables WHERE VARIABLE_NAME LIKE 'binlog_transaction_dependency_tracking';;
connect con3,localhost,root,,;
SET DEBUG_SYNC="show_binlogs_after_lock_log_before_lock_index SIGNAL show_ready WAIT_FOR finish_show";
SHOW BINARY LOGS;
connection default;
SET DEBUG_SYNC="now WAIT_FOR purge_ready";
SET DEBUG_SYNC="now WAIT_FOR pfs_ready";
SET DEBUG_SYNC="now WAIT_FOR show_ready";
SET DEBUG_SYNC="now SIGNAL finish_purge";
SET DEBUG_SYNC="now SIGNAL finish_pfs";
SET DEBUG_SYNC="now SIGNAL finish_show";
connection con1;
Warnings:
Warning	1868	file binlog.000002 was not purged because it is the active log file.
disconnect con1;
connection con2;
VARIABLE_NAME	VARIABLE_VALUE
binlog_transaction_dependency_tracking	COMMIT_ORDER
disconnect con2;
connection con3;
disconnect con3;
connection default;
SET DEBUG_SYNC= 'RESET';