09fdb0a2c2
Hopefully final tidy up.
2015-06-23 14:58:53 +01:00
4c38e2224b
Merge remote-tracking branch 'origin/develop' into MXS-122
...
Conflicts:
server/core/CMakeLists.txt
server/core/dcb.c
server/include/dcb.h
server/include/server.h
server/modules/protocol/mysql_backend.c
2015-06-19 23:12:54 +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
351f52b8e1
Add "show persistent {server}"
2015-05-27 09:57:18 +01: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
0d85ae6603
Changed data directory to /var/lib/maxscale.
2015-05-22 11:31:22 +03:00
8301410c79
Fixed possible memory leaks in schemarouter.
2015-05-11 22:02:35 +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
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
463cd4a97e
Moved common sharding functions to a separate file.
2015-05-04 07:06:24 +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
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
3874400abf
Fixed resource leak in blr_file.
2015-04-28 11:45:53 +03:00
55249193a9
Updated post-install scripts and binlogrouter
...
Binlogrouter: Switched hard-coded maximum path values to PATH_MAX and used cache directory instead of MAXSCALE_HOME
Scripts: Updated with new executable file paths
2015-04-27 14:47:26 +03:00
1f21540f8c
Make MaxScale handle zero-length files to aid bootstrapping.
...
When bootstrapping a binlog router to start it needs to know the first
file to use. You can provide this information in the config file but
that will never be up to date, or you can copy a file to the binlog
server and start maxscale. It will then carry on from the last file’s
current position.
The binlog files have a 4-byte magic prefix so to start from the beginning
(position 4) you need to add these to an empty file if you do this by
hand. If you don’t then maxscale will attempt to download from the
master at position 0 and the master will not accept this value. (This is
not apparent with a mysql client as change master to … master_log_pos
= 0 triggers a write of the 4 magic bytes and then asks the master for
information from position 4 [not 0]).
This patch makes MaxScale behave similarly and allows you to only
need to touch the first binlog file to be downloaded for it to do the
right thing.
2015-04-27 13:46:06 +03:00
17a7b2addb
Updated more variables.
2015-04-26 20:08:27 +03:00
df9bc65430
Added variables that are used when installing instead of relative paths.
2015-04-25 18:35:47 +03:00
bbdfc3a5a7
Revert "Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop"
...
This reverts commit 58e85098f931f6337841b25126fad23b579a9b49, reversing
changes made to c89c7047053f0d6f89069d1b6da2f9caa856066b.
2015-04-24 17:57:29 +03:00
8b7158afda
Merge remote-tracking branch 'origin/develop' into MXS-105
2015-04-24 15:40:07 +01:00
03badb9b7b
Modifications to galera monitor to control whether selection of master is wanted.
2015-04-24 15:35:10 +01:00
e7cdf4d8ef
Merge pull request #78 from sjmudd/develop
...
Make MaxScale handle zero-length files to aid bootstrapping.
2015-04-24 07:08:43 +03:00
21ad6fba2a
Added option to disable slave recovery in readwritesplit.
2015-04-24 05:55:06 +03:00
087e2df5a4
Make MaxScale handle zero-length files to aid bootstrapping.
...
When bootstrapping a binlog router to start it needs to know the first
file to use. You can provide this information in the config file but
that will never be up to date, or you can copy a file to the binlog
server and start maxscale. It will then carry on from the last file’s
current position.
The binlog files have a 4-byte magic prefix so to start from the beginning
(position 4) you need to add these to an empty file if you do this by
hand. If you don’t then maxscale will attempt to download from the
master at position 0 and the master will not accept this value. (This is
not apparent with a mysql client as change master to … master_log_pos
= 0 triggers a write of the 4 magic bytes and then asks the master for
information from position 4 [not 0]).
This patch makes MaxScale behave similarly and allows you to only
need to touch the first binlog file to be downloaded for it to do the
right thing.
2015-04-23 20:26:56 +02:00
fbfbc9fda7
Added more statistics to schemarouter diagnostics.
2015-04-23 21:00:52 +03:00
8d4f301545
Added the option to disable session command history to readwritesplit.
2015-04-23 20:12:04 +03:00
d1551be54f
Added support for disabling the saving of the session command history for the schemarouter.
2015-04-23 19:35:41 +03:00
811c13fe32
Added more statistics to the schemarouter.
2015-04-23 06:04:09 +03:00
6f870bd74c
Added maximum session command amount for schemarouter.
2015-04-22 20:58:52 +03:00
060f68892d
Fixed a memory leak in schemarouter.
2015-04-20 13:26:16 +03:00
1b3af7d61f
Fixes to Coverity defects.
2015-04-16 19:41:49 +03:00
04a4adeb8a
Added ordering of the output of SHOW DATABASES for schemarouter.
2015-04-15 21:37:16 +03:00
253c63e958
Fixed schemarouter not handling show databases queries spanning multiple buffers.
2015-04-14 18:50:19 +03:00
3fb59e020b
Added more logging to trace log.
2015-04-09 22:07:53 +03:00
d490c2c509
Added casts to unsigned long to some log messages.
2015-04-08 10:54:42 +03:00
e13ab6689d
Fixed coverity defects.
2015-04-03 07:56:45 +03:00
5ce1b742e9
Binlog Router, slave binlog_pos is now uint32
...
Binlog Router, slave binlog_pos is now uint32
2015-04-02 16:52:48 +02:00
3b6d71086e
DISCONNECT logs now to message file
...
DISCONNECT logs now to message file
2015-04-02 10:21:43 +02:00
440a6ece59
Fix to MXS-78: https://mariadb.atlassian.net/browse/MXS-78
...
Literal USE statements are now parsed and classified as a database change queries.
2015-04-02 08:16:45 +03:00
ee2bb2be07
Added log message about 'auth_all_users' being now the default for schemarouter.
2015-04-01 18:46:59 +03:00
d2bda091fd
Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop
2015-04-01 17:56:59 +03:00
bb65222e89
Fixed wrong var name
...
Fixed wrong var name detection
2015-04-01 16:56:29 +02:00
f2dbbe4a97
Added more schemarouter tests.
2015-04-01 15:23:23 +03:00
de88ae790d
Fix to MXS-80: https://mariadb.atlassian.net/browse/MXS-80
...
Fixed a possible null pointer dereference and schemarouter client sessions not being closed properly when connecting with an empty database.
2015-04-01 11:18:11 +03:00
04a87acced
Fix to MXS-79: https://mariadb.atlassian.net/browse/MXS-79
...
Added a check for empty database.
2015-04-01 10:53:30 +03:00
5fb7195091
Fixed extra ' in crc32 value check.
2015-04-01 10:22:24 +03:00
4c418a128d
Combined some conditionals in blr_slave.
2015-04-01 10:10:37 +03:00
04229423fc
Fix checksum for NONE
...
Fix checksum for NONE as mysqlbinlog sends SET
@master_binlog_checksum='NONE'
2015-04-01 08:30:34 +02:00
be968cfad2
Fixed missing subservices parameter in config.
2015-03-31 12:54:52 +03:00
e42f171564
Added support for direct connections to shardrouter.
2015-03-30 20:45:05 +03:00