Server IP : 172.67.216.182 / Your IP : 162.158.88.97 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; call mtr.add_suppression("Failed to save the set of Global Transaction " "Identifiers of the last binary log into the " "mysql.gtid_executed table while the server was " "shutting down. The next server restart will make " "another attempt to save Global Transaction " "Identifiers into the table."); SET @debug_save= @@GLOBAL.DEBUG; CREATE TABLE t1 (a INT) ENGINE=InnoDB; SET @@GLOBAL.DEBUG= "+d,simulate_err_on_write_gtid_into_table"; # restart # # Verify that we can get correct gtid sets after server restarts # even if we encounter an error on writing gtids into table on # server shutdown. # include/assert.inc [committed gtid set is MASTER_UUID:1-2] SELECT * FROM mysql.gtid_executed; source_uuid interval_start interval_end MASTER_UUID 1 2 SET GLOBAL DEBUG= @debug_save; SET GLOBAL binlog_error_action= IGNORE_ERROR; call mtr.add_suppression(".* Turning logging off for the whole duration of the " "MySQL server process. To turn it on again: fix the " "cause, shutdown the MySQL server and restart it."); INSERT INTO t1 VALUES(1); SET SESSION debug="+d,simulate_err_on_write_gtid_into_table"; FLUSH LOGS; ERROR HY000: Got error -1 from storage engine SET SESSION debug="-d,simulate_err_on_write_gtid_into_table"; # # Verify that GTIDs are not saved into gtid_executed table if we # encounter an error on writing gtids into table on binlog rotation. # SELECT * FROM mysql.gtid_executed; source_uuid interval_start interval_end MASTER_UUID 1 2 include/assert.inc [committed gtid set is MASTER_UUID:1-4] SET GLOBAL binlog_error_action= ABORT_SERVER; DROP TABLE t1;