2180 Commits

Author SHA1 Message Date
Markus Makela
2a623c6ec3 Fixed a typo in config.c 2014-12-10 18:05:58 +02:00
MassimilianoPinto
8de7a5854a Log files names printed only with DEBUG mode
Log files names printed only with DEBUG mode
2014-12-09 11:17:30 +01:00
VilhoRaatikka
968b67dd71 Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA 2014-12-09 11:03:43 +02:00
VilhoRaatikka
b98a563f46 Fix to bug #641, http://bugs.mariadb.com/show_bug.cgi?id=641
Removed HTTPD Router and replaced module CLI with cli
2014-12-09 11:03:02 +02:00
MassimilianoPinto
19cf44bd59 Coverity fixes: 72650, 72665
Coverity fixes: 72650, 72665
2014-12-09 08:58:52 +01:00
Markus Makela
8b51d4fee2 Fix to bug 640: http://bugs.mariadb.com/show_bug.cgi?id=640
Added a check for the case when createInstance returns NULL.
Added messages to error log if router instance creation fails or if the service fails to start for any reason.
2014-12-09 06:31:53 +02:00
VilhoRaatikka
6a54d888de Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA 2014-12-08 16:04:27 +02:00
VilhoRaatikka
5264a1abc9 Added function documentation, moved one non-error log entry to message log, cleaned up a bit. 2014-12-08 16:02:16 +02:00
Mark Riddoch
8fed527ac9 Merge branch 'release-1.0GA' into blr 2014-12-08 09:21:38 +00:00
Mark Riddoch
ce056dccd8 Update modue status of all GA modules 2014-12-08 09:19:35 +00:00
VilhoRaatikka
b1eaaea961 Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA 2014-12-05 23:57:02 +02:00
VilhoRaatikka
01b1b0a304 Fixes to Coverity issues 84388, 84386, 84385
mysql_mon.c: Added back server state logging to Debug build.
query_classifier.cc: removed some extra debug code, cleaned up a bit function documentation.
mysql_client_server_protocol.h, mysql_backend.c, mysql_common.c: changed some variables to signed ones to enable checking of calculations in the code.
skygw_utils.cc: removed erroneous debug assertion.
2014-12-05 23:39:14 +02:00
Mark Riddoch
cce35d9035 Add event name in show service 2014-12-05 13:49:41 +00:00
Mark Riddoch
a0cebae0ec Make building the binlog router conditional 2014-12-05 11:43:06 +00:00
Mark Riddoch
e102d56e69 Merge branch 'blr' into release-1.0GA
Conflicts:
	server/modules/protocol/mysql_backend.c
	server/modules/routing/binlog/blr_master.c
2014-12-05 11:42:02 +00:00
Mark Riddoch
2b998eb17f Merging binlog router into beta refresh 2014-12-05 11:30:03 +00:00
Mark Riddoch
de3b2db904 Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA 2014-12-05 09:06:05 +00:00
MassimilianoPinto
2d4073267c Added support for a.%, a.%.% and a.b.%
Added support for a.%, a.%.% and a.b.% in dbusers.c
2014-12-04 19:01:17 +01:00
Mark Riddoch
4db86a5520 Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA 2014-12-04 16:57:57 +00:00
Mark Riddoch
36aea7454f Updates for new logging definitions 2014-12-04 16:56:33 +00:00
MassimilianoPinto
c133a42bbd Skip log for "Master available" with MAINTENANCE
Skip logging “A Master Server is now available” message when the server
has SERVER_MAINT bit value
2014-12-04 15:25:04 +01:00
Markus Makela
0171a7dc7b Revert "Fix to buf 553 http://bugs.mariadb.com/show_bug.cgi?id=553"
This reverts commit 5cfbfe39ac942e406de719612257ef797dca9c7f.
2014-12-04 14:30:23 +02:00
Markus Makela
5cfbfe39ac Fix to buf 553 http://bugs.mariadb.com/show_bug.cgi?id=553
Added command line argument for '-f <filename>' that executes the commands found in the file.
2014-12-04 14:16:45 +02:00
Markus Makela
84679a48ff Fixes to Coverity defects 84335 84336 84337 2014-12-04 10:13:41 +02:00
Markus Makela
30c928c326 Switched to /dev/random instead of time(NULL) in secrets.c 2014-12-04 10:07:06 +02:00
Markus Makela
e4c379bbdc Fix to bug 583 http://bugs.mariadb.com/show_bug.cgi?id=583
Changed rwsplit.sh to explicitly use /bin/bash
2014-12-03 19:41:06 +02:00
Mark Riddoch
1baff3dfbb Bug 459 - change auth parameter to passwd parameter 2014-12-03 16:18:14 +00:00
Markus Makela
1e2027f4dc Fixes to Coverity defects 83027 73421 72714 72671 72646 72642 2014-12-03 17:56:22 +02:00
Markus Makela
89c3b01925 Fixed the first log write after moving a cleared block buffer being written in the block buffer that was just moved. 2014-12-03 17:11:52 +02:00
Markus Makela
5251ada377 Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA 2014-12-03 16:09:54 +02:00
Markus Makela
f23ce6c7d5 Added log manager extra debug flags to CMake. 2014-12-03 16:09:33 +02:00
VilhoRaatikka
6d98df0c37 Added error check to mysql_backend.c to prevent unnecessary logging. 2014-12-03 15:42:04 +02:00
VilhoRaatikka
730cd67992 Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA 2014-12-03 13:28:41 +02:00
VilhoRaatikka
b106560317 Fix to bug # 634, http://bugs.skysql.com/show_bug.cgi?id=634
COM_SHOW_SLAVE_STAT wasn't classified but it was treated as 'unknown' and thus routed to master.
2014-12-03 13:27:31 +02:00
Mark Riddoch
3230eab37c Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA 2014-12-03 09:53:42 +00:00
Mark Riddoch
fdb9c5e6dc Switch to thread safe versions of localtime and asctime 2014-12-03 09:53:17 +00:00
Mark Riddoch
1e5bc37780 Use strtok_r rather than strtok 2014-12-03 09:33:55 +00:00
MassimilianoPinto
33f77303f7 Backend failed handshake is now a detected
Backend failed handshake is now a detected and MYSQL_HANDSHAKE_FAILED s
set.

