Server IP : 172.67.216.182 / Your IP : 162.158.108.168 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/ndb/r/ |
Upload File : |
# We are using some debug-only features in this test # bulk delete with timeout error 4012 create table t4(id int primary key, val int) engine=ndb; insert into t4 values (1,1), (2,2), (3,3), (4,4), (5,5); set @save_debug = @@session.debug; # Error injection in Ndb::waitCompletedTransactions so that transaction times out quickly SET SESSION debug="+d,early_trans_timeout"; delete from t4 where id > 0; ERROR HY000: Got error 4012 'Request ndbd time-out, maybe due to high load or communication problems' from NDBCLUSTER SET SESSION debug=@save_debug; drop table t4; # bulk delete ignore with timeout error 4012 create table t4(id int primary key, val int) engine=ndb; insert into t4 values (1,1), (2,2), (3,3), (4,4), (5,5); set @save_debug = @@session.debug; # Error injection in Ndb::waitCompletedTransactions so that transaction times out quickly SET SESSION debug="+d,early_trans_timeout"; delete ignore from t4 where id > 0; ERROR HY000: Got error 4012 'Request ndbd time-out, maybe due to high load or communication problems' from NDBCLUSTER SET SESSION debug=@save_debug; drop table t4; # bulk update with timeout error 4012 create table t4(id int primary key, val int) engine=ndb; insert into t4 values (1,1), (2,2), (3,3), (4,4), (5,5); set @save_debug = @@session.debug; # Error injection in Ndb::waitCompletedTransactions so that transaction times out quickly SET SESSION debug="+d,early_trans_timeout"; update t4 set val = 0 where id > 0; ERROR HY000: Got error 4012 'Request ndbd time-out, maybe due to high load or communication problems' from NDBCLUSTER SET SESSION debug=@save_debug; drop table t4; # bulk update ignore is not possible because 'ignore' disables bulk updates # mysqld gets timeout error 4008 on CREATE TABLE set @save_debug = @@session.debug; SET SESSION debug="+d,ndb_timeout_gettabinforeq"; create table t4(id int primary key, val int)engine=ndb; ERROR HY000: Got error 1625 'Unknown error code' from NDBCLUSTER show warnings; Level Code Message Warning 1296 Got error 4008 'Receive from NDB failed' from NDB Warning 1625 Bad schema for mysql.ndb_replication table. Message: Unable to retrieve mysql.ndb_replication, logging and conflict r Error 1296 Got error 1625 'Unknown error code' from NDBCLUSTER SET SESSION debug=@save_debug;