2005-03-15 19:48:42 +01:00
|
|
|
##############################################################################
|
|
|
|
#
|
2005-11-29 19:22:17 +01:00
|
|
|
# List the test cases that are to be disabled temporarily.
|
2005-03-15 19:48:42 +01:00
|
|
|
#
|
|
|
|
# Separate the test case name and the comment with ':'.
|
|
|
|
#
|
2006-04-10 17:54:42 +02:00
|
|
|
# <testcasename> : BUG#<xxxx> <date disabled> <disabler> <comment>
|
2005-03-15 19:48:42 +01:00
|
|
|
#
|
2005-12-22 06:39:02 +01:00
|
|
|
# Do not use any TAB characters for whitespace.
|
2005-03-15 19:48:42 +01:00
|
|
|
#
|
|
|
|
##############################################################################
|
fix for bug #17619 Scheduler race conditions
- Scheduler is either initialized at server start or never.
Starting & stopping is now suspending & resuming.
- The scheduler has clear OO interface
- Now all calls to the scheduler are synchronous
- GLOBAL event_scheduler uses thd::sys_var_tmp (see set_var.cc)
- External API is encapsulated into class Events
- Includes fixes for all comments of Kostja's review of 19.05.2005
Starting to merge into 5.1-release (5.1.10) and push
BitKeeper/etc/ignore:
Added libmysqld/event_scheduler.cc to the ignore list
libmysqld/Makefile.am:
executor -> scheduler
mysql-test/r/events.result:
update result
mysql-test/r/events_bugs.result:
update result
mysql-test/r/events_logs_tests.result:
update result
mysql-test/r/events_microsec.result:
update result
mysql-test/r/events_scheduling.result:
update result
mysql-test/r/events_stress.result:
update result
mysql-test/t/disabled.def:
enable these tests
mysql-test/t/events.test:
optimize the test a bit for speed, save some seconds runtime
remove FULL from SHOW EVENTS
mostly use I_S.EVENTS
mysql-test/t/events_bugs.test:
Skip irrelevant for the current design tests - all events are loaded
on server startup. Change in mysql.event will be visible on next server start.
Don't use numeric error codes.
mysql-test/t/events_logs_tests.test:
optimize the test a bit for speed
mysql-test/t/events_microsec.test:
Skip irrelevant for the current design tests - all events are loaded
on server startup. Change in mysql.event will be visible on next server start.
Don't use numeric error codes.
mysql-test/t/events_scheduling.test:
broader test
mysql-test/t/events_stress.test:
Rework the test to the new architecture of suspending/resuming.
Use less events, no need for thousands, hundreds is still ok.
sql/Makefile.am:
executor -> scheduler
sql/cmakelists.txt:
executor -> scheduler
sql/event.cc:
- remove todo comments
- remove unneded evex_queue abstraction functions
- move events_init() and events_shutdown() from event_executor.cc to here
- export db_create_event
- remove evex_load_and_compile_event, part of class Event_scheduler
- integrate the public interface found in event.h and used by sql_parse.cc
to use the new class Event_scheduler.
sql/event.h:
- add COND_finished so if one thread kills a running event it waits on this
- export callback event_timed_definer_equal, event_timed_identifier_equal(),
event_timed_name_equal and event_timed_db_equal()
to be used by Event_scheduler::drop_matching_events()
- cleanup event.h
- encapsulated all external interface into class Events
sql/event_executor.cc:
make it empty, will delete after that
sql/event_priv.h:
- more things in the private header
- remove event queue abstraction functions. tightly bind to QUEUE
- export privately db_drop_event, db_find_event, db_create_event()
- made change_security_context() and restore_security_context() free functions
sql/event_timed.cc:
- fix calculation of time when ENDS is set (STARTS is always set)
- during Event_timed::compile() set the right Security_ctx. Prevents a crash
during Event_scheduler::load_events_from_db()
- add Event_timed::kill_thread()
- implement event_timed_*_equal()
- made change_security_context() and restore_security_context() free functions.
- Comments cleanups
sql/lex.h:
new word scheduler for SHOW SCHEDULER STATUS (available only debug builds)
sql/log.cc:
move these from event_scheduler.cc
sql/mysql_priv.h:
refactor kill_one_thread
export sql_print_message_func and sql_print_message_handlers
sql/mysqld.cc:
In close_connections, called by kill_server() skip the main scheduler
thread and use events_shutdown() for shutting down the scheduler, in the same
manner it's done for RPL.
Add a new value to --event-scheduler :
0 <- No scheduler available
1 <- Start with scheduler enabled
2 <- Start with scheduler suspended
sql/repl_failsafe.cc:
refactor thd::system_thread to be an enum
sql/set_var.cc:
move sys_var_event_executor::update() to set_var.cc
executor -> scheduler
use thd::sys_var_tmp
sql/set_var.h:
executor -> scheduler
sql/share/errmsg.txt:
3 new error messages
sql/sql_class.cc:
refactor thd::system_thread to be an enum . more type-safety
sql/sql_class.h:
refactor thd::system_thread to be an enum . more type-safety
sql/sql_db.cc:
get the error from evex_drop_schema_events
sql/sql_error.h:
export warning_level_names
sql/sql_lex.h:
new command SHOW SCHEDULER STATUS, available only in debug build and
for debug purposes.
sql/sql_parse.cc:
refactor kill_one_thread() -> does the *dirty* work, and sql_kill
just the reporting.
add handler for SQLCOM_SHOW_SCHEDULER_STATUS
sql/sql_show.cc:
fix verbosity handling (this will be obsoleted anyway by the fix for 17394).
sql/sql_yacc.yy:
remove FULL from SHOW EVENTS
add SHOW SCHEDULER STATUS in debug builds
sql/table.cc:
Fix valgrind warning.
2006-05-22 20:46:13 +02:00
|
|
|
#events_bugs : BUG#17619 2006-02-21 andrey Race conditions
|
|
|
|
#events_stress : BUG#17619 2006-02-21 andrey Race conditions
|
|
|
|
#events : BUG#17619 2006-02-21 andrey Race conditions
|
|
|
|
#events_scheduling : BUG#19170 2006-04-26 andrey Test case of 19170 fails on some platforms. Has to be checked.
|
2006-06-21 14:02:51 +02:00
|
|
|
#im_instance_conf : Bug#20294 2006-06-06 monty Instance manager test im_instance_conf fails randomly
|
|
|
|
#im_options : Bug#20294 2006-06-06 monty Instance manager test im_instance_conf fails randomly
|
|
|
|
#im_life_cycle : Bug#20368 2006-06-10 alik im_life_cycle test fails
|
2006-04-10 17:54:42 +02:00
|
|
|
ndb_autodiscover : BUG#18952 2006-02-16 jmiller Needs to be fixed w.r.t binlog
|
|
|
|
ndb_autodiscover2 : BUG#18952 2006-02-16 jmiller Needs to be fixed w.r.t binlog
|
2006-05-18 23:38:07 +02:00
|
|
|
#ndb_binlog_discover : BUG#19395 2006-04-28 tomas/knielsen mysqld does not always detect cluster shutdown
|
2006-04-25 17:02:50 +02:00
|
|
|
#ndb_cache2 : BUG#18597 2006-03-28 brian simultaneous drop table and ndb statistics update triggers node failure
|
|
|
|
#ndb_cache_multi2 : BUG#18597 2006-04-10 kent simultaneous drop table and ndb statistics update triggers node failure
|
2006-05-04 23:35:37 +02:00
|
|
|
ndb_load : BUG#17233 2006-05-04 tomas failed load data from infile causes mysqld dbug_assert, binlog not flushed
|
2006-04-13 10:48:24 +02:00
|
|
|
partition_03ndb : BUG#16385 2006-03-24 mikael Partitions: crash when updating a range partitioned NDB table
|
2006-04-13 15:34:38 +02:00
|
|
|
ps_7ndb : BUG#18950 2006-02-16 jmiller create table like does not obtain LOCK_open
|
2006-04-20 18:53:23 +02:00
|
|
|
rpl_ndb_2innodb : BUG#19227 2006-04-20 pekka pk delete apparently not replicated
|
2006-06-06 13:34:42 +02:00
|
|
|
rpl_ndb_2myisam : BUG#19227 Seems to pass currently
|
2006-04-13 10:48:24 +02:00
|
|
|
rpl_ndb_auto_inc : BUG#17086 2006-02-16 jmiller CR: auto_increment_increment and auto_increment_offset produce duplicate key er
|
2006-06-01 12:59:39 +02:00
|
|
|
#rpl_ndb_commit_afterflush : BUG#19328 2006-05-04 tomas Slave timeout with COM_REGISTER_SLAVE error causing stop
|
2006-04-27 15:29:10 +02:00
|
|
|
rpl_ndb_dd_partitions : BUG#19259 2006-04-21 rpl_ndb_dd_partitions fails on s/AMD
|
2006-04-21 17:28:45 +02:00
|
|
|
rpl_ndb_ddl : BUG#18946 result file needs update + test needs to checked
|
2006-06-06 19:21:36 +02:00
|
|
|
rpl_ndb_innodb2ndb : Bug #19710 Cluster replication to partition table fails on DELETE FROM statement
|
2006-05-31 16:16:03 +02:00
|
|
|
#rpl_ndb_log : BUG#18947 2006-03-21 tomas CRBR: order in binlog of create table and insert (on different table) not determ
|
2006-06-06 19:21:36 +02:00
|
|
|
rpl_ndb_myisam2ndb : Bug #19710 Cluster replication to partition table fails on DELETE FROM statement
|
2006-04-10 17:54:42 +02:00
|
|
|
rpl_switch_stm_row_mixed : BUG#18590 2006-03-28 brian
|
2006-04-11 02:48:17 +02:00
|
|
|
rpl_row_blob_innodb : BUG#18980 2006-04-10 kent Test fails randomly
|
2006-06-06 19:21:36 +02:00
|
|
|
rpl_row_func003 : BUG#19074 2006-13-04 andrei test failed
|
2006-04-10 17:54:42 +02:00
|
|
|
rpl_row_inexist_tbl : BUG#18948 2006-03-09 mats Disabled since patch makes this test wait forever
|
|
|
|
rpl_sp : BUG#16456 2006-02-16 jmiller
|
2006-04-13 15:34:38 +02:00
|
|
|
|
|
|
|
# the below testcase have been reworked to avoid the bug, test contains comment, keep bug open
|
|
|
|
#ndb_binlog_ddl_multi : BUG#18976 2006-04-10 kent CRBR: multiple binlog, second binlog may miss schema log events
|