Commit Graph

1186 Commits

Author SHA1 Message Date
d732a397aa struct router_client_session update
struct router_client_session update
2014-05-26 10:56:51 +02:00
82b7b1064d Removed extra space
Removed extra space
2014-05-26 10:45:35 +02:00
2f4dbc63aa Merge branch 'develop' into feature-MX-58 2014-05-26 10:35:08 +02:00
fb00a45524 Merge branch 'develop' into feature-MX-98 2014-05-26 10:34:35 +02:00
6358634bee Documentation update
Documentation update
2014-05-26 10:33:09 +02:00
bf00ca8aba GaleraHA support - R/W Splitting with Galera
GaleraHA support - R/W Splitting with Galera
2014-05-26 10:29:34 +02:00
cde204db47 MariaDB 10 Replication support
MariaDB 10 Replication support
2014-05-26 10:09:01 +02:00
a819887b07 Added logging to place where authentication with backend fails and the reason is unknown. 2014-05-24 00:07:40 +03:00
c2e85df66f Added logging to place where authentication with backend fails and the reason is unknown. 2014-05-24 00:04:15 +03:00
eb8c6cc297 Added SESSION_STATE_ROUTER_READY to server/core/session.c:session_state so that state will be printed correctly as well instead of "Invalid state". 2014-05-23 22:10:21 +03:00
698e63eaf4 Changed bash-related comparison equality operator '==' to generic '=' 2014-05-23 22:08:57 +03:00
a6eb7bd743 Added space character between '--' and comment text in sql scripts. 2014-05-23 22:07:32 +03:00
78c5c407bd Fixed conflict 2014-05-23 16:43:11 +01:00
45d5d521b8 Merge branch 'blr' into cenh
Conflicts:
	Documentation/MaxScale Configuration And Usage Scenarios.pdf
	server/core/config.c
	server/core/dcb.c
	server/core/service.c
	server/modules/routing/Makefile
	server/modules/routing/debugcmd.c
	server/modules/routing/readwritesplit/readwritesplit.c
	server/modules/routing/readwritesplit/test/rwsplit.sh
2014-05-23 16:39:39 +01:00
7fe50a311f Addition of developer and user modes to debugcli
In order to be able to protect the interface so that mistyped argument
do not endanger MaxScale yet still allow the developer access a router
option has been added that gives the debugcli two modes.
2014-05-23 13:29:58 +01:00
23a9759fca Fixed a couple of memory leaks 2014-05-23 09:08:02 +01:00
4f1233ecc7 Added SESSION_STATE_ROUTER_READY to server/core/session.c:session_state so that state will be printed correctly as well instead of "Invalid state". 2014-05-22 22:27:08 +03:00
3b984d2773 Improve quoting mechanism is debug interface
Introduce the use of \ and allow the quotes to appear at any point
within the string, not just the beginning and end of words.
2014-05-22 15:24:07 +01:00
837d15dc33 Fix valgrind issue with saved master responses 2014-05-22 15:07:46 +01:00
719a5015f5 Merge pull request #3 from hholzgra/bugzilla-431
"==" is a bash-only operator not known to pure posix shells,
2014-05-22 08:42:56 +01:00
a4e7074f3e Merge pull request #2 from hholzgra/bugzilla-435
SQL comments require whitespace between "--" and comment text
2014-05-22 08:39:35 +01:00
23956d737b Changed bash-related comparison equality operator '==' to generic '=' 2014-05-21 22:10:40 +03:00
77299fea2e Added space character between '--' and comment text in sql scripts. 2014-05-21 22:05:13 +03:00
10dcda4827 "==" is a bash-only operator not known to pure posix shells,
and in the context it's used in here it is the same as "=" anyway
2014-05-21 19:25:21 +02:00
d0aeeb13cc SQL comments require whitespace between "--" and comment text 2014-05-21 18:46:56 +02:00
c1d39999ff Improvements to debug interface & blr updates 2014-05-21 17:25:21 +01:00
c28052d5a4 Manual merge from master to develop. Incliding fix for bug #425 http://bugs.skysql.com/show_bug.cgi?id=425 2014-05-21 15:41:39 +03:00
aa6dd6cc4a Merge branch 'bug425' 2014-05-21 09:27:13 +03:00
e19157e674 Removed another invalid assert. It is allowed to read more or less than the first arrived packet contains. 2014-05-21 09:25:57 +03:00
e6cdfa4dd4 Removed another invalid assert. It is allowed to read less or more than content of the first arrived packet. 2014-05-21 09:22:36 +03:00
af84b9560a Merge branch 'bug425' of https://github.com/skysql/MaxScale into bug425 2014-05-20 22:42:07 +03:00
ebcf4afa52 Invalid invariant in assert caused MaxScale to trap if more bytes were read than the first mysql packet contained according to the mysql packet length field. Since it is typical that session updates and mysql packets come in same transfer this check fails in correct cases as well.
Removed assertion.
2014-05-20 22:34:43 +03:00
8b3ea0c4d9 Added ability to use the service name in a show service command 2014-05-19 18:20:03 +01:00
d52f761b2d Fix missing GWBUF queue 2014-05-19 15:18:09 +01:00
6d83e48b87 Merge 2014-05-19 13:47:15 +01:00
9777e83a5a Merge branch 'master' into blr 2014-05-19 13:46:47 +01:00
cbed38f551 Merge pull request #1 from hholzgra/devel-test-readme
added description on how to run the test suite
2014-05-19 13:30:16 +01:00
a007f68dcc added description on how to run the test suite 2014-05-19 14:24:37 +02:00
854d7d7c68 Updated debug command plugin. 2014-05-19 12:31:56 +01:00
417ddc7d7f Merge branch 'master' of https://github.com/skysql/MaxScale 2014-05-17 23:24:10 +02:00
5c39682e40 Added message printing telling what file provided the module which was loaded. 2014-05-17 23:10:03 +02:00
d75e775cc1 Reprinted documents
Reprinted documents
2014-05-17 10:01:43 +02:00
7d703e942c Reprinted release notes 2014-05-17 07:26:23 +01:00
29d247319d Fixed issue with bin log event straddling buffers 2014-05-17 07:25:03 +01:00
196c6aacca Delete MaxScale 0.6 Release Notes.pdf 2014-05-17 07:21:13 +01:00
bb364f531b Bug #425, http://bugs.skysql.com/show_bug.cgi?id=425
mysqlk_client.c now assumes that mysql packets may arrive in separate pieces.
gw_read_client_event reads client data, and if packet is incomplete it is added to new dcb->dcb_readqueue. When next packet is combined with data in readqueue.

mysql_common.c:gw_MySQL_get_next_packet can now return mysql packet from read buffer although it would span multiple gwbuf buffers.
2014-05-16 17:01:10 +02:00
b341ba317e add debug flags support to .spec 2014-05-13 18:30:12 +03:00
1d08b0100f Initial binlog prototype
Supports pulling binlogs from the master, caching to a local file and relaying to a slave.

Only tested with a single slave and a single MaxScale thread.
2014-05-13 16:06:05 +01:00
c5ec3cbc57 Added new criteria for slave selection: LEAST_ROUTER_CONNECTIONS which causes the servers having least connections from same router to become chosen.
Added function pointer array which is indexed by enumerated selection criterias.
Selection criteria can now be switched by modifying config file and reloading it.
2014-05-12 17:03:22 +03:00
25cb08cc29 Return value of service_alloc wasn't read and caused MaxScale to fail if module load failed. 2014-05-12 16:59:19 +03:00