Commit Graph

14786 Commits

Author SHA1 Message Date
87cb6f76a1 Merge branch '2.3' into 2.4 2020-11-11 15:04:51 +02:00
a1a1bdf93d MXS-3292 Fix bug
The string given to USE must be dequoted before being stored.
2020-11-11 12:37:36 +02:00
b459b6f13f MXS-3292 Add test that reveals bug 2020-11-11 12:37:36 +02:00
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
63ed377e3a Merge branch '2.3' into 2.4 2020-11-10 10:13:32 +02:00
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
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
e1ede4fed0 Merge branch '2.4' of github.com:mariadb-corporation/MaxScale into 2.4 2020-11-04 13:03:21 +02:00
6a3cf164e4 Merge remote-tracking branch 'origin/2.4.13' into 2.4 2020-11-04 13:03:00 +02:00
7efe15e0e6 Add note regarding new signature key 2020-11-04 12:55:58 +02:00
87f97a16c3 Log server name in error message
This makes it clear which server failed.
2020-10-29 15:33:48 +02:00
11368e5ed0 Merge branch '2.3' into 2.4 2020-10-29 15:25:21 +02:00
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
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
77ef9312c9 Merge branch '2.3' into 2.4 2020-10-28 11:45:36 +02:00
d45eb051bf MXS-3249 Remove spaces from object names 2020-10-27 16:09:41 +02:00
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
836334a7a8 Merge branch '2.3' into 2.4 2020-10-23 12:42:46 +03:00
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
7680c9ce11 Rename Clustrix to Xpand in the tests 2020-10-22 15:28:10 +03:00
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
badca4f611 Merge branch '2.4' of github.com:mariadb-corporation/MaxScale into 2.4 2020-10-19 15:24:59 +03:00
dad5e09e5e Merge branch '2.3' into 2.4 2020-10-19 15:08:22 +03:00
702e88d3d6 MXS-3240: Document /maxscale/threads/:id values
The values are somewhat cryptic without documentation.
2020-10-19 15:08:07 +03:00
49b2471cbb Do not hardcode MDBCI box for Clustrix 2020-10-19 14:30:41 +03:00
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
3c2299d1b5 MXS-3239 Add mapping clustrixmon -> xpandmon
So that existing configurations continue to work.
2020-10-19 13:59:46 +03:00
9bc7887728 MXS-3239 Rename [c|C]clustrix names to [x|X]pand names 2020-10-19 13:56:36 +03:00
192ad2289f MXS-3239 Rename clustrix* to xpand*
Typenames still Clustrix.
2020-10-19 13:40:54 +03:00
2da2952168 Merge branch '2.4.13' into 2.4 2020-10-19 12:28:18 +03:00
c4d193036d Update release date 2020-10-19 12:23:27 +03:00
48ef9754df MXS-3241: Check buffer length
The `is_set` call assumes that at least three characters are present.
2020-10-16 12:22:06 +03:00
0b211a0866 2.4 Update maintenance version 2020-10-14 09:19:34 +03:00
faaf7f483e 2.4.13 Update Change Date 2020-10-14 09:15:46 +03:00
459884fc96 2.4.13 Add release notes and update change log 2020-10-14 09:15:46 +03:00
933ce0c86a MXS-3220: Fix crash on failed master history replay
This could happen if a session command triggers a master reconnection and
the connection fails while the history replay is ongoing. The code assumed
that history replay would only happen when a query was in the query queue.
2020-10-13 14:31:49 +03:00
96840a18be MXS-3220: Add test case
Added a test case that reproduces the crash which occurs when the history
replay fails.
2020-10-13 14:31:02 +03:00
ab4ac8e588 MXS-3200 Log mapping error as it will lead to session close 2020-10-12 08:31:36 +03:00
147ed8ef22 MXS-3200 Ensure that passed in p to buffer remains valid
The pointer to pointer to GWBUF must in all cases be updated.
Otherwise it will lead to
1) access to free data, and
2) a double delete.
2020-10-12 08:31:36 +03:00
95792c8185 Merge branch '2.3' into 2.4 2020-10-08 15:25:49 +03:00
8a5fd27327 Add the force flag for the mdbci destroy command (#211) 2020-10-08 15:25:21 +03:00
3230d88d4c MXS-3198 Update MariaDB Monitor documentation on 10.5 privileges
In the end, only minor changes as SUPER covers most of the
requirements.
2020-10-06 14:20:23 +03:00
e15b276273 Merge branch '2.3' into 2.4 2020-10-06 10:55:33 +03:00
f922ddcc1c MXS-3207: Document dbfwfilter user addresses
The fact that "partial" wildcards aren't supported wasn't clearly
documented.
2020-10-05 10:27:16 +03:00
c25099da01 Improve SSL error message
Log the type of the DCB to help figure out where the error came from.
2020-09-22 16:42:16 +03:00
0be629e5c5 Merge branch '2.3' into 2.4 2020-09-15 18:02:24 +03:00
6129f588a1 Don't parse COM_STMT_EXECUTE packets
The function information is only available for COM_QUERY packets.
2020-09-15 17:55:56 +03:00
89e206e888 Merge branch '2.3' into 2.4 2020-09-14 10:38:11 +03:00
5fccce5bb4 MXS-3177 Fix download link 2020-09-14 08:24:07 +03:00
91770bf77c Merge branch '2.3' into 2.4 2020-09-09 11:26:14 +03:00