Reload users from backend is now restricted to MYSQL_AUTH_FAILED only
2014-12-03 09:11:26 +01:00
VilhoRaatikka
6c3d27fd8f Commented out optional Galera monitor option disable_master_failback . 2014-12-03 10:09:29 +02:00
VilhoRaatikka
f2c2e4f81c Fix to bug #617, http://bugs.skysql.com/show_bug.cgi?id=617
When filewriter_init failed due to full disk, error branch freed messages twice. Removed unnecessary free command.
2014-12-02 23:58:28 +02:00
VilhoRaatikka
aab30f2eea If linked log file in /dev/shm wasn't writable a new log file with increased seq.no. was created but the old link was also deleted. This was ok before log rotation and file creation with increasing seq.no was implemented but useless and confusing today.
Enabled printing this also in Release version:

raatikka@linux-yxkl:~/bin/develop/bin> ./maxscale -d -c ../
Info : MaxScale will be run in the terminal process.
Using Home directory command-line argument as MAXSCALE_HOME = /home/raatikka/bin/develop
Error log       : /home/raatikka/bin/develop/log/skygw_err1.log
Message log     : /home/raatikka/bin/develop/log/skygw_msg1.log
Trace log       : /home/raatikka/bin/develop/log/skygw_trace1.log->/dev/shm/7886/skygw_trace1.log
Debug log       : /home/raatikka/bin/develop/log/skygw_debug1.log->/dev/shm/7886/skygw_debug1.log
Home directory     : /home/raatikka/bin/develop
Configuration file : /home/raatikka/bin/develop/etc/MaxScale.cnf
Log directory      : /home/raatikka/bin/develop/log
Data directory     : /home/raatikka/bin/develop/data/data7886

That is, all log files' names and locations are printed on the screen.
2014-12-02 23:15:24 +02:00
VilhoRaatikka
bdfdc3b522 Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA 2014-12-02 20:03:14 +02:00
VilhoRaatikka
d608eb2532 Fix to bug #622, http://bugs.skysql.com/show_bug.cgi?id=622
Ensured that soft link and physical file will have same sequence number. Prevented some unnecessary error printing and added more precise logs.
2014-12-02 20:02:00 +02:00
MassimilianoPinto
aa8350ef8f client's flags copied among known capabilities
Copy client's flags to backend but with the known capabilities mask
2014-12-02 18:47:25 +01:00
Markus Makela
b1ec197960 Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA 2014-12-02 15:45:52 +02:00
Mark Riddoch
d7c98a7cb5 Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA 2014-12-02 13:40:10 +00:00
Mark Riddoch
ad2ca62248 Log the start of the lsitener to the message log in line with other protocols 2014-12-02 13:39:46 +00:00
Markus Makela
bac6795105 Added log synchronization to disk when signals are received. 2014-12-02 15:33:17 +02:00
VilhoRaatikka
8dc49f4c60 Fix to #603, http://bugs.skysql.com/show_bug.cgi?id=603
Completed syntax and examples. Added filter descriptions.
2014-12-01 23:46:00 +02:00
Mark Riddoch
7584ca7e02 Fixed typo in documentation 2014-12-01 14:59:29 +00:00