2114 Commits

Author SHA1 Message Date
Markus Makela
efa3baa273 Added tarballs to package generation 2014-11-26 11:21:19 +02:00
Markus Makela
1b8cef4080 small change to cmake output 2014-11-21 14:20:51 +02:00
Markus Makela
7dc0776346 Fixes to CMake and errmsg.sys file searching with custom file locations. 2014-11-21 14:15:14 +02:00
VilhoRaatikka
f59dfa85ea Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-11-21 13:46:54 +02:00
VilhoRaatikka
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
MassimilianoPinto
93876f565d Log message fixed
Log message fixed
2014-11-21 11:57:57 +01:00
MassimilianoPinto
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
Mark Riddoch
a38fe08a58 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-11-20 17:11:10 +00:00
MassimilianoPinto
fc5647282f New logging features for galera mon
New logging features for galera mon
2014-11-20 17:52:27 +01:00
MassimilianoPinto
c62a89f5c8 Fixed typos and added function headers
Fixed typos and added function headers
2014-11-20 17:40:33 +01:00
Mark Riddoch
5fa87776b0 Fixes for Coverity bugs 2014-11-20 16:04:22 +00:00
MassimilianoPinto
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
MassimilianoPinto
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
MassimilianoPinto
69a1c5aaf5 Changed log messages for dousers
Changed log messages for dousers
2014-11-20 11:31:54 +01:00
Markus Makela
a65b9fa8b3 Fixes to Coverity defects: 72662 82143 82144 82145 82348 82349 2014-11-20 06:44:43 +02:00
Mark Riddoch
43ed77b52b Bug 515 Conditional arguemnt to gw_write 2014-11-19 16:43:21 +00:00
Mark Riddoch
0e6fa09d7e Fixes for Coverity issues 2014-11-19 16:01:38 +00:00
Mark Riddoch
c2655e048c Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-11-19 15:17:17 +00:00
Mark Riddoch
97b730c2e0 Addition of signal handler for SIGUSR1 to rotate all log files 2014-11-19 15:16:48 +00:00
Markus Makela
2e3fb9cbd3 Changed the 'seslog' command to 'sessionlog' in the telnet client. 2014-11-19 16:55:18 +02:00
Markus Makela
b436c1b87a Updated the README 2014-11-19 15:37:54 +02:00
Markus Makela
2e456c7348 Changed the order of help messages about seslog command 2014-11-19 15:22:12 +02:00
Markus Makela
a91fe90915 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-11-19 15:19:09 +02:00
Markus Makela
990de59241 Added find_package modules for MySQLClient and RabbitMQ and fixed an error in consumer.c 2014-11-19 15:16:10 +02:00
Mark Riddoch
e67ded72a0 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-11-19 12:07:13 +00:00
Mark Riddoch
d3c8770852 Merge branch 'blr' into develop
Conflicts:
	client/maxadmin.c
	server/core/CMakeLists.txt
	server/core/dcb.c
	server/core/gateway.c
	server/core/poll.c
	server/core/test/CMakeLists.txt
	server/core/test/makefile
	server/include/poll.h
	server/modules/routing/debugcmd.c
2014-11-19 12:00:55 +00:00
VilhoRaatikka
2c87edfe27 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-11-19 13:28:40 +02:00
VilhoRaatikka
9cc0e1316c Fix to #594, http://bugs.skysql.com/show_bug.cgi?id=594
Changes to readwritesplit.c:get_dcb caused regression
2014-11-19 13:27:43 +02:00
Markus Makela
c3439027d4 Fixed a missing session list iteration from debugcmd.c 2014-11-19 13:07:37 +02:00
Mark Riddoch
6cbbf7260f Improved logging and diagnostics 2014-11-19 10:49:40 +00:00
MassimilianoPinto
ed461d58e2 Moved messages to message log
Moved messages to message log and others printed only with DEBUG mode
compile setting
2014-11-19 11:36:44 +01:00
Markus Makela
d4894b3c1d Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-11-19 12:26:49 +02:00
Markus Makela
2556097a98 Added commands to debugcmd.c that enable and disable logs for a single session.
Added the session id to dprintAllSessions and dprintSession output.
2014-11-19 12:25:33 +02:00
VilhoRaatikka
580f9730f6 Fix to #621, http://bugs.skysql.com/show_bug.cgi?id=621 2014-11-19 12:14:24 +02:00
Markus Makela
a65d8cd525 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-11-19 09:38:22 +02:00
Markus Makela
98390e89cc Added dummy cli commands that would enable and disable session logs. 2014-11-19 09:37:24 +02:00
VilhoRaatikka
bb39267126 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-11-19 00:15:21 +02:00
VilhoRaatikka
fd11e6a7f5 Session-specific logging. Added functions
void session_enable_log(SESSION* ses, logfile_id_t id)
and
void session_disable_log(SESSION* ses, logfile_id_t id)

Which switch specific log type on/off if the log type in question is not generally enabled.

Each thread carries a thread-specific struct log_info_t which includes members for current session id and bitfield for enabled log types for the current session. That information is checked before actual log write functions are called.

Each file where session-specific logging is used, must include the following exports:

/** Defined in log_manager.cc */
extern int            lm_enabled_logfiles_bitmask;
extern size_t         log_ses_count[];
extern __thread log_info_t tls_log_info;
2014-11-19 00:08:59 +02:00
MassimilianoPinto
fc04087ab4 Valgrind tests completed
Valgrind tests completed, message removed
2014-11-18 13:19:38 +01:00
MassimilianoPinto
91f65072a2 Slave status removed of 1 server only
Slave status removed of 1 server only
2014-11-18 13:07:49 +01:00
MassimilianoPinto
e2fd2c422e One server only in MySQL monitor config
One server only in MySQL monitor: it’s the Master.
Only one server in mysql monitor and in router sections
2014-11-18 11:25:21 +01:00
VilhoRaatikka
7ef54219a6 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-11-17 23:28:25 +02:00
VilhoRaatikka
a30fc0c787 MAX-328, Add session identifier to trace log entries. Session id is given to session in session_alloc and stored to thread's local storage variable when thread picks a new event from epoll_wait. 2014-11-17 23:27:14 +02:00
Markus Makela
d3df458b27 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop
Conflicts:
	server/modules/filter/test/harness_common.c
2014-11-17 20:20:33 +02:00
Markus Makela
0b988e0f49 Added a dummy session and dcb to the filter harness.
Added tests for regexfilter.
2014-11-17 20:08:10 +02:00
VilhoRaatikka
70eef7aaa8 Fix to bug #513, http://bugs.skysql.com/show_bug.cgi?id=513 2014-11-17 15:33:13 +02:00
VilhoRaatikka
6bda88f252 Addition to fix to bug #597, http://bugs.skysql.com/show_bug.cgi?id=597 2014-11-17 15:15:34 +02:00
VilhoRaatikka
1c4ffd2599 Fix to bug #597, http://bugs.skysql.com/show_bug.cgi?id=597
Changed the order of include directives in query_classifier.cc
2014-11-17 14:55:13 +02:00
VilhoRaatikka
34b155b6fe Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-11-17 13:58:18 +02:00
Mark Riddoch
67a0f65b74 Fixed issue with not releasing the spinlock in show tasks 2014-11-17 11:56:41 +00:00