Markus Mäkelä
2f6d003491
MXS-2832: Document failover timing estimates
...
The worst-case time it takes for failover to start is now documented.
2020-03-04 08:49:03 +02:00
Markus Mäkelä
e2e220de66
MXS-2726: Document ccrfilter default behavior
...
Added an explicit mention of the way the filter works.
2020-03-02 17:30:11 +02:00
Markus Mäkelä
b7d0be97ab
MXS-2211: Auto-generate TOC
...
The link no longer works as the section has been removed. Auto-generating
the TOC solves this.
2020-03-02 17:30:10 +02:00
Markus Mäkelä
207882defb
MXS-2277: Document script limitations
...
The script should not interact with the administrative interfaces of
MaxScale.
2020-03-02 17:30:10 +02:00
Markus Mäkelä
67fee60f80
Fix Auth Error server status
...
The mon_ping_or_connect_to_db resets the MYSQL handle which caused the
loss of the error message. Returning a new enumeration value for
authentication errors solves this problem.
2020-03-02 16:32:35 +02:00
Esa Korhonen
96ba2da40c
MXS-2900 Move testcore library files to a dedicated directory
...
The library is now named "maxtest". The related include-files are, for
now, usable without designating the full include path. This may be changed
later, but would require modifying every test.
2020-03-02 11:17:30 +02:00
Markus Mäkelä
e180c20055
MXS-2899: Update charset only when successful
...
By updating the server charset only when we successfully query it, the
charset will not change due to network connectivity problems.
2020-02-27 14:18:51 +02:00
Markus Mäkelä
0614a44a4d
Add monitor TLS test case
...
Added a test that verifies the server state is Down when the backend
doesn't support TLS.
2020-02-24 12:02:50 +02:00
Markus Mäkelä
b241f7ed2a
MXS-2896: Fix monitor connection creation
...
The connection is now correctly null after a failed attempt to connect.
2020-02-24 12:02:50 +02:00
Markus Mäkelä
13658fe23e
MXS-2810: Fix CentOS 6 regression
...
MaxScale wasn't stopped if the system didn't use systemd.
2020-02-24 12:02:50 +02:00
Markus Mäkelä
61050ed125
Fix Avro C API link
...
The old link is dead.
2020-02-19 19:24:39 +02:00
Johan Wikman
919686f7ad
Merge branch '2.3.17' into 2.3
2020-02-12 08:22:59 +02:00
Johan Wikman
81e2306811
Update 2.3.17 release date
2020-02-12 08:20:15 +02:00
Johan Wikman
853a83a794
Update 2.3 maintenance version
2020-02-12 08:17:55 +02:00
Markus Mäkelä
fd875cbf6d
Remove faulty debug assertion
...
The use of the server state is not transactional across multiple uses of
the function. This means that any assertions on the target state can fail
if the monitor updates the state between target selection and the
assertion.
2020-02-11 22:34:39 +02:00
Markus Mäkelä
c18f9c6bd7
MXS-2883: Handle AuthSwitchRequest packets
...
The backend didn't expect AuthSwitchRequest packets in response to the
handshake response packets. This is allowed by the protocol and appears to
happen with at least MySQL 8.0.
2020-02-10 15:35:47 +02:00
Johan Wikman
b5dc260d1b
Add 2.3.17 release notes and update change log
2020-02-10 15:34:26 +02:00
Johan Wikman
cfb3f79b54
Update 2.3.17 Change Date
2020-02-10 15:28:38 +02:00
Esa Korhonen
ef769573e4
MXS-2880 Fix typo in json output
...
"seconds_behing_master" -> "seconds_behind_master"
2020-02-10 12:59:30 +02:00
Markus Mäkelä
39cf6a8000
MXS-2860: Update last_read only on successful reads
...
This prevents empty or failed reads from updating the last_read flag which
in turn gives us the correct connection idle time when network errors
occur.
2020-02-10 10:46:32 +02:00
Markus Mäkelä
98e6bdcd90
MXS-2878: Enforce TLS for Connector-C connections
...
Connector-C connections now require TLS if the servers are configured with
it.
2020-02-10 10:46:32 +02:00
Markus Mäkelä
21989f7a16
MXS-2777: Fix installation directory
...
The drop-in directory must be created in /etc.
2020-02-10 10:46:31 +02:00
Markus Mäkelä
c0e20137ee
MXS-2871: Fix postrm script
...
The script used the wrong command to stop the service. Added the missing
disable that mirrors the enable in the postinst script.
2020-02-10 10:46:31 +02:00
Markus Mäkelä
f6d848d58c
MXS-2859: Treat newlines in strings as errors
...
Allowing raw newlines in string values breaks configuration serialization.
2020-01-30 10:44:00 +02:00
Markus Mäkelä
f53faba795
MXS-2857: Disable peer verification by default
...
The fix to the bug where peer certificates were validated but not required
caused the default behavior to change. The default should've changed at
the same time the fix was made.
2020-01-29 14:35:03 +02:00
Markus Mäkelä
a3fd5a0218
MXS-2854: Repeat read on schema event
...
The read needs to be repeated if MaxScale sends a schema event.
2020-01-29 14:35:03 +02:00
Johan Wikman
ea2665214f
MXS-2851 Fix bug
2020-01-28 12:10:24 +02:00
Johan Wikman
9262e14aed
MXS-2851 Add test that reveals bug
2020-01-28 11:21:37 +02:00
Johan Wikman
399f312911
MXS-2850 Fix bug
2020-01-28 11:08:27 +02:00
Johan Wikman
36dee78cee
MXS-2850 Add test that reveals bug
2020-01-28 11:02:19 +02:00
Markus Mäkelä
41a07a4bd9
MXS-2801: Log INFO messages when session_trace is on
...
Since the session trace should contain all messages, the log priority
check should always return true when session_trace is on.
2020-01-27 15:39:39 +02:00
Timofey Turenko
ed6cc78ab3
Merge branch '2.3' of github.com:mariadb-corporation/MaxScale into 2.3
2020-01-24 13:50:09 +02:00
Timofey Turenko
08616692a4
Fixed tests to be compatible with GCloud VMs
...
GCloud machines has more strict access rights settings. Derect calls of
'chmod' are needed to make all configuration files (e.g. 'fwf/rules') be
accessable by Maxscale.
2020-01-24 13:47:26 +02:00
Markus Mäkelä
a0affe1bb7
MXS-2784: Use SQL to fetch default character set
...
The Connector-C was changed to always return only the client's charset,
not the actual charset that the connection ends up using. To cope with
this, the code has to use SQL to join the default character set name to
the default collation for it which can be used to extract the numeric ID
of the charset.
2020-01-24 10:51:15 +02:00
Markus Mäkelä
4641dc208f
Fix sescmd debug assert
...
The assertion will not hold for COM_CHANGE_USER. This prevents the debug
assertion but the actual backend code should also be changed.
2020-01-23 18:38:05 +02:00
Markus Mäkelä
6dd4a04c5d
cherry-pick: MXS-2803: Write all buffered data
...
Since the queued queries will never be inspected after the COM_CHANGE_USER
completes, they should all be written instead of only the first packet.
2020-01-23 18:38:05 +02:00
Markus Mäkelä
c04d6748d3
Fix debug assertion on inconsistent sescmd result
...
The slave backend would be closed twice if it would both respond with a
different result and be closed due to a hangup before the master
responded.
Added a test case that reproduced the problem.
2020-01-23 18:38:05 +02:00
Markus Mäkelä
4f1ae70765
Allow multiple fatal signals
...
As long as the same thread never handles more than one fatal signal,
multiple fatal signals can be processed. This should guarantee that the
stacktrace is printed into the log while guaranteeing that recursion never
takes place if the handling of a fatal signal causes a fatal signal to be
emitted.
2020-01-23 18:37:57 +02:00
Timofey Turenko
b46974f3e7
Fix Galera lib seach in mariadb_nodes.cpp
2020-01-23 14:49:18 +02:00
Markus Mäkelä
e2976a6689
MXS-2843: Remove password hash from log_info output
2020-01-21 09:27:08 +02:00
Markus Mäkelä
b573fcf030
MXS-2839: Make ssl_ca_cert optional
...
Not defining ssl_ca_cert causes the system default verification chain to
be used.
2020-01-17 09:21:06 +02:00
Johan Wikman
46165f0894
Merge branch '2.3.16' into 2.3
2020-01-17 08:25:44 +02:00
Johan Wikman
9087f00c12
Update 2.3.16 release date
2020-01-17 08:15:05 +02:00
Johan Wikman
c7bedbe622
Add missing script
...
Copied from 2.4
2020-01-15 11:22:00 +02:00
Johan Wikman
b61ebfe82e
Merge branch '2.3.16' into 2.3
2020-01-15 11:20:28 +02:00
Johan Wikman
6680a7dcdd
Update 2.3 maintenance version
2020-01-15 11:15:54 +02:00
Johan Wikman
790d90f229
Update 2.3.16 Change Date
2020-01-15 11:08:51 +02:00
Johan Wikman
1168ca5045
Add 2.3.16 release notes and update change log
2020-01-15 10:51:34 +02:00
Esa Korhonen
8b29760285
MXS-2812 Document "Auth Error" state
...
It was left out of the main configuration guide.
2020-01-15 10:40:11 +02:00
Johan Wikman
bb2f0a98cb
Remove Cache filter storage_rocksdb documentation
...
The code is no longer present in MaxScale.
2020-01-15 10:38:41 +02:00