1237 Commits

Author SHA1 Message Date
VilhoRaatikka
b40a1a9ed8 Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-07-04 11:30:14 +03:00
VilhoRaatikka
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
Mark Riddoch
4af2e58c86 Update plugin status to BETA 2014-07-04 09:23:40 +01:00
Mark Riddoch
5251244ddd Fix missing argument to skygw_query_classifier_get_type in test code 2014-07-04 08:44:42 +01:00
MassimilianoPinto
cf13d89bff Version 1.0
Version 1.0
2014-07-04 09:24:00 +02:00
Timofey Turenko
e3dc071549 Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-07-03 19:48:24 +03:00
Timofey Turenko
ac914120b8 fix server/core/Makefile to make build with static lib working in Ubuntu 2014-07-03 19:35:16 +03:00
VilhoRaatikka
0036d6d8af Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-07-03 19:27:59 +03:00
VilhoRaatikka
39679447c9 Bugzilla #455, MaxScale crashed due missing buffer type information in multi-buffer responses. 2014-07-03 19:20:45 +03:00
MassimilianoPinto
a100b46680 Comments updated in get_root_master()
Comments updated in get_root_master()
2014-07-03 17:04:58 +02:00
VilhoRaatikka
a68d83ff7f Moved error messages about broken pipe to DEBUG build since in cases we've seen it is due to socket closing in same host. Other case is that MaxScale attempts to write COM_QUIT (ending message) to socket that other thread already closed.
Added counter clean-up code to readwritesplit closeSession. If operation counters have leaked, that is, due to some error in query routing some counter have been left positive, it is zeroed at session ending. This ensures that there is no garbage in global counter even if individual session wouldn't clean up its counters.
2014-07-03 12:12:21 +03:00
Timofey Turenko
0dfdc27ea5 revert -l:libmysqld.a to -lmysqld 2014-07-03 11:38:59 +03:00
VilhoRaatikka
6f6a5b67c9 Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-07-03 00:46:01 +03:00
VilhoRaatikka
e944ae2e70 http://bugs.skysql.com/show_bug.cgi?id=453
Fixed bug in session command resul handling. In case where backend sent error message the session command cursor wasn't updated properly.

