d36100a99f
Replication consistency with replication tree
...
Added replication consistency after replication tree computation
2014-06-23 13:12:26 +02:00
51d47accf7
Added replication consistency routines
...
Added replication consistency routines
2014-06-23 12:56:01 +02:00
d42469c6cc
Merge branch 'develop' into MAX-59
2014-06-23 12:42:32 +02:00
e650930487
Cleanup up branch session on close.
2014-06-23 10:10:04 +01:00
7ba64875ad
master_id, depth, slaves default values
...
master_id, depth, slaves default values
2014-06-23 09:51:50 +02:00
7067e43b44
Core changes to support tee filter.
2014-06-20 17:49:40 +01:00
e98b5d411e
Addition of tee filter
2014-06-20 11:47:07 +01:00
c759767a91
Use new session entry points to get remote and user rather than dereference
...
the DCB directly.
2014-06-19 16:07:21 +01:00
058d553973
Addition of user and source to all filter
...
Bug fix in timestamp for topfilter
2014-06-19 14:02:41 +01:00
2a1688bb3d
get level 0 for the first master
...
get level 0 for the first master
2014-06-18 18:57:09 +02:00
11a85971f1
Merge branch 'develop' into MAX-65
2014-06-18 17:47:21 +01:00
2e42c9170d
Merge branch 'develop' of github.com:skysql/MaxScale into develop
2014-06-18 17:46:51 +01:00
4d257897d3
Merge branch 'develop' of github.com:skysql/MaxScale into develop
...
Conflicts:
server/core/session.c
server/modules/protocol/mysql_backend.c
server/modules/routing/readwritesplit/readwritesplit.c
Resolved.
Addition of user in topfilter report and general tidyup
2014-06-18 17:45:57 +01:00
dc359f8e90
fix .spec
2014-06-18 18:51:50 +03:00
e48f4ee8fe
Require libedit-devel only for CentOS 6
2014-06-18 18:44:36 +03:00
107500f40a
Regex Filter Documentation
2014-06-18 15:28:09 +01:00
3def4c1c73
Merge branch 'develop' into MAX-111
2014-06-18 12:30:00 +01:00
421995af94
Disable use of libedit if it is not installed on the machine
2014-06-18 12:28:59 +01:00
1b6a5efb64
merge from develop
...
merge from develop
2014-06-18 11:51:47 +02:00
b2d7d28b10
fix for slave set with mariadb 10 replication
...
fix for slave set with mariadb 10 replication
2014-06-18 11:46:29 +02:00
188a91dab2
add build-depends on libedit-devel
2014-06-17 19:38:18 +03:00
6bb7aa4311
first implementation for depth of replication
...
first implementation for depth of replication for nodes
2014-06-17 18:16:45 +02:00
751b81a3b6
getServerByNodeId added
...
getServerByNodeId added
2014-06-17 18:07:30 +02:00
d0cae12ca5
fix build-depends in .spec
2014-06-17 17:41:29 +03:00
62c5937ae1
fix build-depends in .spec
2014-06-17 17:18:40 +03:00
38fd7b0844
master_id set by monitor
...
master_id set by monitor and printed via dprint* routines
2014-06-17 16:10:11 +02:00
e7fa80a591
Code clean up
2014-06-17 16:15:19 +03:00
e0c3ef24d7
typo fix
...
typo fix
2014-06-17 13:05:31 +02:00
fe846885d5
depth and master_id fields added
...
depth and master_id fields added
2014-06-17 13:05:03 +02:00
49163a4c43
Merge branch 'develop' into MAX-11
2014-06-16 19:53:19 +03:00
4f03c775e5
sescmd_cursor_reset didn't reset cursor's property pointer which made reset ineffective.
2014-06-16 13:40:45 +03:00
189793f992
Clean up some compiler warnings
2014-06-16 08:40:04 +01:00
9f6a1061c6
Config fix
2014-06-16 08:10:34 +01:00
850603171b
Improvements to CLI commands and client
2014-06-16 07:57:12 +01:00
70ba1f028a
Fixed bug in generation of execution time in report
2014-06-15 23:03:41 +01:00
0200ca4e24
Some things weren't switched off from product build.
2014-06-16 00:31:14 +03:00
5bcae64538
When protocol closes DCB it calls dcb_close instead of dcb->func.close. dcb_close then calls dcb->func.close. This is now changed to all protocols and routers.
...
Rwsplit handles ERRACT_NEW_CONNECTION by clearing backend reference, removing callbacks and associating backend reference with new backend server. If it succeeds and the router session can continue, handleError returns true. Otherwise false. When ever false is returned it means that session must be closed.
Rwsplit now tolerates backend failures in a way that it searches new backends when monitor, backend, or client operation fails due to backend failure.
2014-06-15 23:44:07 +03:00
8103ac6052
Merge branch 'develop' into MAX-65
2014-06-14 12:54:08 +01:00
c2fa112407
Remove .swp file which was added by mistake
2014-06-13 23:42:21 +01:00
719503e471
Addition of new client utility, maxadmin.
...
Supporting protocol for the admin interface
New routing module, cli, which shares source with debugcli
Tidyup output of lsit commands
2014-06-13 23:40:07 +01:00
09d20d1059
Modified dcb_call_foreach so that it doesn't hold spinlock (dcbspin) continuously because it caused deadlock when new slaves were tried to connect with.
...
Fixed a few smallish things.
2014-06-13 14:52:04 +03:00
dfc9141a38
Whenever monitored server's state changes, a callback, router_handle_state_switch is called for each DCB in MaxScale session. The DCB referring to the server in question will be passed as parameter to backend DCB's hangup function.
...
The logic that solves the situation is not in place yet.
2014-06-13 13:30:50 +03:00
480c842308
Improved diagnostics in filters
2014-06-13 08:50:28 +01:00
1868210a59
Enhancements to topfilter and qlafilter
...
Documentation for topfilter and qlafilter
2014-06-13 08:35:23 +01:00
9eda859724
Added callback for rwsplit router which traverses through every rwsplit router session and for each rses, all backend references. Each bref is checked whether it is connected to non responsive server and if it is flagged to be waiting for response from the non-responsive backend. For matching ones, backend protocol's hangup function is called.
2014-06-13 08:01:26 +03:00
15ff1fd26a
Fixed many error handling issues regading to timing and multiple threads.
...
Added flags to those backend references which have sent something to backend which causes the backend to send results or reply back. Didn't add removal of the flag since there's currently no way to tell whether response from backend contains anything else than session command reply - which aren't counted when BREF_WAITING_RESULT is set and cleared.
2014-06-12 23:22:51 +03:00
e95b6cc0d9
dcb.c, gw_utils.c, mysql_server_protocol.h, mysql_client.c : Replaced gw_read_gwbuff with dcb_read in mysql_client.c:gw_read_client_event.
...
rwsplit.sh, test_sescmd.sql : Added test case for session commands.
2014-06-12 19:02:47 +03:00
d17315b2cd
Updated QLA filter to allow for regex matches and client address matches
...
to control the statements that are logged.
2014-06-11 23:55:29 +01:00
02330093cc
Added test for session commands.
2014-06-11 15:33:42 +03:00
a8def0d670
Additional error checking and documentation.
...
Implementation of topfilter options
2014-06-10 11:57:48 +01:00