Commit Graph

1331 Commits

Author SHA1 Message Date
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
97ab902ede Fix to http://bugs.skysql.com/show_bug.cgi?id=469, connection counter leaks in master.
Removed redundant counter increments.
2014-08-05 16:31:39 +03:00
dbfaa5a8ea Fix to http://bugs.skysql.com/show_bug.cgi?id=469, connection counter leaks in master.
Removed redundant counter increments.
2014-08-05 16:28:26 +03:00
4ef1df4e9d Bug #468, http://bugs.skysql.com/show_bug.cgi?id=468, Query classifier accessed freed thread context. If parsing fails thd doesn't need to be freed because it holds correct information about command type. 2014-08-05 13:44:04 +03:00
7558abb6fa Bug #468, http://bugs.skysql.com/show_bug.cgi?id=468, Query classifier accessed freed thread context. If parsing fails thd doesn't need to be freed because it holds correct information about command type.
session.c:session_setup_filters : fixed memory leak
hintparser.c: added token_free for HINT_TOKENs and fixed a few memory leaks.
mysql_client_server_protocol.h: added mysql_protocol_done which frees memory blocks pointed to by protocol members. Those can't be freed in dcb.c because dcb.c doesn't know about protocol's members.
mysql_backend.c:gw_backend_close: fixed memory leak
mysql_client.c: gw_client_close: fixed memory leak
mysql_common.c: added implementation of mysql_protocol_done
    :protocol_archive_srv_command: tried to fix memory leak. Some memory is still leaking according to valgrind. Removed use of uninitialized local variable len.
readwritesplit.c:execute_sescmd_in_backend: fixed a memory leak - visible only in DEBUG=Y build.
2014-08-05 10:42:13 +03:00
6b3c7041e3 Bug #468, http://bugs.skysql.com/show_bug.cgi?id=468, Query classifier accessed freed thread context. If parsing fails thd doesn't need to be freed because it holds correct information about command type.
session.c:session_setup_filters : fixed memory leak
hintparser.c: added token_free for HINT_TOKENs and fixed a few memory leaks.
mysql_client_server_protocol.h: added mysql_protocol_done which frees memory blocks pointed to by protocol members. Those can't be freed in dcb.c because dcb.c doesn't know about protocol's members.
mysql_backend.c:gw_backend_close: fixed memory leak
mysql_client.c: gw_client_close: fixed memory leak
mysql_common.c: added implementation of mysql_protocol_done
	:protocol_archive_srv_command: tried to fix memory leak. Some memory is still leaking according to valgrind. Removed use of uninitialized local variable len.
readwritesplit.c:execute_sescmd_in_backend: fixed a memory leak - visible only in DEBUG=Y build.
2014-08-05 09:31:10 +03:00
932cec8523 branch release-1.0beta update 2014-08-04 17:14:19 +02:00
6ef5cbc609 30s is now the default value for replication lag
30s is now the default value for replication lag
2014-08-04 17:10:25 +02:00
b3656eba07 Added check for session state before calling route->closeSession 2014-07-30 20:43:43 +03:00
7a039e1a0b Added check for session state before calling router->closeSession 2014-07-30 20:40:08 +03:00
3585054b35 Bug 462, http://bugs.skysql.com/show_bug.cgi?id=462, fixed path MAXSCALE_HOME path expression in server/test/makefile 2014-07-29 22:28:44 +03:00
4e720c74e8 Bug 462, http://bugs.skysql.com/show_bug.cgi?id=462, fixed path MAXSCALE_HOME path expression in server/test/makefile 2014-07-29 22:16:03 +03:00
b68dc5ff2a develop update 2014-07-29 16:47:59 +02:00
3f4e67ccca Changed value for SERVER_SLAVE_OF_EXTERNAL_MASTER
Changed SERVER_SLAVE_OF_EXTERNAL_MASTER value to 0x0080 (128)
2014-07-29 16:46:39 +02:00
d83a4673d7 Bug 462, http://bugs.skysql.com/show_bug.cgi?id=462, testall target fails in server/test to invalid MAXSCALE_HOME path specification.
Fixed path specification in server/test/makefile.

