Commit Graph

1601 Commits

Author SHA1 Message Date
d1c2895057 Small fix to how user is retrieved from all servers.
When the authentication was done using the user data from all servers and the set of servers contained a server in the Master state it was possible that some servers weren't queried for their users. This was fixed by adding a check for the parameter that enables this before looking for a master server.
2015-02-13 07:34:46 +02:00
d91b6d375d Added more documentation about functions and trace log output about users logging in with a default database. 2015-02-12 08:44:39 +02:00
a0a7dcdcfe Fixed shardrouter possibly missing responses from the subservices if the session wasn't ready. 2015-02-10 20:36:53 +02:00
54eb3dd904 Fixed client hangups if the first response to a SHOW DATABASES query was sent too fast. 2015-02-10 16:07:50 +02:00
36363b09a1 Added more debug logging and fixed the service resources being overwritted even though they were already allocated. 2015-02-10 14:28:49 +02:00
d9139bb436 Added more tests for the dbshard router. 2015-02-10 10:49:54 +02:00
d455ec4c53 Added support for default databases. 2015-02-09 16:28:48 +02:00
46ec9abe29 Added optional parameters for services that allow all servers to be used when building the list of users. 2015-02-09 07:19:13 +02:00
7cf65adc6e Added more trace log output about database changing and possible errors. 2015-02-07 00:04:13 +02:00
0d4761ade8 Merge branch 'develop' into MAX-324 2015-02-06 23:27:59 +02:00
6e3e4ef20a Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-02-06 23:00:27 +02:00
46c0c70764 Fixed negative values from hashing functions causing segmentation faults. 2015-02-06 22:59:47 +02:00
9d3b961c15 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-02-06 20:47:03 +00:00
6da16c9958 Some tidy up of binlog rotuer code 2015-02-06 20:46:36 +00:00
2a06331f82 Fixed readwritesplit hashing function returning the key value instead of the hash value. 2015-02-06 22:09:28 +02:00
e91ad034a8 CRC issue 2015-02-06 17:53:41 +00:00
ba0d4ae29e Addition of log message for zero users beign loaded. 2015-02-06 16:10:29 +00:00
dd829d29e5 Added a note about enabling or disabling logfiles to MaxScale_template.cnf. 2015-02-06 17:49:37 +02:00
650069f7e5 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-02-06 14:30:44 +00:00
00c7dccdac Fix for checksum misisng in master rotate event 2015-02-06 14:30:15 +00:00
4c16eb55a2 Fixed hashing function returning wrong values and added more logging. 2015-02-06 16:27:24 +02:00
d4f5ca6bcb Merge branch 'blr' into develop
Addition of hashtable load and save. Caching of auth information
2015-02-06 11:52:51 +00:00
25e39f35c5 Fix to allow rotate of files without explicit rotate events when the master is offline 2015-02-06 11:45:20 +00:00
bc0d303b27 Add saving of hashtables to a file
Cache the user information to file in order to allow authentication without backend databases
2015-02-06 11:44:29 +00:00
82c03bd240 Merge branch 'develop' into MAX-345 2015-02-06 12:29:19 +01:00
adc0bb4f70 Comments added for fix #714
Comments added for fix #714
2015-02-06 11:50:21 +01:00
98cbc34c6c Fix for bug #714
Fix for bug #714
2015-02-06 11:26:48 +01:00
b2e3de0362 Merge branch 'develop' into MAX-345 2015-02-05 16:14:36 +01:00
c611d63e94 Added protection for buffer overrun in COM_BINLOG_DUMP. 2015-02-05 09:37:56 +00:00
b9f36d6489 Addition of checksum handling in COM_BINLOG_DUMP 2015-02-05 09:15:45 +00:00
8a7b22d3df Fix to SHOW TABLES FROM <db> being routed to the current database instead of the one in the query. 2015-02-05 10:34:04 +02:00
625a7d7a10 Assertion removed
Assertion removed
2015-02-04 18:31:38 +01:00
0cf1a35511 Removed useless assertion
Removed useless assertion
2015-02-04 17:19:07 +01:00
07536611d3 Add ability to extract values from the result set
Extract and action the @master_binlog_checksum value

Store master's uuid for use in show slave status

Support for MariaDB 5.5 masters
2015-02-04 15:59:28 +00:00
4ef3677b84 Fix for Bug #519
Fix for Bug #519
2015-02-04 16:17:36 +01:00
d69fbf3e2a Merge branch 'develop' into MAX-324 2015-02-04 17:05:14 +02:00
9c3cecf5b1 Fixed repeated reconnects to the server when multiple monitors were used simultaneously and some had failing backend servers.
Also added more documentation about dshard router's limitations.
2015-02-04 17:04:07 +02:00
6bd8d1b507 Updated options procesign to allow either password= or passwd= for
compatibility with the way we set passwords in other places
2015-02-04 13:12:19 +00:00
8ddb2fa732 Update to support servers that do not support GTID 2015-02-04 13:10:46 +00:00
85c752d15c Updated error handlign in lien with new requirements of the core 2015-02-04 12:15:34 +00:00
add315d795 Updated to reflect the shange to the way servers are stored within services 2015-02-04 11:17:29 +00:00
86bed0541c Merge branch 'develop' into MAX-324 2015-02-04 13:01:43 +02:00
ea7260b27b Merge branch 'blr' into develop 2015-02-04 10:28:12 +00:00
85a38c9600 Add fix for crash if no router options are supplied 2015-02-04 10:26:55 +00:00
23d920c1a9 Addition of support for show slave status 2015-02-04 10:05:35 +00:00
0083e62c41 Merge branch 'blr' into develop 2015-02-03 17:19:06 +00:00
e9af90e4b6 Add support for:
select @@maxscale_version;
	show variables like "maxscale%"
	show master status
	show slave hosts
2015-02-03 17:14:37 +00:00
0b5bedd2b8 The database name the client is connecting with is now checked that it exists in the hashtable before setting the session into a valid state. 2015-02-03 18:17:37 +02:00
048467b447 Fixed issue with simple parser for queries from slaves. 2015-02-03 14:35:22 +00:00
7b8579163a Added dbshard technical documentation. 2015-02-03 11:26:53 +02:00