Commit Graph

7257 Commits

Author SHA1 Message Date
73c38230fe Update README.md 2017-04-20 16:03:41 +03:00
008d86f99a Update 2.1 Change Log 2017-04-20 16:03:41 +03:00
0f7b29f8bf Add 2.1.3 release notes 2017-04-20 16:03:41 +03:00
09086994bf 2.1 doc johan (#126)
* Update Documentation-Contents.md

* Update SchemaRouter-technical.md

* Update Plugin-development-guide.md

* Update Replication-Proxy-Binlog-Router-Tutorial.md

* Update MaxScale-HA-with-lsyncd.md

* Update MaxScale-Information-Schema.md

* Update Galera-Cluster-Read-Write-Splitting-Tutorial.md

* Update GSSAPI-Authenticator.md
2017-04-20 14:59:52 +03:00
695ba19965 Massimiliano pinto doc update 2.1 (#125)
* Update Nagios-Plugins.md

* Update MM-Monitor.md

* Update Nagios-Plugins.md

* Update Nagios-Plugins.md

* Update Galera-Cluster-Connection-Routing-Tutorial.md

* Update Galera-Cluster-Connection-Routing-Tutorial.md

* Update RabbitMQ-Setup-And-MaxScale-Integration.md

* Update MaxScale-Tutorial.md

* Update Cache.md

* Update Transaction-Performance-Monitoring-Filter.md

* Update RabbitMQ-Consumer-Client.md

* Update Building-MaxScale-from-Source-Code.md

* Update MariaDB-MaxScale-Installation-Guide.md

* Update Install-MariaDB-MaxScale-Using-a-Tarball.md

* Update RabbitMQ-Setup-And-MaxScale-Integration.md

* Update RabbitMQ-Consumer-Client.md
2017-04-20 13:36:13 +02:00
33b809eec1 Do not build storage_rocksdb by default 2017-04-20 13:12:46 +03:00
bda8c478e7 Merge pull request #124 from mariadb-corporation/2.1-doc-markusjm
2.1 documentation update
2017-04-20 12:07:31 +03:00
7d7ad54482 Update Upgrading-To-MaxScale-2.1.md
Added information about IPv6 changes and persisted configurations.
2017-04-20 10:21:02 +03:00
83f76d0655 Update MaxAdmin.md
Updated the output of the executed commands.
2017-04-20 10:07:58 +03:00
ce95983896 Update MaxAdmin runtime configuration documentation
The example help output for the commands is now shown in the
documentation.
2017-04-20 09:37:29 +03:00
49bef4e4f0 Delete How-errors-are-handled-in-MaxScale.md 2017-04-20 09:27:24 +03:00
c0b3c7eb9f Update Hint-Syntax.md 2017-04-20 09:27:24 +03:00
03ba0391e1 Update Debug-CLI.md 2017-04-20 09:27:24 +03:00
1fc4490d40 Update ReadConnRoute.md 2017-04-20 09:27:24 +03:00
def475be18 Update Avrorouter.md 2017-04-20 09:27:24 +03:00
f2a0dbd72d Update Binlogrouter.md 2017-04-20 09:27:24 +03:00
9d56fc70f6 Update SchemaRouter.md 2017-04-20 09:27:24 +03:00
767ec74489 Update MySQL-Replication-Connection-Routing-Tutorial.md 2017-04-20 09:27:24 +03:00
94acc9b9ab Update MaxScale-HA-with-Corosync-Pacemaker.md 2017-04-20 09:27:24 +03:00
afe75e9006 Update Simple-Sharding-Tutorial.md 2017-04-20 09:27:23 +03:00
1e34bd7642 Update Notification-Service.md
Removed change history, changed company name.
2017-04-20 09:27:23 +03:00
7989473fbd MXS-1221: Nagios plugin scripts does not process -S option properly
Nagios plugin scripts does not process -S option properly
2017-04-19 18:18:04 +03:00
d03b059107 Cache length of buffered data
If a complete response is delivered in many buffers, then calling
gwbuf_length() whenever you need the complete size starts to hurt.
By caching the length of the data received sofar and by updating
the length in clientReply(), gwbuf_length() will be called exactly
once for each buffer(chain) delivered to routeQuery().
2017-04-19 18:15:56 +03:00
27e97a546d Remove superfluous logging
Just because of a debug build you do not want the transaction
parser to log.
2017-04-19 18:15:56 +03:00
5998457142 MXS-1227: Update Nagios Plugins for MaxScale 2.1
Nagios Plugins update for MaxScale 2.1
2017-04-19 16:10:14 +02:00
a418387d0a MXS-1218 Poll statistics changed to 64bit to avoid looparound
Statistics calculation, printing and MaxInfo are modified.
n_fds remains 32bit.
2017-04-18 13:14:47 +03:00
496189dd59 MXS-1221: Nagios plugin scripts does not process -S option properly
Nagios plugin scripts does not process -S option properly
2017-04-18 10:18:15 +02:00
a54d6fe816 Add connector plugindir to help output
The output now displays the connector directory.
2017-04-13 17:57:52 +03:00
f4a5134a83 MXS-1212: use res.length for buffer length instead of computing the size of the whole buffer chain
This reduces CPU usage and decreases the response time for result sets
with many rows.
2017-04-07 12:16:50 +02:00
9e8ddc842c Fix leaks in testconfig 2017-04-06 12:51:09 +03:00
15951423d8 Fix memory errors in test_poll and test_queuemanager
test_poll was calling poll_init() two times since it's already included in
init_test_env().

test_queuemanager was missing a bunch of frees. This doesn't fix it completely,
but removes most of the leaks and valgrind errors.
2017-04-05 17:37:21 +03:00
b1f66d21c8 Fix valgrind-errors in test_filter and test_modutil
Reduces valgrind clutter quite a bit.
2017-04-05 15:04:36 +03:00
2d987b25b2 Fix test_dcb
Set threadcount to one, don't check validity after freeing.
2017-04-05 10:49:43 +03:00
41a9663611 MXS-1191: Fix crash on column drop
When a column is dropped from a table with a schema that has more columns
than the row event has, avrorouter will crash.
2017-04-04 17:08:07 +03:00
c67894b011 Add Avro schema generator Python script
The script is the Python version of the cdc_schema.go application.
2017-04-04 16:42:39 +03:00
e0a98f6539 Fix calls of pcre2_substitute
If the output buffer given to pcre2_substitute is too small, an error
value is written to the last parameter (output length). That value
should not be used for calculations. This patch gives a copy as
parameter instead.

Coincidentally, this commit fixes the crashes of query classifier tests.

Also, increase buffer growth rate in utils.c.
2017-04-04 16:19:21 +03:00
dca086571b TestMaxScalePCRE2: Fix memory leaks
Not really leaks, but this reduces needless clutter in the valgrind
output.
2017-04-04 16:18:47 +03:00
872f69b681 Also check IPv6 mapped IPv4 addresses as IPv4
If a client connects from an IPv4 address, but the listener listens on an
IPv6 address, the client IP will be a IPv6 mapped IPv4 address
e.g. ::ffff:127.0.0.1. A grant for an IPv4 address should still match an
IPv6 mapped IPv4 address.
2017-04-04 15:28:39 +03:00
9f14f3659f Only check user permissions on startup
When users were loaded, the permissions for the service user were
checked. The conditional that makes sure the check is executed only at
startup was checking the listener's users instead of the SQLite handle
which caused all reloads of users to check the permissions.
2017-04-04 15:28:39 +03:00
860b14526c Fix mxs_mysql_is_result_set
The function assumed that the packet payload was always at least two
bytes.
2017-04-04 15:28:39 +03:00
cda5bb7935 Merge branch '2.0.5' into 2.0 2017-04-04 14:32:57 +03:00
1ff83150f0 Revert "Route statements in larger batches"
This reverts commit f3c83770903151a0a3b53593c3e05fa0af94cd5f. The
functionality was used implicitly by modules that declare the
RCAP_TYPE_CONTIGUOUS_OUTPUT capability.
2017-04-04 09:56:51 +03:00
0c3f9ffa2e Maxrows: documentation update and use of MXS_MODULE_PARAM_SIZE for max_resultset_size parameter
max_resultset_size parameter now uses MXS_MODULE_PARAM_SIZE and
config_get_size

Documentation change follows the change.
2017-04-04 08:43:55 +02:00
6ef90bf9b6 Add a warning about limit_queries and action=allow
The `limit_queries` rule should not be used in the `allow` mode.
2017-04-03 16:22:21 +03:00
d32a2e410b Use matched instead of blocked
As queries that match a rule aren't always blocked, it's more appropriate
to use `matched` instead of `blocked`.
2017-04-03 16:22:21 +03:00
108978fcd2 Format dbfwfilter documentation
Split lines that are longer than 80 characters.
2017-04-03 16:22:21 +03:00
8d2d6d8721 Join threads to prevent leaks 2017-04-03 14:20:54 +03:00
815780aa4a In cache testrules.c ensure there seems to be at least one thread 2017-04-03 14:20:54 +03:00
0f2f9d48b7 Improve maxadmin help messages
The help messages are now more descriptive and have usage information in
them. This should help users use the commands without relying on the
online documentation.
2017-04-03 12:09:59 +03:00
e650597eb5 MXS-1200: Document and increase line length limitations
The line length limitation is now increased to 16384 bytes. It is now
clearly documented in the limitations document.

The configuration parser now uses memory from the heap instead of the
stack. This should remove any problems caused by the larger line length.
2017-04-03 12:07:45 +03:00