Commit Graph

14513 Commits

Author SHA1 Message Date
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
b5dc260d1b Add 2.3.17 release notes and update change log 2020-02-10 15:34:26 +02:00
cfb3f79b54 Update 2.3.17 Change Date 2020-02-10 15:28:38 +02:00
75ba527b1c Merge branch '2.3' into 2.4 2020-02-10 13:59:30 +02:00
ef769573e4 MXS-2880 Fix typo in json output
"seconds_behing_master" -> "seconds_behind_master"
2020-02-10 12:59:30 +02:00
cb016fb90a Merge branch '2.3' into 2.4 2020-02-10 10:47:47 +02:00
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
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
21989f7a16 MXS-2777: Fix installation directory
The drop-in directory must be created in /etc.
2020-02-10 10:46:31 +02:00
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
0b21544693 Fix TSAN CMake option
The wrong variable was set.
2020-02-10 10:46:12 +02:00
791d2ade99 Log latest error on broken master connection
When the master goes down, log the latest error if one is present.
2020-02-10 10:46:11 +02:00
4a725da940 Merge branch '2.3' into 2.4 2020-01-31 12:27:50 +02:00
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
043df59ffa Merge branch '2.3' into 2.4 2020-01-29 14:38:29 +02:00
a311613935 MXS-2858: Fix backend side throttling
The code registered both client and backend callbacks for backend
DCBs. This caused the whole connection to hang if backend side throtting
was ever triggered.
2020-01-29 14:35:52 +02:00
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
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
08e572b139 Merge branch '2.3' into 2.4 2020-01-28 12:28:19 +02:00
ea2665214f MXS-2851 Fix bug 2020-01-28 12:10:24 +02:00
9262e14aed MXS-2851 Add test that reveals bug 2020-01-28 11:21:37 +02:00
399f312911 MXS-2850 Fix bug 2020-01-28 11:08:27 +02:00
36dee78cee MXS-2850 Add test that reveals bug 2020-01-28 11:02:19 +02:00
39da32dac7 Merge branch '2.3' into 2.4 2020-01-27 15:49:54 +02:00
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
ed6cc78ab3 Merge branch '2.3' of github.com:mariadb-corporation/MaxScale into 2.3 2020-01-24 13:50:09 +02:00
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
25045c41a2 Merge branch '2.3' into 2.4 2020-01-24 13:06:42 +02:00
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
17916969b6 Merge branch '2.3' into 2.4 2020-01-24 09:48:05 +02:00
51deebc44f Update 2.4 maintenance version 2020-01-24 09:06:29 +02:00
f2da2babbf Update 2.4.6 release date 2020-01-24 08:30:57 +02:00
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
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
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
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
b99c2b24b5 Merge remote-tracking branch 'origin/2.4' into 2.4.6 2020-01-23 14:50:03 +02:00
b46974f3e7 Fix Galera lib seach in mariadb_nodes.cpp 2020-01-23 14:49:18 +02:00
97c1578128 Fix Galera lib seach in mariadb_nodes.cpp 2020-01-23 14:45:24 +02:00
714dece7dd Update 2.4.6 Change Date
We use same as for 2.3.16.
2020-01-21 13:22:25 +02:00
0b2c0f8432 Add 2.4.6 release notes and update change log 2020-01-21 09:39:07 +02:00
fe1043219e Merge branch '2.3' into 2.4 2020-01-21 09:33:41 +02:00
e2976a6689 MXS-2843: Remove password hash from log_info output 2020-01-21 09:27:08 +02:00
2e50b9409a Add missing test labels
Some tests were missing a few labels.
2020-01-21 09:18:32 +02:00
aa84c4dc7e MXS-2821: Improve REST API errors
The error message now states what the real reason of the error was.
2020-01-21 09:18:32 +02:00
f039d1b42d Fix mxs2512_trx_replay_rollback
The change in defaults caused the test to fail.
2020-01-17 14:28:49 +02:00
df3ae56952 Merge branch '2.3' into 2.4 2020-01-17 09:26:50 +02:00
b6dc67f1b9 Improve cdc_client stability
It was possible that the query thread got stuck and never saw the updated
insert_val. Making the variable atomic as well as sleeping in between
queries should prevent it.
2020-01-17 09:21:21 +02:00
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
9bd692c7d3 Merge branch '2.3' into 2.4 2020-01-17 08:26:15 +02:00