⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
suite
/
binlog
/
r
/
View File Name :
binlog_group_commit_gtid_order.result
RESET MASTER; CREATE TABLE t1 (c1 INT) Engine=InnoDB; CREATE TABLE t2 (c1 INT) Engine=InnoDB; SET @free_intervals_mutex_before= ( SELECT COUNT_STAR FROM performance_schema.events_waits_summary_global_by_event_name WHERE EVENT_NAME='wait/synch/mutex/sql/Gtid_set::gtid_executed::free_intervals_mutex'); SET GLOBAL binlog_group_commit_sync_delay=1000000; # Create two new connections: con1 and con2 # At con1 SET DEBUG_SYNC='reached_finish_commit SIGNAL go_con2 WAIT_FOR go_con1'; INSERT INTO t1 VALUES (1); # At con2 # Adding debug point 'leaving_finish_commit' to @@SESSION.debug SET DEBUG_SYNC='now WAIT_FOR go_con2'; INSERT INTO t2 VALUES (2); SET DEBUG_SYNC='now WAIT_FOR signal_leaving_finish_commit'; SET DEBUG_SYNC='now SIGNAL go_con1'; # Removing debug point 'leaving_finish_commit' from @@SESSION.debug # At default connection include/assert.inc ["The first insert has finished"] include/assert.inc ["No gaps should exist in gtid_executed after the second insert"] SET @free_intervals_mutex_after= ( SELECT COUNT_STAR FROM performance_schema.events_waits_summary_global_by_event_name WHERE EVENT_NAME='wait/synch/mutex/sql/Gtid_set::gtid_executed::free_intervals_mutex'); include/assert.inc ["gtid_executed::free_intervals_mutex wasn't used"] SET GLOBAL binlog_group_commit_sync_delay=0; DROP TABLE t1, t2; RESET MASTER;