Server IP : 104.21.38.3 / Your IP : 172.70.189.22 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/mysql/src/mysql-test/suite/binlog/r/ |
Upload File : |
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;