Commit Graph

7231 Commits

Author SHA1 Message Date
9ed972e1ac Rename conflicting Avro fields
When a user defined field conflicts with an internal MaxScale field, the
field is suffixed with an underscore.
2017-05-12 11:28:07 +03:00
da2f7b1efe MXS-1216: Correct CHAR(n) handling
The field length was wrongly compared to less than 255 for two byte field
lengths. In addition to that, the metadata was interpreted in the wrong
way.
2017-05-12 11:27:02 +03:00
30bd869f1c MXS-1216: Fix crash on MariaDB 10.0 DATETIME(n)
When a MariaDB 10.0 DATETIME field with a custom length was defined, the
field offsets weren't calculated properly.

As there is no metadata for pre-10.1 DATETIME types with decimal
precision, the metadata (i.e. decimal count) needs to be gathered from the
CREATE TABLE statement. This information is then used to calculate the
correct field length when the value is decoded.

This change does not fix the incorrect interpretation of the old DATETIME
value. The converted values are still garbled due to the fact that the
value needs to be shifted out of the decimal format before it can be
properly converted.
2017-05-12 11:22:04 +03:00
6c583c43dd MXS-1263: Fix timeouts for partially established connections
When the connection timeout was checked for a connection, it assumed that
only valid and fully established sessions should be timed out.

Taking into account the fact that connections can be idle even before the
session is fully established, the check should be expanded to all
connections regardless of the session state.
2017-05-11 09:31:59 +03:00
8e2c7fd952 Merge branch '2.0' into 2.1 2017-05-10 09:12:42 +03:00
898bc3444e MXS-1216: Fix processing of long fixed strings
The fixed length string processing assumed that the string lengths were
contained in the first byte. This is not true for large fixed length
strings that take more than 255 bytes to store. This consists of
multi-byte character strings that can take up to 1024 bytes to store.
2017-05-09 14:46:39 +03:00
09349aaa22 Add missing string versions of MySQL commands
The STRPACKETTYPE macro was missing a number of the commands from the enum.

Added executed command byte value to readwritesplit info level log output.
2017-05-09 10:40:34 +03:00
598fc485ee Update release notes 2017-05-08 15:47:56 +03:00
e8b14dd8b0 Remove debug output 2017-05-08 14:54:23 +03:00
b971ad2cf5 Update masking documentation 2017-05-02 13:54:04 +03:00
fc855bac9a Update Avrorouter.md
Add note about Avro C library and -fPIC.
2017-04-28 11:52:17 +03:00
96cc21c86c Fix SQLite RPM package name
The name is sqlite, not sqlite3.
2017-04-28 11:52:17 +03:00
656cb3c517 Added depth and SERVER_SLAVE_OF_EXTERNAL_MASTER for build_mysql51_replication_tree
Now build_mysql51_replication_tree assigns depth and handles
SERVER_SLAVE_OF_EXTERNAL_MASTER status
2017-04-26 13:40:28 +03:00
57700215ac MXS-1244: MySQL monitor "detect_replication_lag=true" doesn't work with "mysql51_replication=true"
Added the missing handle->master assignment
2017-04-26 13:39:55 +03:00
5bf79637c6 Document the service users refresh interval
The interval between refreshes of the database users list wasn't
documented.
2017-04-26 09:47:59 +03:00
f1efe72f66 Additional documentation cleanup for 2.1
Mostly just reflow text (=linebreaks) for better diffs. Some small changes.
Remove Debug-And-Diagnostic-Support.md.
2017-04-25 10:04:31 +03:00
ade2cef852 MXS-1244: added 'detect_stale_slave' in monitor params
'detect_stale_slave' added to monitor params
2017-04-24 10:34:13 +02:00
e6b34ea85c Added depth and SERVER_SLAVE_OF_EXTERNAL_MASTER for build_mysql51_replication_tree
Now build_mysql51_replication_tree assigns depth and handles
SERVER_SLAVE_OF_EXTERNAL_MASTER status
2017-04-21 17:09:28 +02:00
6b9a2cd0b5 MXS-1244: MySQL monitor "detect_replication_lag=true" doesn't work with "mysql51_replication=true"
Added the missing handle->master assignment
2017-04-21 16:11:30 +02:00
2cc3382a46 Add JDBC batch execution limitation to documentation
Readwritesplit doesn't properly handle batched statement execution in
2.1.3. This is now reflected by the limitations document.
2017-04-21 13:55:25 +03:00
d1959549fe Update limitations document
Add note about prepared statements, transaction state and
autocommit mode.
2017-04-21 12:31:21 +03:00
d7e37b94ce Add notes on MariaDB 10.2 2017-04-21 12:09:03 +03:00
defbb9e23b Update upgrade documentation and link to it 2017-04-21 11:27:16 +03:00
e8dfccb4c8 2.1 doc esak (#127)
* Update MySQL-Replication-Read-Write-Splitting-Tutorial.md

* Update MySQL-Replication-Read-Write-Splitting-Tutorial.md

* Update MySQL-Replication-Read-Write-Splitting-Tutorial.md

* Update MySQL-Cluster-Setup.md

* Update Administration-Tutorial.md

* Update Administration-Tutorial.md

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

* Update CLI.md

* Update ReadWriteSplit.md

* Update Tee-Filter.md

* Update CCRFilter.md

* Update RabbitMQ-Filter.md

* Update Debug-And-Diagnostic-Support.md

* Update MaxBinlogCheck.md

* Update Configuration-Guide.md

* Update Module-Commands.md
2017-04-21 10:49:20 +03:00
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