a91845b324
Re-enabled the ignore list, it uses the parameter 'ignore databases=<list of db names>'.
...
Added routing of trivial queries and ignored databases to the first available backend.
2014-12-13 07:47:46 +02:00
c31f971999
Fix candidate for #645 , http://bugs.skysql.com/show_bug.cgi?id=645 and #648 , http://bugs.skysql.com/show_bug.cgi?id=648
...
If readwritesplit.c:routeQuery gets a GWBUF whose type is UNDEFINED, then each MySQL packet is extracted from input buffer and passed to new function, route_single_stmt. Each extracted packet is stored in separate GWBUF and added types GWBUF_TYPE_MYSQL and GWBUG_TYPE_SINGLE_STMT which makes it possible to execute session commands and process reply packets properly.
Code nedes still cleaning but this is for testing atm.
2014-12-13 01:55:40 +02:00
339f604d73
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-12 21:18:13 +02:00
600d29a6d1
Merge branch 'MAX-324' of https://github.com/mariadb-corporation/MaxScale into MAX-324
...
Conflicts:
server/modules/routing/dbshard/dbshard.c
2014-12-12 21:08:21 +02:00
52db8ce15e
Removed useless comments
2014-12-12 21:06:59 +02:00
4c9307bbf2
Updated MaxScale_test.cnf
2014-12-12 17:15:11 +02:00
d1f5eaaaec
Fixed databases not being detected in query_classifier when creating new tables.
2014-12-12 16:57:19 +02:00
175756c478
Fixed some missing return values and added database change routing to right shard.
2014-12-12 16:25:19 +02:00
e55c70b329
Session status wasn't updated in tee filter's closeSession
2014-12-12 14:36:05 +02:00
d607d3ec7c
change capital -RC to lowcase -rc in the package name
2014-12-12 13:07:51 +02:00
1fc063b437
Added pepared statements and field lsit support to the command types
...
to duplciate
2014-12-12 10:02:24 +00:00
c266a2cf57
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-12 09:46:26 +00:00
680f7ef2c1
Add fix for duplicating COM_QUIT, COM_INIT_DB and COM_CHANGE_USER packets
2014-12-12 09:45:52 +00:00
89c9bb8ade
change version from 'beta' to 'RC'
2014-12-11 22:22:52 +02:00
3ffa585fe4
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-11 13:49:01 +00:00
573cf6040c
Check for the duplciate service being the same as the service that is using the
...
tee filter. I.e. trap simple recursive definitions.
2014-12-11 13:45:21 +00:00
63def8d002
Fix to bug #644 , http://bugs.mariadb.com/show_bug.cgi?id=644
...
Initialized the lock variable in gwbuf_clone
2014-12-11 15:28:41 +02:00
a7cc40dc6a
Added error message generation for non-existent databases and backend status checks.
2014-12-11 11:45:40 +02:00
c75ba90f6f
Fixes to Coverity defect 84478 and to 72759 which has reappeared.
2014-12-11 09:43:59 +02:00
89ccc7c927
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-10 18:06:48 +02:00
2a623c6ec3
Fixed a typo in config.c
2014-12-10 18:05:58 +02:00
df1ff25be4
Changes for file system full detection
2014-12-10 09:07:14 +00:00
30361748cc
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-09 14:26:56 +02:00
0967a09b5c
Added severity keyword to error log messages
2014-12-09 14:26:33 +02:00
f2cec6e51e
Merge branch 'release-1.0GA' into firewall
...
Conflicts:
query_classifier/query_classifier.cc
2014-12-09 14:23:07 +02:00
78d09c35cb
Added functions for shard runtime updating.
2014-12-09 14:12:12 +02:00
8de7a5854a
Log files names printed only with DEBUG mode
...
Log files names printed only with DEBUG mode
2014-12-09 11:17:30 +01:00
0fb1918887
Improved error handlign for binlog directory and files
2014-12-09 09:55:05 +00:00
26e3486966
Fix for router instance creation failure
2014-12-09 09:54:04 +00:00
968b67dd71
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-09 11:03:43 +02:00
b98a563f46
Fix to bug #641 , http://bugs.mariadb.com/show_bug.cgi?id=641
...
Removed HTTPD Router and replaced module CLI with cli
2014-12-09 11:03:02 +02:00
19cf44bd59
Coverity fixes: 72650, 72665
...
Coverity fixes: 72650, 72665
2014-12-09 08:58:52 +01:00
8b51d4fee2
Fix to bug 640: http://bugs.mariadb.com/show_bug.cgi?id=640
...
Added a check for the case when createInstance returns NULL.
Added messages to error log if router instance creation fails or if the service fails to start for any reason.
2014-12-09 06:31:53 +02:00
cf40cbfbf0
Aadded some of the code from routeQuery to its own function, change_current_db, which extracts db name, tests if the name can be found among cached database names (hashtable) and if it does, change the db. Otherwise create an error message and add it to poll eventqueue like it was sent from some of the backends.
2014-12-08 23:37:21 +02:00
5a2688e0a5
Fix to bug #640 , http://bugs.mariadb.com/show_bug.cgi?id=640
2014-12-08 23:36:06 +02:00
bc104c0ef1
Merge branch 'release-1.0GA' into MAX-324
2014-12-08 22:37:15 +02:00
c1de3db7a3
Merge branch 'MAX-324' of https://github.com/mariadb-corporation/MaxScale into MAX-324
2014-12-08 21:21:37 +02:00
2ff3939ba2
Active databases are only updated if they are found in the router's hashtable.
2014-12-08 16:35:47 +02:00
6a54d888de
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-08 16:04:27 +02:00
5264a1abc9
Added function documentation, moved one non-error log entry to message log, cleaned up a bit.
2014-12-08 16:02:16 +02:00
825320dd7a
Merge branch 'release-1.0GA' into develop
2014-12-08 10:24:19 +00:00
7ed253ecae
Cleanup
2014-12-08 11:21:46 +02:00
8fed527ac9
Merge branch 'release-1.0GA' into blr
2014-12-08 09:21:38 +00:00
ce056dccd8
Update modue status of all GA modules
2014-12-08 09:19:35 +00:00
e76215bf07
Added detection of COM_INIT_DB
2014-12-08 11:15:10 +02:00
4c1ed65617
Added dbshard template to MaxScale_template.cnf
...
Added NULL-check to createInstance to avoid NULL-pointer reference if user/pwd is missing from config.
Removed unnecessary code, added error messages, fixed intendation.
2014-12-07 23:34:47 +02:00
0348df5147
Fixed databases being queried without a username or password and ignored the default databases when checking for shards.
2014-12-07 13:16:53 +02:00
15a96f037d
Merge remote-tracking branch 'origin/MAX-324' into MAX-324
...
Conflicts:
server/modules/routing/dbshard/dbshard.c
2014-12-07 06:11:24 +02:00
68fc849c6e
query_classifier.cc:cleaned up some intendentions and brackets.
...
dbshard.h:removed unnecessary code
dbshard.c:removed unnecessary code, cleaned up a bit and made some required changes
readwritesplit.c:removed two unnecessary variable assignments.
2014-12-07 00:34:23 +02:00
a580799eb2
Added messages about missing usernames and passwords for servers.
2014-12-07 00:07:58 +02:00