Commit Graph

31 Commits

Author SHA1 Message Date
64c15fd4fb Fix for documentation issues 2013-07-22 17:29:42 +02:00
e4f13c678e Addition of admin user support 2013-07-18 10:31:16 +02:00
d9b47a9651 Addition of login authentication for telnet debug CLI - currently username and password
are fixed as admin/skysql
2013-07-17 18:12:32 +02:00
50068f4c97 mysql_client_server_protocol.h in included in readconnroute.c
mysql_client_server_protocol.h now has defines for basic mysql commands and mysql packect related macros
2013-07-17 16:12:53 +02:00
bfc45c570e Added MYSQL_SESSION_CHANGE 2013-07-16 09:18:16 +02:00
0d1a74c87a Moved mysql_send_auth_error into mysql_common.c
mysql_send_auth_error is called if an user is not in the gateway users table
2013-07-15 11:17:44 +02:00
45c28a033e Added support form COM_CHANGE_USER in readwritesplit.c
Added func.auth() and func.generic() in dcb.h

Some mysql routines moved into mysql_common.c


New session user still not saved in the dcb->data
2013-07-15 09:03:51 +02:00
619af90696 Implementation of shared buffer level in the gwbuf so that one set of data can be kept with
different offsets for different gwbufs

Updated monitor to better handle maste/slave replication environments

Split MASTER and SERVER bits in the erver bitmask so that we canhave more states, MASTER, SLAVE and NOT IN REPLICATION

Updates to the read write splitter for routing commands to all nodes, diagnostic output and fixes to the algorithm to pick up a master and slave connection
2013-07-11 18:37:43 +02:00
7e1840b609 Renamed router to readwritesplit 2013-07-10 11:30:58 +03:00
be7d3b6481 New versions:
apache benchmarks succesfully done.


Example:

ab -n 1000000 -c 200 'http://127.0.0.1:6444/'
2013-07-09 09:45:59 +02:00
902e059342 Added basic dta structure for session 2013-07-08 17:38:47 +02:00
da2f4af95d httpd.h moved in modules/include 2013-07-08 16:26:06 +02:00
9ab35a3348 Added mysql_send_custom_error, fixing the compile warning 2013-07-05 09:51:13 +02:00
2cb2a60a96 2 routines added 2013-07-04 12:37:00 +02:00
272f7d8685 Added comments and revision history update 2013-07-04 12:08:09 +02:00
b549ad1676 Changed value for MYSQL_PENDING_CONNECT and MYSQL_CONNECTED 2013-07-04 11:48:03 +02:00
7a8b65aa0a Added MYSQL_PENDING_CONNECT for handling EAGAIN status in connect.
MYSQL_FAILED_AUTHENTICATION and MYSQL_SUCCESFUL_AUTHENTICATION are for backend server auth reply
2013-07-04 11:18:02 +02:00
6f32637315 New functions added in mysql_common for full asysncronous mysql connect
The new funcs are not yet used in the public repo
2013-07-01 14:34:47 +02:00
0457505721 Added DCB_STATE_CONNECT fro backe d connect status
Added gw_decode_mysql_server_handshake() in mysql_common.c
2013-07-01 11:37:26 +02:00
3b8ebfd215 Misc fixes for unitialised data reads 2013-06-27 01:56:30 +02:00
c3f70c863e Addition of routing module diagnostics and options
readconnroute now support the options slave and master to restrict the set of
servers it will connect to
2013-06-26 14:04:56 +02:00
d5590c6d0e Removed unused vars and fixed warnings, mysql_backend.c is still missing 2013-06-26 10:27:25 +02:00
8f53daa09a New vwrsions 2013-06-24 19:48:48 +02:00
ccf658d905 Added 3 includes, service, router, poll 2013-06-21 12:49:42 +02:00
fc852eaada Changed readconnroute backend structure to simply maintain a pointer to the server rather than
include the hostname and port in the backend structure

Fix to makefile for routing modules
2013-06-20 10:18:14 +02:00
0fc2f9dda3 Removed the passing of epoll fd and isolated epoll functionality to
a signle file

Addition of show epoll debug CLI command
2013-06-19 16:29:52 +02:00
53b6bc0a25 A number of updates to do with service startup
Telnet protocol support

Debug cli
2013-06-19 12:31:40 +02:00
4d5215e267 mysql_client_server_protocol.h, new file name that avoids conflicts with previous one 2013-06-17 22:47:14 +02:00
1300c5d089 Addition of dependencies to the makefile
New make target of "make depend"
Addition of doxygen building ability
Cleanup of docygen comment blocks
Initial telnetd protocol module structure
2013-06-17 14:03:05 +02:00
cf6b18a4fe A slight rejig of the server/service setup for the backend databases. Also including the protocol
module names.
2013-06-14 17:05:00 +02:00
2260bf7587 Addition of Read Connection Balancer for Query Routing 2013-06-14 16:26:22 +02:00