Commit Graph

2151 Commits

Author SHA1 Message Date
30c928c326 Switched to /dev/random instead of time(NULL) in secrets.c 2014-12-04 10:07:06 +02:00
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
1e2027f4dc Fixes to Coverity defects 83027 73421 72714 72671 72646 72642 2014-12-03 17:56:22 +02:00
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
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
f23ce6c7d5 Added log manager extra debug flags to CMake. 2014-12-03 16:09:33 +02:00
6d98df0c37 Added error check to mysql_backend.c to prevent unnecessary logging. 2014-12-03 15:42:04 +02:00
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
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
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
fdb9c5e6dc Switch to thread safe versions of localtime and asctime 2014-12-03 09:53:17 +00:00
1e5bc37780 Use strtok_r rather than strtok 2014-12-03 09:33:55 +00:00
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
6c3d27fd8f Commented out optional Galera monitor option disable_master_failback . 2014-12-03 10:09:29 +02:00
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
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
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
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
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
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
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
ad2ca62248 Log the start of the lsitener to the message log in line with other protocols 2014-12-02 13:39:46 +00:00
bac6795105 Added log synchronization to disk when signals are received. 2014-12-02 15:33:17 +02:00
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
7584ca7e02 Fixed typo in documentation 2014-12-01 14:59:29 +00:00
b336f59910 Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA 2014-11-28 17:56:34 +00:00
96f56b2d7b Documentation update 2014-11-28 17:55:54 +00:00
1bfedbee1d Fix to bug #629, http://bugs.skysql.com/show_bug.cgi?id=629
Master was selected for routing target even there was a slave available.
2014-11-28 14:17:35 +02:00
9aa828cd9b Added debug assertions to catch wrong DCB usage 2014-11-27 22:04:34 +02:00
3941f5c31d Added debug trace 2014-11-27 19:48:27 +02:00
e068614651 Yet another 1-char-off bug in log_manager 2014-11-27 19:33:20 +02:00
3e18e091c1 Fixed unreported bug in log_manager where a terminating character was added in the middle of log message. 2014-11-27 16:53:50 +02:00
83f7203213 Fix to unreported bug which printed result of getsockopt even in case when there was no socket error. 2014-11-27 15:37:13 +02:00
d063df0f4a Update message 2014-11-26 11:10:59 +00:00
31f5017d6d Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA 2014-11-26 11:04:48 +00:00
6ee9a84cef Updated error messages 2014-11-26 11:04:33 +00:00
398eee8ece Added a log message for mysql_old_password
Added a log message for mysql_old_password detection: user is not loaded
2014-11-26 11:44:38 +01:00
efa3baa273 Added tarballs to package generation 2014-11-26 11:21:19 +02:00
1b8cef4080 small change to cmake output 2014-11-21 14:20:51 +02:00
7dc0776346 Fixes to CMake and errmsg.sys file searching with custom file locations. 2014-11-21 14:15:14 +02:00
f59dfa85ea Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-11-21 13:46:54 +02:00
155e795830 Fix to #622, http://bugs.skysql.com/show_bug.cgi?id=622
When MaxScale starts it opens log file of each type and if there exist log files of same types in the same directory, it will try to reuse the file with largest sequence number in it. If there are no existing files, a file name with sequence number 1 will be created. If the file with largest sequence number is not writable, a new log file with larger sequence number will be created.
2014-11-21 13:44:12 +02:00
93876f565d Log message fixed
Log message fixed
2014-11-21 11:57:57 +01:00
e5b041ea93 Reset log counter for members in the cluster
Reset log counter for members in the cluster
2014-11-21 11:31:01 +01:00
a38fe08a58 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-11-20 17:11:10 +00:00
fc5647282f New logging features for galera mon
New logging features for galera mon
2014-11-20 17:52:27 +01:00
c62a89f5c8 Fixed typos and added function headers
Fixed typos and added function headers
2014-11-20 17:40:33 +01:00
5fa87776b0 Fixes for Coverity bugs 2014-11-20 16:04:22 +00:00
1ac4b0bba7 Monitored server status change logged once
Monitored server status change logged once.
Available / not available master is logged
2014-11-20 16:47:17 +01:00
511d93f266 Monitored server status change logged in debug log
Monitored server status change is now logged in debug log
2014-11-20 12:18:33 +01:00