14808 Commits

Author SHA1 Message Date
Johan Wikman
5906f59344 Merge branch '2.4' into 2.4.14 2020-11-19 13:54:55 +02:00
Johan Wikman
56575882d7 MXS-3301 Rename clustrix -> xpand everywhere 2020-11-19 13:44:06 +02:00
Johan Wikman
47e1c04d09 MXS-3301 Look for "xpand" to find out whether server is Xpand
We will continue to look for "clustrix" as well so that MaxScale
will continue to work with older releases.
2020-11-19 13:43:30 +02:00
Johan Wikman
266c866b18 2.4.14 Fix xpand_transaction_replay config 2020-11-19 13:40:57 +02:00
Johan Wikman
a0922a2451 2.4.14 Fix xpand cluster setup 2020-11-19 13:37:14 +02:00
Johan Wikman
5fc73646a4 MXS-3301 Rename clustrix -> xpand everywhere 2020-11-18 10:02:02 +02:00
Johan Wikman
9ed51b69e1 MXS-3301 Look for "xpand" to find out whether server is Xpand
We will continue to look for "clustrix" as well so that MaxScale
will continue to work with older releases.
2020-11-17 17:30:50 +02:00
Johan Wikman
64ca695c84 Revert "MXS-3301 Look for "xpand" to find out whether server is Xpand"
This reverts commit 4728730510409fc15d2b3a55fa6e00008651794d.

The clustrix -> xpand name change causes too much trouble when merging
to 2.5.
2020-11-17 17:21:14 +02:00
Johan Wikman
4728730510 MXS-3301 Look for "xpand" to find out whether server is Xpand
We will continue to look for "clustrix" as well so that MaxScale
will continue to work with older releases. Clustrix was replaced with
xpand in all symbols.
2020-11-17 13:25:13 +02:00
Markus Mäkelä
10582a02fe
Merge branch '2.3' into 2.4 2020-11-17 10:54:58 +02:00
Markus Mäkelä
f577d09829
MXS-3297: Don't advertise unsupported capabilities
Only bulk execute is supported. Supporting progress reporting currently
breaks the protocol result processing code.
2020-11-17 10:45:03 +02:00
Markus Mäkelä
fa0b9d8df1
Install one ASAN, not both
Installing both seems to cause problems on CentOS 7.
2020-11-17 10:09:19 +02:00
Markus Mäkelä
4545b8f798
Fix division by zero
If the query failed instantly it would crash the test.
2020-11-17 10:08:15 +02:00
Markus Mäkelä
558bd9279b
Use same script for both SSL and non-SSL users 2020-11-16 16:54:37 +02:00
Johan Wikman
c49a28ef12 2.4 Update maintenance release 2020-11-16 14:35:31 +02:00
Johan Wikman
03e904a33b 2.4.14 Add release notes and update change log 2020-11-16 14:27:53 +02:00
Johan Wikman
df36ef86d0 2.4.14 Update Change Date 2020-11-16 14:23:26 +02:00
Markus Mäkelä
5a33d45d4d
Merge branch '2.3' into 2.4 2020-11-16 09:25:43 +02:00
Markus Mäkelä
43c53e2f79
MXS-3297: Fix reading of extended MariaDB capabilities
The byte offset didn't take the size of the charset into account.
2020-11-16 09:20:51 +02:00
Markus Mäkelä
9dd736d4eb
MXS-3245: Document /v1/maxscale/ REST API responses 2020-11-16 09:20:51 +02:00
Markus Mäkelä
c49f17f428
MXS-3295: Fix layout of the classify endpoint
The values were stored in the parameters object which is used for
configuration parameters in other endpoints. The proper place for them is
inside the attributes object.
2020-11-16 09:20:50 +02:00
Markus Mäkelä
9edbca34c8
Fix ASAN library installation
The code used a newer compiler with an older ASAN library.
2020-11-13 10:40:46 +02:00
Markus Mäkelä
87cb6f76a1
Merge branch '2.3' into 2.4 2020-11-11 15:04:51 +02:00
Johan Wikman
a1a1bdf93d MXS-3292 Fix bug
The string given to USE must be dequoted before being stored.
2020-11-11 12:37:36 +02:00
Johan Wikman
b459b6f13f MXS-3292 Add test that reveals bug 2020-11-11 12:37:36 +02:00
Markus Mäkelä
e685741642
Configure SSL before starting MaxScale
This makes sure that the servers are correctly configured before MaxScale
sees them.
2020-11-11 11:22:59 +02:00
Markus Mäkelä
63ed377e3a
Merge branch '2.3' into 2.4 2020-11-10 10:13:32 +02:00
Markus Mäkelä
7b1625d65f
MXS-3272: Ask password first
The interactive would give the prompt first before asking for the
password. By copying the code from common.js, the password is always asked
first.
2020-11-09 17:33:34 +02:00
Markus Mäkelä
968d43799f
MXS-3273: Ignore unexpected responses
Unlike readwritesplit, schemarouter will process all responses from
backends as if they are expected. There are cases where errors are
generated that aren't sent as a response to a query. These queries must be
ignored and not routed to the client. Copying the code as-is from
readwritesplit isn't the cleanest solution but it avoids refactoring code
in a patch release.

