mariadb/server-tools/instance-manager
anozdrin/alik@booka. b534ca4bc0 Fix for the following bugs:
- BUG#22306: STOP INSTANCE can not be applied for instances in Crashed,
    Failed and Abandoned;
  - BUG#23476: DROP INSTANCE does not work
  - BUG#23215: STOP INSTANCE takes too much time

BUG#22306:
The problem was that STOP INSTANCE checked that mysqld is up and running.
If it was not so, STOP INSTANCE reported an error. Now, STOP INSTANCE
reports an error if the instance has been started (mysqld can be down).

BUG#23476:
The problem was that DROP INSTANCE tried to stop inactive instance. The fix is
trivial.

BUG#23215:
The problem was that locks were not acquired properly, so the
instance-monitoring thread could not acquire the mutex, holded by the
query-processing thread.

The fix is to simplify locking scheme by moving instance-related information to
Instance-class out of Guardian-class. This allows to get rid of storing a
separate list of Instance-information in Guardian and keeping it synchronized
with the original list in Instance_map.
2006-11-30 12:23:55 +03:00
..
buffer.cc Port cleanups, trivial refactoring and code rearrangements from 2006-11-18 01:34:44 +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 Cleanup: manually port the polishing parts from Alik's changeset for 2006-11-16 23:36:20 +03:00
command.h Port cleanups, trivial refactoring and code rearrangements from 2006-11-18 01:34:44 +03:00
commands.cc Fix for the following bugs: 2006-11-30 12:23:55 +03:00
commands.h Fix for the following bugs: 2006-11-30 12:23:55 +03:00
exit_codes.h This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
guardian.cc Fix for the following bugs: 2006-11-30 12:23:55 +03:00
guardian.h Fix for the following bugs: 2006-11-30 12:23:55 +03:00
IMService.cpp Polishing: 2006-11-21 17:47:14 +03:00
IMService.h Polishing: use the same coding style everywhere. 2006-11-21 17:01:11 +03:00
instance.cc Fix for the following bugs: 2006-11-30 12:23:55 +03:00
instance.h Fix for the following bugs: 2006-11-30 12:23:55 +03:00
instance_map.cc Fix for the following bugs: 2006-11-30 12:23:55 +03:00
instance_map.h Fix for the following bugs: 2006-11-30 12:23:55 +03:00
instance_options.cc Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime 2006-11-23 18:26:56 +03:00
instance_options.h Fix for the following bugs: 2006-11-30 12:23:55 +03:00
listener.cc Polishing: 2006-11-21 17:47:14 +03:00
listener.h Polishing + make the code compiled on Windows. 2006-11-20 15:37:12 +03:00
log.cc Polishing: 2006-11-21 17:47:14 +03:00
log.h Polishing: 2006-11-21 17:47:14 +03:00
Makefile.am Polishing: eliminate warnings. 2006-11-20 10:05:24 +03:00
manager.cc Fix for the following bugs: 2006-11-30 12:23:55 +03:00
manager.h Fix for the following bugs: 2006-11-30 12:23:55 +03:00
messages.cc Fix Bug #22494 Instance Manager: Inconsistent error message wording 2006-11-07 05:21:33 +03: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 Polishing: 2006-11-21 17:47:14 +03:00
mysql_connection.h Polishing: 2006-11-21 17:47:14 +03:00
mysql_manager_error.h This is an implementation of two WL items: 2006-05-18 18:57:50 +04:00
mysqlmanager.cc Polishing: 2006-11-21 17:47:14 +03: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 Polishing: generate more warnings and make code warnings-free. 2006-11-17 16:45:29 +03:00
parse.h Cleanup: manually port the polishing parts from Alik's changeset for 2006-11-16 23:36:20 +03:00
parse_output.cc Port cleanups, trivial refactoring and code rearrangements from 2006-11-18 01:34:44 +03: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: 2006-11-21 17:47:14 +03:00
priv.h Polishing: 2006-11-21 17:31:03 +03: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 Polishing: 2006-11-21 17:47:14 +03:00
thread_registry.h Polishing: 2006-11-21 17:31:03 +03:00
user_management_commands.cc Port cleanups, trivial refactoring and code rearrangements from 2006-11-18 01:34:44 +03:00
user_management_commands.h Polishing: use the same coding style everywhere. 2006-11-21 17:01:11 +03:00
user_map.cc Fix for the following bugs: 2006-11-30 12:23:55 +03:00
user_map.h Polishing: generate more warnings and make code warnings-free. 2006-11-17 16:45:29 +03: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.