Added comments to mysql_backend.c
2014-07-29 12:11:00 +03:00
bb9893b488 release-1.0beta update 2014-07-29 10:26:11 +02:00
ccc71b2762 Merge branch 'develop' 2014-07-16 19:34:33 +02:00
fa1f9ec131 Added unsigned char in modutil.c routines
Added unsigned char in modutil.c routines
2014-07-16 19:32:20 +02:00
87e66a0ea8 Revert "Implementation of HTTPD protocol, gwbuf properties and a dmeo web application"
This reverts commit 6fd5dff34902051f38932947493280e1e62dbeb1.
2014-07-15 17:53:39 +01:00
6fd5dff349 Implementation of HTTPD protocol, gwbuf properties and a dmeo web application
interface to test the new httpd.
2014-07-15 17:39:31 +01:00
704094b9dc fix endif in .spec 2014-07-12 00:27:08 +03:00
060a3cea4c add CentOS 7 support to .spec 2014-07-12 00:13:21 +03:00
12ad96cc47 add opensuse support to .spec 2014-07-10 00:45:12 +03:00
4ddc9c81a1 MaxScale 1.0.0 beta 2014-07-04 15:17:38 +02:00
0dcc23a33c MaxScale 1.0.0 beta
MaxScale 1.0.0 beta
2014-07-04 15:17:03 +02:00
f9f5326040 Merge branch 'develop' into release-1.0beta 2014-07-04 14:11:45 +02:00
4c6c6c9111 Documentation for HA with Corosync/Pacemaker
Documentation for HA with Corosync/Pacemaker
2014-07-04 14:10:13 +02:00
8edeb2e2f4 Merge branch 'develop' into release-1.0beta 2014-07-04 14:01:36 +02:00
362ae00c80 Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-07-04 14:29:11 +03:00
78d432661a Delete MaxScale 0.7 Release Notes.pdf
Moved to history
2014-07-04 12:28:04 +01:00
5357f6e2f2 Fixes symtoms described in http://bugs.skysql.com/show_bug.cgi?id=454
Added DCB state check to backend error evend handler. If state isn't DCB_STATE_POLLING anymore, socket is closed with purpose or error occurred but it has already been handled.
Client doesn't hang anymore at least with the documented method.
2014-07-04 14:26:55 +03:00
1a99b1b287 Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-07-04 12:26:30 +01:00
3aeb8d96af Update release notes 2014-07-04 12:26:03 +01:00
96472706e0 set version to 1.0-beta 2014-07-04 14:25:41 +03:00
26cb3a2696 Merge branch 'develop' into release-1.0beta 2014-07-04 12:35:21 +02:00
3c74d73b75 change debian/install to install script from etc/ubuntu/init.d/maxscale 2014-07-04 12:51:59 +03:00
25e108c99a maxscale init script for Ubuntu
maxscale init script for Ubuntu
2014-07-04 11:49:00 +02:00
3052f6c308 Directory deleted
Directory deleted
2014-07-04 11:47:41 +02:00
90c571f8f9 Ubuntu maxscale init script
Ubuntu maxscale init script
2014-07-04 11:46:13 +02:00
b40a1a9ed8 Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-07-04 11:30:14 +03:00
307bb6ad98 Disabled query classifier tests from testset until tests are fixed. Current version doesn't even compile. 2014-07-04 11:29:26 +03:00
4af2e58c86 Update plugin status to BETA 2014-07-04 09:23:40 +01:00
5251244ddd Fix missing argument to skygw_query_classifier_get_type in test code 2014-07-04 08:44:42 +01:00
cf13d89bff Version 1.0
Version 1.0
2014-07-04 09:24:00 +02:00
e3dc071549 Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-07-03 19:48:24 +03:00