Commit Graph

573 Commits

Author SHA1 Message Date
ce8ce5b8fd Added a check for candidate server, if NULL return 2013-07-31 16:18:45 +02:00
96855a6feb Log message fine tuning. 2013-07-30 23:09:34 +03:00
b2099947b4 Changed mysterious log message. 2013-07-30 23:08:31 +03:00
896233d65f Changed some important information to use skygw_log_write_flush. 2013-07-30 19:32:39 +03:00
75f308fc3f Changes some important messages to use skygw_log_write_flush. 2013-07-30 19:31:57 +03:00
56c73086aa Disabled buffering of log file stream by call of setvbuf. 2013-07-30 19:30:23 +03:00
b71b22b18a Removed dependency files because they are now created as a part of makefile processing. 2013-07-30 15:07:50 +03:00
4d29930c6b Revert back to revision 241 2013-07-30 11:55:58 +03:00
2ab5a37c63 Clean build_gateway.inc 2013-07-30 11:51:36 +03:00
f3cf1d703e Removed depend.mk files. Added command 'touch depend.mk' to each Makefile which attempts to include depend.mk. That is for the makefile process phase where only the existence of depend.mk is checked. Later the real file is created in 'depend' target. 2013-07-30 11:43:39 +03:00
d2432ab307 Removed protocol_1.0, the Apache APR prototype 2013-07-29 10:08:53 +02:00
636e5b619c fix Makefile to comply with new dirs 2013-07-29 09:39:46 +03:00
da8a5592d9 repositories merge 2013-07-28 05:33:20 +00:00
a7c82310f9 moving files to /server to make merge possible 2013-07-28 05:31:11 +00:00
25d26eb3b8 Corrected a typo in line feed handling. 2013-07-27 12:23:47 +03:00
7a6129861e Added timestamp to log file headers and to the beginning of each line. Removed additional line feeds.
Example:

SkySQL MaxScale Sat Jul 27 12:13:10 2013
------------------------------------------
2013 07/27 12:13:10  Loaded module testroute: V1.0.0
2013 07/27 12:13:10  Initialise debug CLI router module V1.0.1.
2013 07/27 12:13:10  Loaded module debugcli: V1.0.1
2013-07-27 12:14:30 +03:00
b566c41067 Log manager sometimes failed to flush after skygw_log_write_flush because log client signaled filw writer thread too early. Fixed so that write is done first and file writer is registered after that. Except in cases where skygw_log_flush was called. Then only flush is triggered.
Added a few trivial cases to test.
2013-07-26 23:06:12 +03:00
3989615197 Code polishing. 2013-07-26 21:46:23 +03:00
d8978dce1c Fixed a typo 2013-07-26 19:25:42 +03:00
b235781d2e Added run-time path to dynamically loadable libraries; '-Wl,rpath,$(DEST)/lib' to Makefile. When compiling, use
make DEST=<path to library directory>
2013-07-26 19:23:47 +03:00
ff8b432943 Added run-time path to dynamically loadable libraries; '-Wl,rpath,$(DEST)/lib' to makefile. When compiling, use
make DEST=<path to library directory>
2013-07-26 19:20:06 +03:00
404160908d In mysql monitor sectio
the password of mdefault monitor user is:


passwd=
2013-07-26 15:21:01 +02:00
80b25b6270 merge 2013-07-26 15:25:00 +03:00
2f189cb153 Log manager erroneously wrote string termination character after every log message.
Added a few trivial test cases.
2013-07-26 15:21:54 +03:00
4fc3050ac7 Fix unnecessary defines out of code, these can be found from MySQL headers. 2013-07-26 15:21:06 +03:00
4a4383f6aa Added servers metadata reading and writing. 2013-07-26 13:46:31 +03:00
867eab37fc Monitors that run on separate thread call thread_wait in stopMonitor.
Fixes problem with ordering of calls to mysql_library_end (in main) and mysql_thread_end (in monitor thr).
2013-07-26 11:27:54 +03:00
03e70ab78f Addition of PDF versions of two documents 2013-07-25 17:27:05 +02:00
b3b444880d Added servers metadata and fixed issues on embedded server connection and test program compilation and linking. 2013-07-25 17:59:55 +03:00
1c3e44d446 Removed debug fprint about failed mutex destroy. 2013-07-25 17:22:19 +03:00
52564314d4 Documented concurrency control between filewriter thread and log clients.
Changed log header text, replaced SkySQL GAteway with SkySQL MaxScale.
Fixed bug in log flushing. skygw_log_write_flush didn't cause call of fsync, which suspended file writing.
2013-07-25 16:21:13 +03:00
5e6ed4cafa Addition of show monitors command, shutdown monitor and restart monitor 2013-07-25 13:13:54 +02:00
003db6eaa9 Added space character so that log_manager will be installed too 2013-07-25 13:36:39 +03:00
d5b41181ec Prevent reuse of MAXKEYS structure 2013-07-25 12:20:28 +02:00
49ea8ab7eb Moved daemonization earlier to ensure that libmysqld is used by one process only. 2013-07-25 12:04:27 +03:00
230cab7024 Fixed issue with string length in passwordEncrypt 2013-07-25 10:23:34 +02:00
8df4014faa Replaced -I/usr/include/mysql with -I$(MARIADB_SRC_PATH)/include/ 2013-07-24 22:52:46 +03:00
7262e8245a Addition of extra check in debugcli 2013-07-24 18:22:32 +02:00
d2b5f3f8b5 Removed because the AES routines and keys management is now implemented 2013-07-24 15:17:55 +02:00
602bd33378 Fix incorrect change 2013-07-24 15:51:39 +03:00
2fc7cb5525 Fixed issues on compiling and linking the library against example and test 2013-07-24 15:49:36 +03:00
8482c560f7 Shutdown all monitors when shutting down the gateway 2013-07-24 14:44:29 +02:00
7cdffb26e6 poll_add_db moved from dcb_connect to backend_dcb->func.connect() 2013-07-24 14:38:17 +02:00
580ea37551 Removed DEBUG macros around atexit function registrations 2013-07-24 15:11:33 +03:00
01441dba64 Addition of password encryption and decryption for passwords stored in the configuration file 2013-07-24 14:01:01 +02:00
faf58a3038 Added mkdir commands for $DEST and for $DEST/MaxScale 2013-07-24 12:56:56 +03:00
8cb1072d34 Protection against double entry on the zombie queue 2013-07-23 14:33:50 +02:00
521a66f9c1 Fix for redefinition of MIN and MAX macros 2013-07-23 13:19:36 +02:00
6ed63b12d4 Cleanup of fprintf's 2013-07-23 13:17:32 +02:00
016e759b2b Addition of hashtable iterator
User print routine

rejig of show users to show dbusers and a new show users command in the debugcli
2013-07-23 12:16:22 +02:00