mariadb/server-tools/instance-manager
anozdrin/alik@alik. f40a9d2ece Fix for BUG#17486: IM: race condition on exit.
The problem was that IM stoped guarded instances on shutdown,
but didn't wait for them to stop.

The fix is to wait for guarded instances to stop before exitting
from the main thread.

The idea is that Instance-monitoring thread should add itself
to Thread_registry so that it will be taken into account on shutdown.
However, Thread_registry should not signal it on shutdown in order to
not interrupt wait()/waitpid().
2006-10-24 18:23:16 +04:00
..
buffer.cc Some minor fixes revealed as warnings by 2005-09-23 21:28:56 +03:00
buffer.h Some minor fixes revealed as warnings by 2005-09-23 21:28:56 +03:00
CMakeLists.txt Additional files for cmake support 2006-08-31 19:52:42 +02:00
command.cc Some minor fixes revealed as warnings by 2005-09-23 21:28:56 +03:00
command.h This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
commands.cc Polishing: C_STRING_WITH_SIZE() was renamed to C_STRING_WITH_LEN(). 2006-06-19 15:17:15 +04:00
commands.h Fix compilation problems on Windows and SUN Solaris. 2006-05-19 04:51:23 +04:00
exit_codes.h This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
guardian.cc Fix for BUG#17486: IM: race condition on exit. 2006-10-24 18:23:16 +04:00
guardian.h Merge bodhi.local:/opt/local/work/mysql-5.0-runtime 2006-10-23 12:35:56 +04:00
IMService.cpp Fix compilation problems on Windows and SUN Solaris. 2006-05-19 04:51:23 +04:00
IMService.h This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
instance.cc Fix for BUG#17486: IM: race condition on exit. 2006-10-24 18:23:16 +04:00
instance.h Fix for BUG#17486: IM: race condition on exit. 2006-10-24 18:23:16 +04:00
instance_map.cc Fix for BUG#17486: IM: race condition on exit. 2006-10-24 18:23:16 +04:00
instance_map.h Fix for BUG#17486: IM: race condition on exit. 2006-10-24 18:23:16 +04:00
instance_options.cc Merge neptunus.(none):/home/msvensson/mysql/bug22379_runtime/my50-bug22379_runtime 2006-09-25 09:34:34 +02:00
instance_options.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-05-22 14:22:58 +04:00
listener.cc Fix for BUG#17486: IM: race condition on exit. 2006-10-24 18:23:16 +04:00
listener.h This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
log.cc 1. Fix compilation on Windows; 2006-05-19 16:01:04 +04:00
log.h Various fixes (cleanups, valgrind, makefiles, ...) 2005-02-03 20:48:58 +03:00
Makefile.am make dist changes for Cmake build 2006-09-01 10:32:12 +02:00
manager.cc Fix for BUG#17486: IM: race condition on exit. 2006-10-24 18:23:16 +04:00
manager.h Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new 2006-05-22 14:22:58 +04:00
messages.cc Merge bk-internal.mysql.com:/data0/bk/tmp_reg 2006-08-17 17:19:41 +02:00
messages.h Fix for AIX compilation failure: sacred knowledge of my_global.h nature (it should be 2005-03-22 02:04:14 +03:00
mysql_connection.cc Fix for BUG#17486: IM: race condition on exit. 2006-10-24 18:23:16 +04:00
mysql_connection.h fix compilation failure on serg's box: we shouldn't 2005-10-19 00:31:00 +04:00
mysql_manager_error.h This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
mysqlmanager.cc Merged. 2006-05-22 15:20:40 +04:00
mysqlmanager.vcproj mysqlmanager.vcproj: 2006-07-22 02:00:33 +02:00
options.cc Merge bodhi.local:/opt/local/work/mysql-5.0-runtime 2006-10-23 12:35:56 +04:00
options.h Merge bodhi.local:/opt/local/work/mysql-5.0-runtime 2006-10-23 12:35:56 +04:00
parse.cc This is a cleanup of warnings that windows is complaining about. 2006-08-23 15:12:42 -07:00
parse.h Fixes for Windows compilation failures. 2006-07-07 16:14:07 +04:00
parse_output.cc This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
parse_output.h This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
portability.h Merge zippy.cornsilk.net:/home/cmiller/work/mysql/merge/mysql-5.0 2006-08-21 12:59:46 -04:00
priv.cc Polishing: C_STRING_WITH_SIZE() was renamed to C_STRING_WITH_LEN(). 2006-06-19 15:17:15 +04:00
priv.h This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
protocol.cc This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
protocol.h This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
README First implementation of instance-manager carcass: 2003-08-16 21:44:24 +04:00
thread_registry.cc Fix for BUG#17486: IM: race condition on exit. 2006-10-24 18:23:16 +04:00
thread_registry.h Fix for BUG#17486: IM: race condition on exit. 2006-10-24 18:23:16 +04:00
user_management_commands.cc WL#3298: IM: make command-line option names consistent 2006-06-19 14:41:29 +04:00
user_management_commands.h WL#3298: IM: make command-line option names consistent 2006-06-19 14:41:29 +04:00
user_map.cc Fix compilation problems on Windows and SUN Solaris. 2006-05-19 04:51:23 +04:00
user_map.h This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
WindowsService.cpp This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
WindowsService.h This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00

Instance Manager - manage MySQL instances locally and remotely.

File description:
 mysqlmanager.cc - entry point to the manager, main, 
 options.{h,cc} - handle startup options
 manager.{h,cc} - manager process
 mysql_connection.{h,cc} - handle one connection with mysql client.

See also instance manager architecture description in mysqlmanager.cc.