anozdrin@mysql.com
3b6397b1d2
WL#3298: IM: make command-line option names consistent
...
1. Removed '-P' command line option;
2. Renamed '--passwd' command line option to '--print-password-line'.
2006-06-19 14:41:29 +04:00
anozdrin@mysql.com
e3d0c1a7f1
Merged.
2006-05-22 15:20:40 +04:00
anozdrin@mysql.com
4a43bd1a3a
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into mysql.com:/mnt/raid/MySQL/devel/5.1-rt-wl3158-merged
2006-05-22 14:22:58 +04:00
anozdrin@mysql.com
c1113af15c
This is an implementation of two WL items:
...
- WL#3158: IM: Instance configuration extensions;
- WL#3159: IM: --bootstrap and --start-default-instance modes
The following new statements have been added:
- CREATE INSTANCE;
- DROP INSTANCE;
The behaviour of the following statements have been changed:
- SET;
- UNSET;
- FLUSH INSTANCES;
- SHOW INSTANCES;
- SHOW INSTANCE OPTIONS;
2006-05-18 18:57:50 +04:00
knielsen@mysql.com
a061c90d8a
Merge mysql.com:/usr/local/mysql/tmp_merge
...
into mysql.com:/usr/local/mysql/merge-5.1
2006-05-18 11:56:50 +02:00
anozdrin@mysql.com
247be7d4a9
Make it compilable on Windows.
2006-05-10 18:53:28 +04:00
anozdrin@mysql.com
3b74668bfa
Partial fix for BUG#14106: IM: im_life_cycle and im_utils
...
tests fail on FreeBSD.
The patch contains of the following:
- make Instance Manager, running in the daemon mode, dump
the pid of angel-process in the special file;
- default value of angel-pid-file-name is 'mysqlmanager.angel.pid';
- if ordinary (IM) pid-file-name is specified in the configuration,
angel-pid-file-name is updated according to the following
rule: extension of the basename of pid-file-name is replaced by
'.angel.pid.
For example:
- pid-file-name: /tmp/im.pid
=> angel-pid-file-name: /tmp/im.angel.pid
- pid-file-name: /tmp/im.txt
=> angel-pid-file-name: /tmp/im.angel.pid
- pid-file-name: /tmp/5.0/im
=> angel-pid-file-name: /tmp/5.0/im.angel.pid
- add support for configuration option to customize angel
pid file name;
- fix test suite to use angel pid to kill Instance Manager
by all means if something went wrong.
Background
----------
The problem is that on some OSes (FreeBSD for one) Instance
Manager does not get SIGTERM, so can not shutdown gracefully.
Test suite wasn't able to cope with it, so this leads to the
mess in test results.
The problem should be split into two:
- fix signal handling;
- fix test suite.
This patch fixes test suite so that it will be able to kill
uncooperative Instance Manager. In order to achieve this,
test suite needs to know PID of IM Angel process.
2006-05-06 13:57:56 +04:00
jimw@mysql.com
86d6b16113
Merge bk-internal:/home/bk/mysql-5.1-new
...
into mysql.com:/home/jimw/my/mysql-5.1-clean
2006-04-12 13:01:26 -07:00
petr@mysql.com
9ac5b32a5f
cleanup: sort IM options alphabetically
2006-04-12 23:08:50 +04:00
jimw@mysql.com
688659df11
Support --debug/-# in instance manager.
2006-04-12 11:14:56 -07:00
petr@mysql.com
7146a9775e
Fix for Bug #12674 "Instance Manager: IM doesn't handle client
...
connections correctly".
Recommit with the max timeout value in sync with the comment.
2006-02-21 15:32:52 +03:00
petr@mysql.com
1c7bc08537
a bunch of IM fixes from the GUI team
2006-02-10 02:15:55 +03:00
jani@a193-229-222-105.elisa-laajakaista.fi
8d3036c35e
Some minor fixes revealed as warnings by
...
Intel compiler.
2005-09-23 21:28:56 +03:00
reggie@ubuntu.(none)
31be8fb694
fixed the service bits of the IM
2005-09-13 14:53:19 -05:00
paul@frost.snake.net
c26dd3057c
options.cc:
...
Fix typo.
2005-09-10 16:01:26 -05:00
konstantin@mysql.com
344144ad14
Cleanup the instance manager code.
2005-08-29 23:29:35 +04:00
reggie@linux.site
153ad3f687
changes to IM code that came from Petr's review
2005-08-09 07:57:40 -06:00
reggie@linux.site
7fa1779d62
fixed assignments to meet server coding guidelines
2005-08-09 07:57:38 -06:00
reggie@linux.site
2a00611f9c
changes to IM that came from Petr and JimW's review.
2005-08-09 07:57:37 -06:00
joerg@mysql.com
294aa66d92
New "Instance Manager" code:
...
Rename "port.h" to "portability.h" to avoid conflict with system header file name,
and include the file in "Makefile.am".
2005-08-05 20:44:52 +02:00
petr@mysql.com
22ccfb4d67
IM port cleanup
2005-08-05 17:02:06 +04:00
petr@mysql.com
a64f264e4b
IM port fixes: fix crash on startup, add more error checking, get rid of unnecessary code.
2005-08-05 14:35:30 +04:00
reggie@fedora.(none)
72c0a021e9
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into fedora.(none):/home/reggie/bk/im_patch
2005-08-04 09:33:44 -05:00
reggie@fedora.(none)
8cb3bd41c8
alot of formatting changes that came out of JimW's review
2005-08-03 16:20:27 -05:00
petr@mysql.com
9644bc3e2b
Post-review fixes for WL#2713 "Change IM behaviour so, that it only reads and alters one config file only."
2005-07-21 22:40:53 +04:00
petr@mysql.com
b9fcdfbb0f
WL #2713 Change IM behaviour so, that it only reads and alters one config file only.
...
Implemented on brian's request.
2005-07-21 14:21:23 +04:00
reggie@fedora.(none)
f3de5d6b69
initial import of Windows port of IM.
2005-07-20 10:55:40 -05:00
petr@mysql.com
c7581758ec
fix IM to display version string in "show instance status" (Bug #10229 )
2005-06-01 04:40:22 +04:00
petr@mysql.com
180d0ed620
post-review fixes
2005-05-16 01:54:02 +04:00
petr@mysql.com
ace47c77be
Fix for Bug #9589
2005-04-11 17:08:34 +04:00
petr@mysql.com
b072eaa3da
Fix for AIX compilation failure: sacred knowledge of my_global.h nature (it should be
...
included before any other include) was hidden from me.
2005-03-22 02:04:14 +03:00
petr@mysql.com
27e614dc7f
new variant of passwd() by S. Vojtovich
2005-02-18 15:23:55 +03:00
petr@mysql.com
dbc0937dd0
made IM to work with --defaults-file smoothly
2005-02-18 14:58:30 +03:00
petr@mysql.com
59d8e51150
some more cleanups and fixes
2005-02-15 04:38:33 +03:00
petr@mysql.com
6b50b5b087
Post-review fixes + some bugs fixed + several minor features
2005-02-11 14:21:59 +03:00
petr@mysql.com
1815de7b55
--user option added to mysqlmanager
2005-02-05 14:04:49 +03:00
petr@mysql.com
63acf2a8be
Various fixes (cleanups, valgrind, makefiles, ...)
2005-02-03 20:48:58 +03:00
petr@mysql.com
84d5b3a332
more fixes for IM to substitude mysqld_safe in startup scripts
2005-01-31 23:54:08 +03:00
petr@mysql.com
d2115d133d
Some minor IM fixes
2004-11-15 14:53:30 +03:00
petr@mysql.com
a8e2db4ecd
Intermediate commit - just to make new files visible to bk in the new
...
tree
2004-10-23 11:32:52 +04:00
kostja@oak.local
75a3c99c91
First implementation for signal handling and multi-threading:
...
safe shutdown and signal deliverence to all threads in
the manager process
2003-08-19 19:55:20 +04:00
kostja@oak.local
36ce7d5fd5
First implementation of instance-manager carcass:
...
logging, options, angel process.
2003-08-16 21:44:24 +04:00