Commit Graph

1954 Commits

Author SHA1 Message Date
4952dc48bb Added constraints to CHANGE MASTER TO options
Added constraints to CHANGE MASTER TO options  MASTER_LOG_FILE and
MASTER_LOG_POS
2015-06-15 15:03:27 +02:00
d94ac9c637 Added new general error message
Added new general error message
Added
Slave_IO_Running: No
Slave_SQL_Running: No

when slave is stopped
2015-06-09 16:46:41 +02: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
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
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
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
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
18a39e6c64 Addition of server_update_address/port 2015-06-03 10:24:35 +02:00
cedaeb7fe9 MariaDB10 embedded library version string
MariaDB10 embedded library version string
2015-06-03 09:41:12 +02: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
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
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
7634f22a94 STOP/START SLAVE first implementation
STOP/START SLAVE first implementation
2015-05-25 17:37:39 +02:00
c2e881f544 Merge pull request #82 from yhager/MXS-137
MXS-137: correct calculation of query length when length is >= 0x80
2015-05-13 11:12:44 +03:00
efef7def6d Added test case for MXS-137: https://mariadb.atlassian.net/browse/MXS-137 2015-05-13 10:55:57 +03:00
13200e8c74 MXS-137: correct calculation of query length when length is >= 0x80 2015-05-12 11:27:46 -07:00
fec1e66a5c Add comment for parameter, correct spelling in comment. 2015-05-12 11:53:11 +01:00
d1a768f6f5 Updated documentation and created a readwritesplit router document. 2015-05-12 04:48:25 +03:00
8301410c79 Fixed possible memory leaks in schemarouter. 2015-05-11 22:02:35 +03:00
3ef9b0927d Fixed minor memory leak in mysql_backend when gw_decode_mysql_server_handshake failed. 2015-05-11 15:33:36 +03:00
14b2c149f5 Removed resource leaks in regexfilter. 2015-05-10 06:34:39 +03:00
ff2462f2d2 Fix to MXS-127:https://mariadb.atlassian.net/browse/MXS-127
Corrected the wrong session commands being deleted.
2015-05-09 11:25:18 +03:00
fdd5a10478 Fixed a memory leak in all the monitors when a failed mysql_ping to the database caused a reinitialization of MYSQL* connection. 2015-05-07 11:42:14 +03:00
3cd49ac364 Added missing utils library link from testmodutils. 2015-05-07 05:56:28 +03:00
bb074d8f94 Removed stdout printing of useless messages from maxkeys and maxpasswd. 2015-05-06 21:00:43 +03:00
dcd0098823 Added stdout as an option for log output with the -l or --log command line option. 2015-05-06 17:33:02 +03:00
9b4e835434 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-05-05 13:46:13 +03:00
9c305d95c7 Added a warning about multiple monitors monitoring the same servers. 2015-05-05 13:45:24 +03:00
9d9ebc5f67 Correct date in revision history, add to revision history for disableMasterRoleSetting. 2015-05-05 11:07:23 +01:00
8647b30184 Merge remote-tracking branch 'origin/develop' into MXS-105
Conflicts (resolved):
	server/modules/routing/schemarouter/schemarouter.c
2015-05-05 10:54:09 +01:00
6d89e156b3 Added a warning for bad boolean configuration values. 2015-05-04 20:26:32 +03:00
3bd03fbe09 Merge branch 'logmanager_stdout' into develop 2015-05-04 11:03:24 +03:00
463cd4a97e Moved common sharding functions to a separate file. 2015-05-04 07:06:24 +03:00
b53decb72b Fix to MXS-75: https://mariadb.atlassian.net/browse/MXS-75
COUNT(*) is no longer denied by wildcard rules.
2015-05-03 09:36:00 +03:00
d545150ceb Fix to MXS-70: https://mariadb.atlassian.net/browse/MXS-70
Added assert information to error log.
2015-05-02 05:51:25 +03:00
4cba9890fd MXS-98: https://mariadb.atlassian.net/browse/MXS-98
Added optional logging of regex filter matching to user defined file and trace log.
2015-05-01 18:54:19 +03:00
550b130d91 Schemarouter shortest session statistic now only updates session with a length of more than zero seconds. 2015-05-01 11:13:43 +03:00
2498278582 Fixed queued queries not being freed if session was closed before they could be routed. 2015-04-30 22:22:26 +03:00
6c904b164a Fix to bug MXS-25
A failed master no longer generates the "Info: A Master Server is now available" message.
2015-04-30 11:28:07 +03:00
360db8b235 Changed all atoi calls to config_truth_value when they were used to generate boolean values. 2015-04-30 10:58:35 +03:00
6e4aa9862d Fixed a segfaul caused by a null pointer in dbfwfilter rule parsing. 2015-04-30 04:52:35 +03:00
e3620eddbb Merge branch 'develop' into logmanager_stdout 2015-04-30 04:28:40 +03:00
00abb38689 Fixed rule parsing 2015-04-29 19:19:36 +03:00
c190433c7d Fixed dbfwfilter rules.
Fixed at_times not working if combined with on_queries.
2015-04-29 14:29:43 +03:00
1755706ada Master/Slave detection based on variable only
Master/Slave role setting is now based on variable value only.

Replication is checked and, if working, master_id, slave_id are saved
into server struct
2015-04-29 10:50:32 +02:00
8bff81e0a9 Fixed rule parsing failing if at_times is used with on_queries. 2015-04-29 11:39:17 +03:00
9ce225c2cb Added log manager initialization flag that prints all logs to stdout. 2015-04-29 11:20:40 +03:00