Commit Graph

2036 Commits

Author SHA1 Message Date
152f9bbc4a Merge remote-tracking branch 'origin/develop' into MXS-122 2015-06-09 13:51:55 +01:00
393e25e953 Fix bug in dcb; rearrange mysql_backend gw_backend_close to cope with receiving DCB that is no longer linked to a session. 2015-06-09 12:03:58 +01:00
d0e92a15f8 Move decrement of server connections into zombie processing; introduce dcb_close_finish to be called either in dcb_close or when persistent dcb is discarded. 2015-06-09 11:41:43 +01:00
1cbc7d6e7f Added error string to router->m_errmsg
Added error string to router->m_errmsg
2015-06-09 12:39:50 +02:00
f46c47651a Compile error, missing ';'
Compile error, missing ';'
2015-06-09 10:33:23 +02:00
06c5da7b17 Minor fix to SSL authentication. 2015-06-09 02:56:55 +03:00
2db4f4d771 Added error_msg to blr_slave_send_slave_status()
Added error_msg to blr_slave_send_slave_status()
2015-06-08 19:16:50 +02:00
d9234bec5f Updated logging messages
Updated logging messages
2015-06-08 17:30:26 +02:00
1c36cfb285 Added more debug output. 2015-06-08 18:04:43 +03:00
809cdb5b1e Added blr_cache_read_master_data and dcb checks
Added blr_cache_read_master_data()
Added dcb checks before calling db_close
Forced initialisation values of some parameters
2015-06-08 16:56:52 +02:00
61ea0861ff Fixed some connections hanging with SSL. 2015-06-08 14:35:31 +03:00
945e2f8132 added checks in blr_stop_slave()
errorReply sets mysql_errno into router struct
blr_slave_send_slave_status displays mysql errno
added checks in blr_stop_slave()
2015-06-05 17:37:05 +02:00
e83799648a Fixed queries getting stuck when the SSL records were of the maximum allowed size. 2015-06-05 11:00:51 +03:00
a032c94d25 Added comments to SSL tests. 2015-06-04 16:49:39 +03:00
4d30cd5fd3 Added unit test for SSL version. 2015-06-03 13:28:35 +03:00
19ac70fc2f Added unit tests for SSL. 2015-06-03 13:15:45 +03:00
2a15e6e774 server_update_port/address are used
server_update_port and server_update_address now used by
blr_handle_change_master
2015-06-03 10:30:03 +02:00
cedaeb7fe9 MariaDB10 embedded library version string
MariaDB10 embedded library version string
2015-06-03 09:41:12 +02:00
1a76fc141d Add configuration capabilities for persistent connections. 2015-06-02 15:44:57 +01:00
2f2c9c8cbc Fix for MariaDB10 state machine
Fix for MariaDB10 state machine
2015-06-02 09:45:26 +02:00
08e0a31826 Fixed session creation failure messages using the wrong packet number when an SSL connection was made. 2015-06-02 06:42:41 +03:00
6e01757455 Added error message to users when trying to connect to a MaxScale service that only allows SSL connections. 2015-06-02 06:39:51 +03:00
d7232d8b6e Moved SSL structure to the DCB instead of the MySQL protocol.
This allows for non-MySQL SSL connections.
2015-06-01 20:51:26 +03:00
4d5291c263 Fixed wrong packet sequence number causing a disconnect from the client. 2015-06-01 13:58:26 +03:00
a2768955e7 SSL handshake now successfully completes when a client connects with SSL enabled. 2015-06-01 13:50:22 +03:00
6cb0248ab8 Addition of MASTER_USER and MASTER_PASSWORD
Addition of MASTER_USER and MASTER_PASSWORD
2015-06-01 11:15:43 +02:00
392c71df07 Addition of CHANGE MASTER TO
Addition of CHANGE MASTER TO … command.

Current handled command has four options, example:

change master to MASTER_LOG_FILE='mysql-bin.000049',
MASTER_LOG_POS=245, MASTER_HOST='127.0.0.1', MASTER_PORT=3307;
2015-05-29 17:01:34 +02:00
0f814d3e73 Added SSL write and read functions. 2015-05-29 13:00:37 +03:00
f946a44620 Added handling of partial SSL handshakes. 2015-05-28 23:11:32 +03:00
a572166ffd Added ssl handshake to mysql_client 2015-05-28 22:19:50 +03:00
449c186a66 Added OpenSSL init function call. 2015-05-28 18:14:00 +03:00
3d6259cb00 Added configuration options for different SSL modes. 2015-05-28 16:33:51 +03:00
f54fcc7e4e changed stop/start slave error message
changed stop/start slave error message including
errors code and status message

ERROR 1254 (HY000): Slave connection is already running
ERROR 1199 (HY000): Slave connection is not running
2015-05-28 11:14:59 +02:00
16d6bd6d2c Added service SSL mode variables. 2015-05-28 11:56:14 +03:00
453dd64273 Added dcb_close for router->client session
Added dcb_close for router->client session and queue residual cleanup
2015-05-27 15:29:38 +02:00
351f52b8e1 Add "show persistent {server}" 2015-05-27 09:57:18 +01:00
4cbcc4ecb6 Removed old unused cmake variables, updated documentation and fixed testall suite. 2015-05-26 15:12:29 +03:00
5f076b81d4 Merge branch 'install_dir_change' into develop
Conflicts:
	CMakeLists.txt
	Documentation/Tutorials/Administration-Tutorial.md
	log_manager/CMakeLists.txt
	server/core/CMakeLists.txt
	server/core/gateway.c
	server/core/maxkeys.c
	server/core/maxpasswd.c
	server/modules/filter/test/CMakeLists.txt
	server/modules/routing/CMakeLists.txt
2015-05-26 13:34:39 +03:00
7634f22a94 STOP/START SLAVE first implementation
STOP/START SLAVE first implementation
2015-05-25 17:37:39 +02:00
0d85ae6603 Changed data directory to /var/lib/maxscale. 2015-05-22 11:31:22 +03:00
9c461450e2 Fixes to Coverity defects. 2015-05-22 05:36:58 +03:00
9f024b5389 Added missing parenthesis. 2015-05-21 18:08:45 +03:00
ac55f7c6fe Merge branch 'MXS-121' into develop 2015-05-21 17:53:01 +03:00
3301ffc76d Added different log message when the script is missing for a monitor. 2015-05-21 17:40:33 +03:00
229cdb73e7 Fixed concurrency issues in filters. 2015-05-21 15:30:52 +03:00
91bc7b2792 Added missing spinlock calls to all monitors. 2015-05-21 11:41:11 +03:00
7dbc021149 Added more logging when a monitor script cannot be executed. 2015-05-20 16:16:49 +03:00
4eddec7989 Fixed MXS - 165: Concurrency issue while incrementing sessions in
qlafilter
2015-05-20 17:47:58 +05:30
8f20d23d4c Added missing function prototype to mmmon.c 2015-05-19 19:20:59 +03:00
c4f51c0b8c Fixed a possible bug with multiple monitors monitoring the same servers. 2015-05-19 15:42:11 +03:00