Commit Graph

1401 Commits

Author SHA1 Message Date
08b99c121e 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: Fix to bug #469, http://bugs.skysql.com/show_bug.cgi?id=469,  rwsplit counts every connection twice in master - counnection counts leak
	execute_sescmd_in_backend: fixed a memory leak - visible only in DEBUG=Y build.
readwritesplit/test/makefile: added target for hints tests
2014-08-05 18:14:06 +03:00
490ade606a Updated RUNNING NDB desc
Updated RUNNING NDB desc
2014-08-05 16:20:56 +02: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
f2dc2e8671 Added log status change for ndbcluster monitor
Added log status change for ndbcluster monitor
2014-08-05 15:26:31 +02: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
ab7f057b63 Branch Z2 update 2014-08-04 17:10:57 +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
76d7f3d836 readwritesplit.c: corrected max_replication_lag with max_slave_replication_lag in hint parameter comparison functions. 2014-08-01 18:30:40 +03:00
dfdd2cfccb Applying changes made in commit fa1f9ec13113e00e65f2425b080cfb0d102b0872 to this branch. 2014-08-01 16:49:13 +03:00
65b121889b config.h: Added enumerated types MAX_RLAG_AVAILABLE and MAX_RLAG_UNDEFINED to be used instead of magic numbers as max_slave_replication_lag values.
readwritesplit.h: Added TARGET_RLAG_MAX to the list of hint targets. It is used in case of hint max_slave_replication_lag=<value>
readwritesplit.c: get_dcb is called when readwritesplit router chooses target backend for a query. Backend is selected from those the router has connection to. get_dcb now takes additional parameters, name and max_rlag. Name is used if there is a hint route to server <server name>. max_rlag is used for hint max_slave_replication_lag=<value> or if it doesn't exist, then for configure parameter max_slave_replication_lag=<configured value> or if both are absent, ignored.
2014-08-01 16:33:29 +03:00
871fde2682 MySQL Cluster document updated
MySQL Cluster document updated
2014-08-01 13:49:09 +02:00
3319d23947 MySQL Cluster setup and MaxScale configuration
MySQL Cluster setup and MaxScale configuration
2014-08-01 12:17:44 +02:00
4f3d746f4e MAX-157. Added support for hints in rwsplit router.
buffer.c: added memory release for hint of a GWBUF
hint.c: added bool hint_exists()
hint.h: added placeholder for hint type HINT_ROUTE_TO_ALL which doesn't have implementation yet.
filter/Makefile: fixed dependency issue
hintparser.c: added const char* token_get_keyword(), hint_parser:added NULL check, hint_next_token: fixed off-by-one bug
readwritesplit.h: added bitfield for hints' use, which includes route targets and flag for case where user hinted to route to named backend server.
readwritesplit.c: added function route_target_t get_route_target() for resolving route target based on 1) query type (from query_classifier) 2) transaction state (active/not) and 3) hints. Modified get_dcb, which is called in routeQuery to provide pointer to correct backend DCB. Now get_dcb also takes server unique name as a parameter if such a hint was found. for hints' use, which includes  enter the commit message for your changes.
2014-07-31 23:40:02 +03:00
fbd0552425 New version with MySQL Cluster support
New version with MySQL Cluster support
2014-07-31 16:40:27 +02:00
aa8b8a41b0 New version with MySQL Cluster support
New version with MySQL Cluster support
2014-07-31 15:41:32 +02:00
ef924cdc00 Added check for session state before calling router->sessionClose 2014-07-30 20:54:43 +03: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
744892e47c Support for MySQL Cluster
Support for MySQL Cluster with ndbcluster monitor and readconnroute
with router_option=ndb
2014-07-30 09:41:03 +02:00
40546fc689 Added NDB status
Added NDB status
2014-07-30 09:31:37 +02: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
8d19d339c5 Z2 update 2014-07-29 16:49:03 +02: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
ad96ca66a5 Bug 462, http://bugs.skysql.com/show_bug.cgi?id=462, fixed path MAXSCALE_HOME path expression in server/test/makefile 2014-07-29 14:02:57 +03: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
20bda47f64 Merge branch 'develop' into Z2 2014-07-28 11:28:06 +02:00
e91045d311 New monitor added to Makefile
New monitor added to Makefile
2014-07-28 09:53:42 +02:00
cbefda6517 monitor for SQL nodes in MySQL Cluster
New monitor added for SQL nodes in MySQL Cluster
2014-07-28 09:47:06 +02:00
2dea68b9b3 Hint parsing 2014-07-25 16:33:49 +01: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
764ceac105 Merge branch 'httpd' into MAX-157
Conflicts:
	server/core/buffer.c
	server/include/buffer.h
2014-07-16 18:31:12 +01:00
944ee9134c Initial HINT structure added 2014-07-16 18:29:20 +01:00
b335bad380 Added some documentation 2014-07-16 16:11:27 +01: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
23eed37b9f Merge branch 'httpd' of github.com:skysql/MaxScale into httpd 2014-07-15 17:44:01 +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