mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
c784ee2782
There were two problems here: 1. misleading error message 2. abusing KILL QUERY in the test case 1. The server reported "'DELETE FROM t1' failed: 1689: Wait on a lock was aborted due to a pending exclusive lock", while the proper error message should be "'DELETE FROM t1' failed: 1317: Query execution was interrupted". The problem is that the server has two different flags for signalling that a query is being killed: THD::killed and mysys_var::abort. The test case triggers a race: sometimes mysys_var::abort is set earlier than THD::killed. That leads to the following situation: - thr_lock() checks mysys_var::abort and returns error status, since mysys_var::abort is set; - the caller (mysql_lock_tables()) gets an error from thr_lock(), but THD::killed is not set, so it decides that thr_lock() couldn't get a lock due to a pending exclusive lock. This is a known issue with the server and it's not going to be fixed soon. 5.5 differs from 5.1 here as follows: when thr_lock() returns an error: - 5.1 continues trying thr_lock() until success; - 5.5 propagates the error 2. The test case uses KILL QUERY is a highly concurent environment. The fix is to wait for the dying statement to rest in peace before executing another DELETE FROM t1.
88 lines
5.3 KiB
Text
88 lines
5.3 KiB
Text
# For easier human reading (MTR doesn't care), please keep entries
|
|
# in alphabetical order. This also helps with merge conflict resolution.
|
|
|
|
binlog.binlog_multi_engine # joro : NDB tests marked as experimental as agreed with bochklin
|
|
|
|
funcs_1.charset_collation_1 # depends on compile-time decisions
|
|
funcs_1.myisam_views @solaris # Bug#50595 2010-03-05 alik funcs_1.myisam_views takes longer time on 6.0 branch than 5.1 branch
|
|
|
|
main.gis @solaris # Bug#52208 2010-04-26 alik gis fails on some platforms (Solaris, HP-UX, Linux)
|
|
main.information_schema # Bug#47449 2009-09-19 alik main.information_schema and innodb.innodb_information_schema fail sporadically
|
|
main.lock_multi_bug38499 # Bug#47448 2009-09-19 alik main.lock_multi_bug38499 times out sporadically
|
|
main.lock_multi_bug38691 @solaris # Bug#47792 2009-10-02 alik main.lock_multi_bug38691 times out sporadically on Solaris 10
|
|
main.log_tables # Bug#47924 2009-10-08 alik main.log_tables times out sporadically
|
|
main.mysqlbinlog_row @solaris # Bug#52202 2010-03-22 alik mysqlbinlog_row* fail in daily-trunk on Sol10 x86_64 debug_max
|
|
main.mysqlbinlog_row_innodb @solaris # Bug#52202 2010-03-22 alik mysqlbinlog_row* fail in daily-trunk on Sol10 x86_64 debug_max
|
|
main.mysqlbinlog_row_myisam @solaris # Bug#52202 2010-03-22 alik mysqlbinlog_row* fail in daily-trunk on Sol10 x86_64 debug_max
|
|
main.outfile_loaddata @solaris # Bug#46895 2010-01-20 alik Test "outfile_loaddata" fails (reproducible)
|
|
main.plugin* @solaris # Bug#47146 Linking problem with example plugin when dtrace enabled
|
|
main.signal_demo3 @solaris # Bug#47791 2010-01-20 alik Several test cases fail on Solaris with error Thread stack overrun
|
|
main.sp @solaris # Bug#47791 2010-01-20 alik Several test cases fail on Solaris with error Thread stack overrun
|
|
main.wait_timeout @solaris # Bug#51244 2010-04-26 alik wait_timeout fails on OpenSolaris
|
|
|
|
rpl.rpl_heartbeat_basic # BUG#43828 2009-10-22 luis fails sporadically
|
|
rpl.rpl_heartbeat_2slaves # BUG#43828 2009-10-22 luis fails sporadically
|
|
rpl.rpl_innodb_bug28430* # Bug#46029
|
|
rpl.rpl_innodb_bug30888* @solaris # Bug#47646 2009-09-25 alik rpl.rpl_innodb_bug30888 fails sporadically on Solaris
|
|
rpl.rpl_killed_ddl @windows # Bug#47638 2010-01-20 alik The rpl_killed_ddl test fails on Windows
|
|
rpl.rpl_plugin_load* @solaris # Bug#47146
|
|
rpl.rpl_row_sp011* @solaris # Bug#47791 2010-01-20 alik Several test cases fail on Solaris with error Thread stack overrun
|
|
|
|
sys_vars.max_sp_recursion_depth_func @solaris # Bug#47791 2010-01-20 alik Several test cases fail on Solaris with error Thread stack overrun
|
|
sys_vars.wait_timeout_func @solaris # Bug#41255 2010-04-26 alik wait_timeout_func fails
|
|
|
|
# Declare all NDB-tests in ndb and rpl_ndb test suites experimental.
|
|
# Usually the test cases from ndb and rpl_ndb test suites are not run in PB,
|
|
# but they run by gcov.
|
|
#
|
|
|
|
ndb.*
|
|
rpl_ndb.*
|
|
rpl_ndb.rpl_ndb_log # Bug#38998
|
|
|
|
# Declare all NDB-tests in other test suites experimental.
|
|
|
|
stress.ddl_ndb
|
|
|
|
sys_vars.ndb_log_update_as_write_basic
|
|
sys_vars.have_ndbcluster_basic
|
|
sys_vars.ndb_log_updated_only_basic
|
|
|
|
funcs_1.ndb_storedproc_10
|
|
funcs_1.ndb_bitdata
|
|
funcs_1.ndb_trig_03
|
|
funcs_1.ndb_trig_0102
|
|
funcs_1.is_tables_ndb
|
|
funcs_1.is_columns_ndb
|
|
funcs_1.ndb_trig_0407
|
|
funcs_1.ndb_trig_1011ext
|
|
funcs_1.ndb_storedproc_06
|
|
funcs_1.ndb_views
|
|
funcs_1.is_cml_ndb
|
|
funcs_1.ndb_storedproc_02
|
|
funcs_1.ndb_storedproc_03
|
|
funcs_1.ndb_trig_03e
|
|
funcs_1.is_engines_ndb
|
|
funcs_1.ndb_trig_08
|
|
funcs_1.ndb_storedproc_07
|
|
funcs_1.ndb_storedproc_08
|
|
funcs_1.ndb_func_view
|
|
funcs_1.ndb_trig_09
|
|
funcs_1.ndb_cursors
|
|
|
|
funcs_2.ndb_charset
|
|
|
|
parts.ndb_dd_backuprestore # joro : NDB tests marked as experimental as agreed with bochklin
|
|
parts.part_supported_sql_func_ndb # joro : NDB tests marked as experimental as agreed with bochklin
|
|
parts.partition_alter1_1_ndb # joro : NDB tests marked as experimental as agreed with bochklin
|
|
parts.partition_alter1_1_2_ndb # joro : NDB tests marked as experimental as agreed with bochklin
|
|
parts.partition_alter1_2_ndb # joro : NDB tests marked as experimental as agreed with bochklin
|
|
parts.partition_auto_increment_ndb # joro : NDB tests marked as experimental as agreed with bochklin
|
|
parts.partition_basic_ndb # joro : NDB tests marked as experimental as agreed with bochklin
|
|
parts.partition_engine_ndb # joro : NDB tests marked as experimental as agreed with bochklin
|
|
parts.partition_int_ndb # joro : NDB tests marked as experimental as agreed with bochklin
|
|
parts.partition_mgm_lc0_ndb # joro : NDB tests marked as experimental as agreed with bochklin
|
|
parts.partition_mgm_lc1_ndb # joro : NDB tests marked as experimental as agreed with bochklin
|
|
parts.partition_mgm_lc2_ndb # joro : NDB tests marked as experimental as agreed with bochklin
|
|
parts.partition_syntax_ndb # joro : NDB tests marked as experimental as agreed with bochklin
|
|
parts.partition_value_ndb # joro : NDB tests marked as experimental as agreed with bochklin
|