VilhoRaatikka
bc104c0ef1
Merge branch 'release-1.0GA' into MAX-324
2014-12-08 22:37:15 +02:00
VilhoRaatikka
c1de3db7a3
Merge branch 'MAX-324' of https://github.com/mariadb-corporation/MaxScale into MAX-324
2014-12-08 21:21:37 +02:00
Markus Makela
2ff3939ba2
Active databases are only updated if they are found in the router's hashtable.
2014-12-08 16:35:47 +02:00
VilhoRaatikka
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
VilhoRaatikka
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
VilhoRaatikka
7ed253ecae
Cleanup
2014-12-08 11:21:46 +02:00
Mark Riddoch
8fed527ac9
Merge branch 'release-1.0GA' into blr
2014-12-08 09:21:38 +00:00
Mark Riddoch
ce056dccd8
Update modue status of all GA modules
2014-12-08 09:19:35 +00:00
Markus Makela
e76215bf07
Added detection of COM_INIT_DB
2014-12-08 11:15:10 +02:00
VilhoRaatikka
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
Markus Makela
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
Markus Makela
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
VilhoRaatikka
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
Markus Makela
a580799eb2
Added messages about missing usernames and passwords for servers.
2014-12-07 00:07:58 +02:00
VilhoRaatikka
94b6fc8ff1
Merge branch 'MAX-324' of https://github.com/mariadb-corporation/MaxScale into MAX-324
2014-12-06 12:48:37 +02:00
Markus Makela
06578c95a5
Updates to dbshard router:
...
Added a parsing function to query classifier that returns an array of database names the query uses.
Added a check if the query targets a sharded database. If so, a hint is added that routes the query to the named server.
2014-12-06 11:30:07 +02:00
VilhoRaatikka
b1eaaea961
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-05 23:57:02 +02:00
VilhoRaatikka
01b1b0a304
Fixes to Coverity issues 84388, 84386, 84385
...
mysql_mon.c: Added back server state logging to Debug build.
query_classifier.cc: removed some extra debug code, cleaned up a bit function documentation.
mysql_client_server_protocol.h, mysql_backend.c, mysql_common.c: changed some variables to signed ones to enable checking of calculations in the code.
skygw_utils.cc: removed erroneous debug assertion.
2014-12-05 23:39:14 +02:00
Mark Riddoch
cce35d9035
Add event name in show service
2014-12-05 13:49:41 +00:00
Mark Riddoch
a0cebae0ec
Make building the binlog router conditional
2014-12-05 11:43:06 +00:00
Mark Riddoch
e102d56e69
Merge branch 'blr' into release-1.0GA
...
Conflicts:
server/modules/protocol/mysql_backend.c
server/modules/routing/binlog/blr_master.c
2014-12-05 11:42:02 +00:00
Mark Riddoch
2b998eb17f
Merging binlog router into beta refresh
2014-12-05 11:30:03 +00:00
Mark Riddoch
4db86a5520
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-04 16:57:57 +00:00
Mark Riddoch
36aea7454f
Updates for new logging definitions
2014-12-04 16:56:33 +00:00
Markus Makela
12d6d81fa8
Merge branch 'release-1.0GA' into firewall
...
Conflicts:
log_manager/log_manager.cc
2014-12-04 17:13:41 +02:00
Markus Makela
0060bbb7df
Updated the diagnostic to print rules, their types and how many times they have been matched.
2014-12-04 17:11:14 +02:00
MassimilianoPinto
c133a42bbd
Skip log for "Master available" with MAINTENANCE
...
Skip logging “A Master Server is now available” message when the server
has SERVER_MAINT bit value
2014-12-04 15:25:04 +01:00
Markus Makela
84679a48ff
Fixes to Coverity defects 84335 84336 84337
2014-12-04 10:13:41 +02:00
Markus Makela
e4c379bbdc
Fix to bug 583 http://bugs.mariadb.com/show_bug.cgi?id=583
...
Changed rwsplit.sh to explicitly use /bin/bash
2014-12-03 19:41:06 +02:00
Markus Makela
1e2027f4dc
Fixes to Coverity defects 83027 73421 72714 72671 72646 72642
2014-12-03 17:56:22 +02:00
VilhoRaatikka
6d98df0c37
Added error check to mysql_backend.c to prevent unnecessary logging.
2014-12-03 15:42:04 +02:00
VilhoRaatikka
730cd67992
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-03 13:28:41 +02:00
VilhoRaatikka
b106560317
Fix to bug # 634, http://bugs.skysql.com/show_bug.cgi?id=634
...
COM_SHOW_SLAVE_STAT wasn't classified but it was treated as 'unknown' and thus routed to master.
2014-12-03 13:27:31 +02:00
Mark Riddoch
3230eab37c
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-03 09:53:42 +00:00
Mark Riddoch
1e5bc37780
Use strtok_r rather than strtok
2014-12-03 09:33:55 +00:00
Markus Makela
27913edc28
Fixed query throttling using the rule to store the values instead of the user.
2014-12-03 11:07:19 +02:00
VilhoRaatikka
7079cb4749
Cleaned a bit
2014-12-03 10:35:34 +02:00
MassimilianoPinto
33f77303f7
Backend failed handshake is now a detected
...
Backend failed handshake is now a detected and MYSQL_HANDSHAKE_FAILED s
set.
Reload users from backend is now restricted to MYSQL_AUTH_FAILED only
2014-12-03 09:11:26 +01:00
VilhoRaatikka
b57771f46c
Merge branch 'release-1.0GA' into MAX-324
2014-12-03 09:41:13 +02:00
MassimilianoPinto
aa8350ef8f
client's flags copied among known capabilities
...
Copy client's flags to backend but with the known capabilities mask
2014-12-02 18:47:25 +01:00
Mark Riddoch
ad2ca62248
Log the start of the lsitener to the message log in line with other protocols
2014-12-02 13:39:46 +00:00
VilhoRaatikka
ed8404d9c7
Fixed some of compiler errors
2014-12-02 11:05:14 +02:00
VilhoRaatikka
83477042a1
Merge branch 'MAX-324' of https://github.com/mariadb-corporation/MaxScale into MAX-324
2014-12-02 10:37:53 +02:00
VilhoRaatikka
ef4f9aac4f
Merge branch 'MAX-324' of https://github.com/mariadb-corporation/MaxScale into MAX-324
...
Conflicts:
server/modules/include/dbshard.h
server/modules/routing/dbshard/dbshard.c
2014-12-01 19:34:20 +02:00
VilhoRaatikka
dd600d025a
Added dbshard.h
2014-12-01 15:53:48 +02:00
VilhoRaatikka
a78ac19a87
Added createInstance and newSession, cleaned up things related to other routers.
2014-12-01 15:52:00 +02:00
Markus Makela
1135b2c23f
Removed 'information_schema' from the sharding checks and set the default weights of the backend to 1.
2014-12-01 15:02:44 +02:00
Markus Makela
66164aa664
Added functions that query backend servers for database names
2014-12-01 14:27:33 +02:00
VilhoRaatikka
43d348e3ac
Place holders for dbshard.c
2014-12-01 09:58:46 +02:00
Markus Makela
e40519885b
Updated documentation and cleaned up tests
2014-11-30 04:46:02 +02:00