summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2010-11-09 15:03:57 +0100
committerunknown <knielsen@knielsen-hq.org>2010-11-09 15:03:57 +0100
commit7a28f61ded763f4778b5f595115a0b1fde2372a8 (patch)
tree6e5c5e7b53df6a4f4893c646a593173201858777 /dbug
parent7a80bf165b1907acbdccf8dd46681df365dd2156 (diff)
downloadmariadb-git-7a28f61ded763f4778b5f595115a0b1fde2372a8.tar.gz
MBug#643463: Slow XtraDB shutdown: Fix more sleeps delaying shutdown.
This patch removes most remaining delays due to uninteruptible sleep() during shutdown, as found using PMP. This makes standard test run very close in speed to with --loose-innodb-fast-shutdown=2, and greatly speeds up running the test suite. sql/mysqld.cc: Poll for threads to die every 20 msec during shutdown, rather than force a wait for 2 full seconds should one thread be a little slow to exit (this was seen occasionally in mysql-test-run). storage/xtradb/include/srv0srv.h: Rename the event, as we now use it to wakeup more threads during shutdown. storage/xtradb/log/log0log.c: Rename the event, as we now use it to wakeup more threads during shutdown. storage/xtradb/srv/srv0srv.c: Replace some hardcoded sleep()s with os_wait_event_time() that can be interrupted early during server shutdown to avoid unnecessary delays.
Diffstat (limited to 'dbug')
0 files changed, 0 insertions, 0 deletions