Commit Graph

14349 Commits

Author SHA1 Message Date
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
46165f0894 Merge branch '2.3.16' into 2.3 2020-01-17 08:25:44 +02:00
9087f00c12 Update 2.3.16 release date 2020-01-17 08:15:05 +02:00
e3e92e7d90 Document hintfilter limitations
The filter does not support prepared statements.
2020-01-16 14:02:05 +02:00
7b71716da7 Improve bug448 stability
By removing replication from the equation, the client IP check is more
stable. The get_client_ip function is only used by bug448 and could be
moved there.
2020-01-16 12:10:31 +02:00
3dda14a58e Reduce load of bug601 test
The test repeatedly creates connections which exhausts all the available
TCP connections. The test doesn't appear to test any specific
functionality with the repeated reconnections which means removing it
shouldn't be a problem.
2020-01-16 12:10:31 +02:00
60416f5b96 Fix max_connection for 2.4
The merge from 2.3 caused the mechanism to break in 2.4 where the old code
was correct.
2020-01-16 12:10:31 +02:00
a7e0142224 Merge branch '2.3' into 2.4 2020-01-15 11:29:37 +02:00
c7bedbe622 Add missing script
Copied from 2.4
2020-01-15 11:22:00 +02:00
b61ebfe82e Merge branch '2.3.16' into 2.3 2020-01-15 11:20:28 +02:00
6680a7dcdd Update 2.3 maintenance version 2020-01-15 11:15:54 +02:00
790d90f229 Update 2.3.16 Change Date 2020-01-15 11:08:51 +02:00
d03d9ae464 Merge branch '2.3' into 2.4 2020-01-15 11:00:59 +02:00
1168ca5045 Add 2.3.16 release notes and update change log 2020-01-15 10:51:34 +02:00
8b29760285 MXS-2812 Document "Auth Error" state
It was left out of the main configuration guide.
2020-01-15 10:40:11 +02:00