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
7ed253ecae
Cleanup
2014-12-08 11:21:46 +02: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
94b6fc8ff1
Merge branch 'MAX-324' of https://github.com/mariadb-corporation/MaxScale into MAX-324
2014-12-06 12:48:37 +02:00
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
7079cb4749
Cleaned a bit
2014-12-03 10:35:34 +02:00
e696651ad6
Merge branch 'release-1.0GA' into MAX-324
2014-12-03 10:13:05 +02:00
6c3d27fd8f
Commented out optional Galera monitor option disable_master_failback .
2014-12-03 10:09:29 +02:00
b57771f46c
Merge branch 'release-1.0GA' into MAX-324
2014-12-03 09:41:13 +02:00
f2c2e4f81c
Fix to bug #617 , http://bugs.skysql.com/show_bug.cgi?id=617
...
When filewriter_init failed due to full disk, error branch freed messages twice. Removed unnecessary free command.
2014-12-02 23:58:28 +02:00
aab30f2eea
If linked log file in /dev/shm wasn't writable a new log file with increased seq.no. was created but the old link was also deleted. This was ok before log rotation and file creation with increasing seq.no was implemented but useless and confusing today.
...
Enabled printing this also in Release version:
raatikka@linux-yxkl:~/bin/develop/bin> ./maxscale -d -c ../
Info : MaxScale will be run in the terminal process.
Using Home directory command-line argument as MAXSCALE_HOME = /home/raatikka/bin/develop
Error log : /home/raatikka/bin/develop/log/skygw_err1.log
Message log : /home/raatikka/bin/develop/log/skygw_msg1.log
Trace log : /home/raatikka/bin/develop/log/skygw_trace1.log->/dev/shm/7886/skygw_trace1.log
Debug log : /home/raatikka/bin/develop/log/skygw_debug1.log->/dev/shm/7886/skygw_debug1.log
Home directory : /home/raatikka/bin/develop
Configuration file : /home/raatikka/bin/develop/etc/MaxScale.cnf
Log directory : /home/raatikka/bin/develop/log
Data directory : /home/raatikka/bin/develop/data/data7886
That is, all log files' names and locations are printed on the screen.
2014-12-02 23:15:24 +02:00
bdfdc3b522
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-02 20:03:14 +02:00
d608eb2532
Fix to bug #622 , http://bugs.skysql.com/show_bug.cgi?id=622
...
Ensured that soft link and physical file will have same sequence number. Prevented some unnecessary error printing and added more precise logs.
2014-12-02 20:02:00 +02:00
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
b1ec197960
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-02 15:45:52 +02:00
d7c98a7cb5
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-02 13:40:10 +00:00
ad2ca62248
Log the start of the lsitener to the message log in line with other protocols
2014-12-02 13:39:46 +00:00
bac6795105
Added log synchronization to disk when signals are received.
2014-12-02 15:33:17 +02:00
ed8404d9c7
Fixed some of compiler errors
2014-12-02 11:05:14 +02:00
db243f8322
Merge branch 'release-1.0GA' into MAX-324
2014-12-02 10:40:21 +02:00
83477042a1
Merge branch 'MAX-324' of https://github.com/mariadb-corporation/MaxScale into MAX-324
2014-12-02 10:37:53 +02:00
8dc49f4c60
Fix to #603 , http://bugs.skysql.com/show_bug.cgi?id=603
...
Completed syntax and examples. Added filter descriptions.
2014-12-01 23:46:00 +02:00
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
7584ca7e02
Fixed typo in documentation
2014-12-01 14:59:29 +00:00
dd600d025a
Added dbshard.h
2014-12-01 15:53:48 +02:00
a78ac19a87
Added createInstance and newSession, cleaned up things related to other routers.
2014-12-01 15:52:00 +02:00
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
66164aa664
Added functions that query backend servers for database names
2014-12-01 14:27:33 +02:00
43d348e3ac
Place holders for dbshard.c
2014-12-01 09:58:46 +02:00
b336f59910
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-11-28 17:56:34 +00:00
96f56b2d7b
Documentation update
2014-11-28 17:55:54 +00:00
1bfedbee1d
Fix to bug #629 , http://bugs.skysql.com/show_bug.cgi?id=629
...
Master was selected for routing target even there was a slave available.
2014-11-28 14:17:35 +02:00
9aa828cd9b
Added debug assertions to catch wrong DCB usage
2014-11-27 22:04:34 +02:00
3941f5c31d
Added debug trace
2014-11-27 19:48:27 +02:00
e068614651
Yet another 1-char-off bug in log_manager
2014-11-27 19:33:20 +02:00
3e18e091c1
Fixed unreported bug in log_manager where a terminating character was added in the middle of log message.
2014-11-27 16:53:50 +02:00
83f7203213
Fix to unreported bug which printed result of getsockopt even in case when there was no socket error.
2014-11-27 15:37:13 +02:00
d063df0f4a
Update message
2014-11-26 11:10:59 +00:00
31f5017d6d
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-11-26 11:04:48 +00:00
6ee9a84cef
Updated error messages
2014-11-26 11:04:33 +00:00
398eee8ece
Added a log message for mysql_old_password
...
Added a log message for mysql_old_password detection: user is not loaded
2014-11-26 11:44:38 +01:00
efa3baa273
Added tarballs to package generation
2014-11-26 11:21:19 +02:00
1b8cef4080
small change to cmake output
2014-11-21 14:20:51 +02:00
7dc0776346
Fixes to CMake and errmsg.sys file searching with custom file locations.
2014-11-21 14:15:14 +02:00