The custom error number (2003) used by the backend protocol code was not
an actual error number that the server would send. The error code in
question was for an error that only the C connector returns:
CR_CONN_HOST_ERROR. Using ER_CONNECTION_KILLED as the error number better
conveys the fact that the connection was killed due to a reason not
related to any ongoing query.

By using a known error number that is correctly handled, we also avoid
writing errors to the client in the middle of a resultset or as the
initial response to a result. This explains why the problem described in
MXS-3267 happened in the first place: an unrelated connection was lost in
the middle of a resultset and the error was interpreted as the end of a
resultset. As a result of there being more data to be read, the unexpected
result state messages were logged.
2020-11-04 16:44:46 +02:00
Timofey Turenko
e1ede4fed0 Merge branch '2.4' of github.com:mariadb-corporation/MaxScale into 2.4 2020-11-04 13:03:21 +02:00
Timofey Turenko
6a3cf164e4 Merge remote-tracking branch 'origin/2.4.13' into 2.4 2020-11-04 13:03:00 +02:00
Timofey Turenko
7efe15e0e6 Add note regarding new signature key 2020-11-04 12:55:58 +02:00
Markus Mäkelä
87f97a16c3
Log server name in error message
This makes it clear which server failed.
2020-10-29 15:33:48 +02:00
Markus Mäkelä
11368e5ed0
Merge branch '2.3' into 2.4 2020-10-29 15:25:21 +02:00
Markus Mäkelä
46dab1e884
MXS-3259: Add default connection timeout
The connector never times out if one is not defined. This seems to help
make the mxs1985_kill_hang test a lot more stable.
2020-10-29 15:12:49 +02:00
Markus Mäkelä
ca1db89994
MXS-3259: Increase connection limits
Lowering max_connections to 10 prevented the test system itself from
connecting to it. The replication slaves count towards max_connections and
with up to 15 connections in the test, the limit should be higher.
2020-10-29 15:12:49 +02:00
Johan Wikman
77ef9312c9 Merge branch '2.3' into 2.4 2020-10-28 11:45:36 +02:00
Johan Wikman
d45eb051bf MXS-3249 Remove spaces from object names 2020-10-27 16:09:41 +02:00
Johan Wikman
e522bce80f MXS-3249 Fix mysqltest tests
To avouid failures caused by default MariaDB configuration files
containing entries incompatible with mysqltest, mysqltest is
invoked with the glah --no-defaults, which will cause it *not* to
read any configuration files.
2020-10-27 13:57:34 +02:00
Markus Mäkelä
836334a7a8
Merge branch '2.3' into 2.4 2020-10-23 12:42:46 +03:00
Markus Mäkelä
aa5a63be14
Fix debug argument concatenation
The buffer was shorter than the arguments given to it which caused a heap
buffer overflow.
2020-10-23 10:53:26 +03:00
Timofey Turenko
7680c9ce11 Rename Clustrix to Xpand in the tests 2020-10-22 15:28:10 +03:00
Timofey Turenko
3546b716c5 Fix Clustrix tests
Now MDBCI is responsible for Clustrix installation
as well as license processing.
Clustrix version is hardcoded now
(until MDBCI fix for finding latest version)
2020-10-21 23:31:43 +03:00
Timofey Turenko
badca4f611 Merge branch '2.4' of github.com:mariadb-corporation/MaxScale into 2.4 2020-10-19 15:24:59 +03:00
Markus Mäkelä
dad5e09e5e
Merge branch '2.3' into 2.4 2020-10-19 15:08:22 +03:00
Markus Mäkelä
702e88d3d6
MXS-3240: Document /maxscale/threads/:id values
The values are somewhat cryptic without documentation.
2020-10-19 15:08:07 +03:00
Timofey Turenko
49b2471cbb Do not hardcode MDBCI box for Clustrix 2020-10-19 14:30:41 +03:00
Johan Wikman
0f1983fe1a MXS-3239 Update Clustix/Xpand documentation
- Rename files
- Change Clustrix -> Xpand in files
- Update links
- Add warning that the monitor is intended for use with a native
  Xpand cluster, not with the Xpand storage engine.
2020-10-19 14:22:21 +03:00
Johan Wikman
3c2299d1b5 MXS-3239 Add mapping clustrixmon -> xpandmon
So that existing configurations continue to work.
2020-10-19 13:59:46 +03:00
Johan Wikman
9bc7887728 MXS-3239 Rename [c|C]clustrix names to [x|X]pand names 2020-10-19 13:56:36 +03:00