Commit Graph

1331 Commits

Author SHA1 Message Date
7245d1baa1 blr branch merge
blr branch merge
2014-09-11 12:20:42 +02:00
190c05da5f Merge branch 'develop' into release-1.0beta-refresh 2014-09-11 12:17:29 +02:00
27e0ccd641 Fix for bug 447 - Error log flooded with same warnings if there are no slaves present 2014-09-11 11:03:53 +01:00
f9aece5113 Remove queuing that is no longer required
Fixed bug in mysql_backend.c that lost up to 4 bytes of data in rare
circumstances.
2014-09-10 15:51:53 +01:00
344fcfa9ea Jira bug MAX-248 File descriptor leak in secrets key reading 2014-09-10 08:06:48 +01:00
28921e0856 Merge branch 'hholzgra-hartmut-dateformat' into release-1.0beta 2014-09-09 12:02:07 +01:00
cb7a64e1f2 Merge branch 'hartmut-dateformat' of https://github.com/hholzgra/MaxScale into hholzgra-hartmut-dateformat 2014-09-09 12:01:43 +01:00
7eac7c0c08 Merge branch 'hholzgra-hartmut-segfault-handler' into release-1.0beta 2014-09-09 11:49:34 +01:00
79e3f93c2d Merge branch 'hartmut-segfault-handler' of https://github.com/hholzgra/MaxScale into hholzgra-hartmut-segfault-handler 2014-09-09 11:48:32 +01:00
59251ec878 added signal handler for fatal signals like SIGSEGV
that tries to write a call trace to error log
(or if that fails to stderr) before triggering
a core dump
2014-09-09 11:44:47 +02:00
950c30e065 Fix bug 528 - wrong service name in tee fitler crashes MaxScale 2014-09-09 08:50:15 +01:00
c273988e51 Fixed for EPOLLHUP events
Possible double free in maxscaled on close

binlog router debugging/tracing
2014-09-05 17:29:17 +01:00
ee63b042b7 use ISO-8601 format for date part in log message timestamp 2014-09-05 16:51:38 +02:00
a4ae7ea139 Fix for bug 493 - Multiple config file sections with the same name 2014-09-01 17:18:15 +01:00
60d6b5b699 Fix bugs 484 and 485. 2014-09-01 16:51:05 +01:00
877442c941 Addition of periodic task execution via the housekeeper thread
Addition of 15, 5 and 1 minute load averages in poll
2014-08-29 16:53:05 +01:00
531dfd017c Addition of thread data to commands 2014-08-29 11:24:58 +01:00
cf55f271f0 Add file left off last commit 2014-08-28 11:42:29 +01:00
81e1dd8719 Merge branch 'develop' into blr
Add instrumentation

Remove mutexes

Improve gwbuf_append performance

Conflicts:
	server/core/dcb.c
	server/modules/protocol/mysql_backend.c