Added check to bref_clear_state, if bref's waiter counter would go negative, decrement to global operation counter is skipped.
2014-07-03 00:43:30 +03:00
Timofey Turenko
7f0ab047d5 fix path for ldconfig 2014-07-02 22:42:04 +03:00
Timofey Turenko
e5ce7027ed Merge branch 'static_lib' into develop 2014-07-02 20:54:00 +03:00
Mark Riddoch
c3c18fb044 Fix for missing maxscaled sources in Makefile. Resolves issue with
make clean not removing maxscaled.o
2014-07-02 17:32:47 +01:00
Timofey Turenko
eb3a8eaab3 L:.a 2014-07-02 16:25:55 +03:00
Timofey Turenko
511bb84130 lstc should be dynamic 2014-07-02 16:02:21 +03:00
Timofey Turenko
f379ee3d7a add -static for lmysqld 2014-07-02 15:52:16 +03:00
Timofey Turenko
a15935b946 set maxscale install path /usr/local/skysql/maxscale 2014-07-02 15:39:18 +03:00
VilhoRaatikka
9724a6d32e Added new readwritesplit options with description and examples. 2014-07-02 13:14:59 +03:00
VilhoRaatikka
c61c67b5a0 Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-07-02 13:01:14 +03:00
VilhoRaatikka
bcfbddc8a6 Added description, syntax and example for max_slave_connections, max_slave_replicatoin_lag and router_options=slave_selection_criteria 2014-07-02 13:00:17 +03:00
Timofey Turenko
43a4f97219 add touch depend.mk to 'clean' target 2014-07-02 12:04:09 +03:00
MassimilianoPinto
03cae4f4f7 New version with MAXSCALE_HOME
New version with MAXSCALE_HOME, removed MAXSCALE_BASE
2014-07-02 09:41:07 +02:00
VilhoRaatikka
5c2333430d Removed configuration consistency checks, since monitor's configuration can't be easily read when router instance is created.
Fixed braces in slave select condition in select_connect_backend_servers.
2014-07-01 22:18:40 +03:00
Mark Riddoch
d58682d261 Updated Makefile to resolve issue with adding extra MaxScale in the
path for a make install command.
2014-07-01 16:53:10 +01:00
VilhoRaatikka
29503ce566 Fixed slave selection condition. 2014-07-01 18:01:36 +03:00
VilhoRaatikka
f20b8de253 Added NULL-pointer check to gw_client_hangup_event 2014-07-01 17:42:12 +03:00
Vilho Raatikka
ede4f3778f Merge pull request #10 from skysql/MAX-94
Max 94
2014-07-01 17:16:48 +03:00
MassimilianoPinto
e586efcaae Comments updated in get_root_master
Comments updated in get_root_master
2014-07-01 16:03:22 +02:00
VilhoRaatikka
e68d1f984b Added check for case where backend's replication lag information is currently not available. 2014-07-01 16:59:45 +03:00
VilhoRaatikka
8ffca16368 Added consistency check for detect_replication_lag and max_slave_replication_lag and router_options=slave_select_criteria=LEAST_BEHIND_MASTER
Fixed a bug in service_add_qualified_param which didn't handle param list correctly.
2014-07-01 16:54:16 +03:00
Vilho Raatikka
248b479bb6 Merge pull request #9 from skysql/MAX-90
Addition of server weighting to the read/write splitter
2014-07-01 16:04:52 +03:00
MassimilianoPinto
794438a248 Bug fix in get_root_master
bug fix in get_root_master if there is a server outside of the
replication tree or not monitored
2014-07-01 12:31:42 +02:00
Mark Riddoch
eaaac58b44 Addition of server weighting to the read/write splitter
Tidy up the output of show server and show servers so that columsn align
2014-07-01 11:06:28 +01:00
Mark Riddoch
52d4b8590a Create the depend.mk to enable the build to work for a fresh checkout 2014-07-01 10:49:24 +01:00
MassimilianoPinto
ff99cd3c63 no rows for slave heartbeat reset server values
no rows for slave heartbeat resets the heartbeat and node_ts in server
struct
2014-07-01 10:36:26 +02:00
MassimilianoPinto
37eaf7b455 Replication Lag default is now -2
Replication Lag default is now -2

-1 will be used for no information available from slaves
2014-07-01 10:21:24 +02:00
Mark Riddoch
34846a8b5a Delete depend.mk
This is a generated file and should not have been committed. The contents depend on the Linux distribution. Committing on one distribution will break another.
2014-07-01 09:17:15 +01:00
Mark Riddoch
c69df02e64 Merge pull request #8 from skysql/MAX-94
Max 94
2014-07-01 08:18:09 +01:00
Timofey Turenko
932548d3f5 set x permission to /etc/init.d/maxscale 2014-07-01 03:41:04 +03:00
VilhoRaatikka
3b6b33b7dd Modified refreshInstance to support max_slave_replication_lag. 2014-06-30 22:50:31 +03:00
VilhoRaatikka
57a977bdc0 Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-06-30 22:38:15 +03:00
VilhoRaatikka
b875936a21 MAX-94, Added configuration parameter, max_slave_replication_lag=<longest allowed replication lag in seconds> to router section.
Parameter can be changed runtime but it requires reloading of config.
2014-06-30 22:35:27 +03:00
MassimilianoPinto
439cedc800 Fixed num servers counter
Fixed num servers counter
2014-06-30 19:33:30 +02:00
MassimilianoPinto
dd54dde4ef fix for root master NULL pinter
fix for  root master NULL pinter
2014-06-30 19:09:50 +02:00
MassimilianoPinto
f5e6f99ba7 Added failure in start() for not running process
Added failure in start() for not running process
2014-06-30 18:31:09 +02:00
Mark Riddoch
787483f71c Merge branch 'develop' into MAX-90 2014-06-30 16:20:11 +01:00