2014-08-28 11:41:26 +01:00
eed40fef75 Extend hashtable scripts, fix hashtable with size of less than 1; correct text in spinlock tests. 2014-08-27 09:31:34 +01:00
493feb49ba Fix for bug 410 - MaxScale.cnf server option is not parsed for spaces 2014-08-22 14:46:26 +01:00
c133c6ef4a Fix for bug 479 - Undefined filter reference in MaxScale.cnf causes a crash 2014-08-22 14:33:14 +01:00
3476558f52 Fixed soem errors from a cppcheck run
mbrampton@martin-office:~/Dropbox/development/skygit/MaxScale/server$ cppcheck -q core/*.c
[core/adminusers.c:302]: (error) Resource leak: fp_tmp
[core/filter.c:382]: (error) Uninitialized variable: me
[core/service.c:1071]: (error) Uninitialized variable: succp
2014-08-22 14:25:27 +01:00
40c2846887 Merge branch 'develop' into release-1.0beta 2014-08-22 13:34:00 +01:00
a853b72baf Modify build_gateway.inc so that variables are used, thus avoiding a need for editing. Please review the file to see the variables that are used - they should be obvious. 2014-08-20 17:22:58 +01:00
65b25a825a Addition of adminusers unit test
Fix to filters unit test
2014-08-20 14:50:44 +01:00
baa655182c Merge branch 'master' into develop 2014-08-20 11:07:55 +01:00
24e16e97ed Updates for unit tests 2014-08-20 11:07:28 +01:00
d6a2ef6996 Misc fixes to doxygen comments 2014-08-19 13:22:40 +01:00
3dc09dfe43 Addition of spinlock unit test 2014-08-18 18:26:14 +01:00
34f6884920 Merge pull request #24 from hholzgra/hartmut-DEL
Hartmut del
2014-08-18 09:20:30 +03:00
087c4720bb Merge pull request #23 from hholzgra/hartmut-DEL
Hartmut del
2014-08-18 09:20:03 +03:00
85c88dbd6b Merge pull request #22 from hholzgra/hartmut-DEL
consistently use DEL instead of rm in Makefiles
2014-08-18 09:10:58 +03:00
fb87f68368 consistently use DEL instead of rm in Makefiles 2014-08-17 21:02:24 +00:00
dcb2070736 Merge branch 'release-1.0beta' of https://github.com/skysql/MaxScale into release-1.0beta
Conflicts:
	server/modules/protocol/mysql_common.c
2014-08-15 18:43:05 +03:00
85ebc6d543 add gcov patch 2014-08-15 17:41:46 +03:00
c2bee45a10 Merge pull request #19 from skysql/session_variable_test
more stress tests for rwsplit router
2014-08-15 13:55:01 +03:00
d174740b08 Merge remote-tracking branch 'origin/release-1.0beta' into session_variable_test 2014-08-15 13:48:04 +03:00
be52b3a71e more stress tests for rwsplit router 2014-08-15 13:41:56 +03:00
285605b33f Merge pull request #18 from hholzgra/hartmut_README
fixed wrong server port in README
2014-08-15 08:31:21 +03:00
7f18914d90 fixed wrong server port in README 2014-08-15 02:51:16 +02:00
28cc98d33a add gcov patch file 2014-08-14 23:22:21 +03:00
902004c1ee Fix to bug #463, http://bugs.skysql.com/show_bug.cgi?id=463
mysql_common.c:gw_MySQL_get_next_packet didn't handle case where an insert command followed by alter table in the same read buffer. It shouldn't been possible without multi-statement being set.
2014-08-14 22:33:57 +03:00
2393ac57e9 mysql_common.c:protocol_add_srv_command didn't check that protocol status was MYSQL_PROTOCOL_ACTIVE and wrote to freed memory. 2014-08-14 17:23:46 +03:00
15e3ef6950 Merge branch 'release-1.0beta' of https://github.com/skysql/MaxScale into release-1.0beta 2014-08-14 15:19:23 +03:00
77e5525436 mysql_client.c:gw_error_client_event & gw_client_hangup_event: added session state check, if session is already closing, don't start redundant call to dcb_close.
mysql_common.c:mysql_protocol_done: added protocol state check. Used not to check it which caused double free of allocated memory.
2014-08-14 15:15:22 +03:00
35f64ff33a Merge pull request #17 from skysql/session_variable_test
rwsplit router tests for session variables
2014-08-14 14:38:26 +03:00
01eb9822e0 rwsplit router tests for session variables 2014-08-14 14:34:22 +03:00
d3a79ce7c4 Partial fix to #463, http://bugs.skysql.com/show_bug.cgi?id=463
log_manager.cc: fixed block buffer overflow. Queries are logged to trace log and long queries exceed the bufsize in length. Those were written beyond allocated memory areas.
mysql_client_server_protocol.h: added mysql_protocol_state_t to indicate whether MySQL protocol object is allocated, usable or freed. Freed means that memory allocations made by the protocol are freed. That is, command history etc.
mysql_backend.c: gw_backend_hangup and gw_error_backend_event used to call error handling function although session was already closing. Added check for session state.
mysql_client.c: route_by_statement lost some packets in case where query was sent in multiple packets.
mysql_common.c: gw_MySQL_get_next_packet failed in packet handling with route_by_statement. When multi-packet query was merged into one, packet type wasn't copied.
	protocol_archive_srv_command and mysql_protocol_done didn't have proper locking in place which lead to occasional crashes.
2014-08-14 13:05:05 +03:00
f738b2e0cb Fix to http://bugs.skysql.com/show_bug.cgi?id=469, connection counter leaks in master.
Removed redundant counter increments.
2014-08-05 16:38:00 +03:00