Commit Graph

14933 Commits

Author SHA1 Message Date
4ce0f26167 Declare TARBALL as an option
The variable was implicitly used which made it hard to detect.
2021-01-19 14:32:12 +02:00
dd340f9ec8 MXS-3346: Fix --basedir write permission checks
The connector plugindir required write access when it doesn't need it.
2021-01-19 14:32:11 +02:00
027c220c6e Add missing colors dependency
MaxCtrl seems to have relied on an implicit dependency which, for whatever
reason, broke only recently. Since we require() it, we should declare it
as a dependency.
2021-01-19 10:06:27 +02:00
da0543edc2 Update MaxCtrl dependencies
Ran `npm audit fix` which fixed a lodash vulnerability.
2021-01-19 10:06:26 +02:00
c5bcf7a8b1 2.4.15 Update change date 2021-01-18 15:30:30 +02:00
17e147dae3 2.4.15 Add release notes and update change log 2021-01-18 15:15:49 +02:00
26d2c2387f Fix monitor connection error messages
The connection is closed by the ping_or_connect_to_db function which
causes the information about why the connection failed to be lost.
2021-01-18 12:02:40 +02:00
780c08c90f Merge branch '2.3' into 2.4 2021-01-14 14:29:17 +02:00
182de7c7b8 Remove maxscale-system-test link
Hopefully any scripts and code using the link have been updated.
2021-01-08 17:37:14 +02:00
79e7636b66 MXS-3360: Use correct field 2021-01-07 15:24:30 +02:00
9500665e89 Merge branch '2.3' into 2.4 2020-12-28 16:01:17 +02:00
be997b56c6 Fix system-test MDBCI template 2020-12-28 16:00:42 +02:00
36a655a819 Merge branch '2.3' into 2.4 2020-12-28 13:53:15 +02:00
e9a6871fae Fix processing of force_*_version in mdbci/set_run_test_variables.sh 2020-12-28 13:52:51 +02:00
9388f9bfca fix conflicts 2020-12-28 13:16:47 +02:00
c03e557a31 add force_version parameters to the MDBCI template 2020-12-25 13:42:16 +02:00
6ed1173cd6 add force_version parameters to the MDBCI template 2020-12-25 13:31:10 +02:00
7c68c396a2 system-test works with production version of Maxscale
Every change to MariaDB Enterprise should be tested with Maxscale.
Maxscale should be stable - installed from production repository.
New enviromental variable 'maxscale_product' is introduced.
It can be 'maxscale' or 'maxscale_ci' (default is 'maxscale_ci')
2020-12-23 04:06:35 +02:00
22698ed6fb fix maxscale_product env variable 2020-12-23 02:33:19 +02:00
be7b04f963 Find MDBCI executable file 2020-12-23 00:02:32 +02:00
601eadac8b Fix default.json template 2020-12-21 13:41:09 +02:00
5ef953fb4a add comment 2020-12-21 11:50:45 +02:00
02deb5bb52 Merge branch '2.3' into 2.4 2020-12-18 11:48:38 +02:00
36b97ea198 MXS-3324 Test switchover with autocommit off 2020-12-17 13:37:30 +02:00
7e6eb55618 MXS-3324 Enable autocommit when using Connector-C
May solve some monitor issues on servers with default autocommit
set to off.
2020-12-17 13:37:30 +02:00
22a112e137 Remove redundant ExecStartPost command
The LimitCORE command already sets the process core size limit so the
post-start command appears to be useless. In addition, it appears to fail
from time to time due to pidof failing to return the process ID of
MaxScale right as it starts. This in turn results in an unexplainable
failure to start with no messages logged anywhere with the exception of
the following from systemctl:

[vagrant@maxscale build]$ sudo systemctl status maxscale
● maxscale.service - MariaDB MaxScale Database Proxy
   Loaded: loaded (/usr/lib/systemd/system/maxscale.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2020-12-16 21:16:55 CET; 26s ago
  Process: 304024 ExecStartPost=/bin/sh -c prlimit -p $(pidof maxscale) --core=unlimited (code=exited, status=1/FAILURE)
  Process: 304003 ExecStart=/usr/bin/maxscale (code=exited, status=0/SUCCESS)
  Process: 304001 ExecStartPre=/usr/bin/install -d /var/lib/maxscale -o maxscale -g maxscale (code=exited, status=0/SUCCESS)
  Process: 303999 ExecStartPre=/usr/bin/install -d /var/run/maxscale -o maxscale -g maxscale (code=exited, status=0/SUCCESS)
 Main PID: 304004 (code=exited, status=0/SUCCESS)
2020-12-16 22:35:38 +02:00
7771f67a5f Merge branch '2.3' into 2.4 2020-12-16 15:17:02 +02:00
85ea8174c4 Add a link to upgrading document to release notes 2020-12-16 15:16:28 +02:00
f496ab07eb Merge branch '2.3' into 2.4 2020-12-16 10:06:38 +02:00
2b8d5076e2 MXS-3318 Fix problem
When the tokenizer encounters a keyword, it sniffs whether the
last non-whitespace character before it happens to be a '.' and
if it is, the keyword is assumed to be the second part of a
qualified name.

Thus, before this commit

    -- blah.
    UPDATE ...

would not be parsed as KEYWORD (UPDATE) followed by stuff, but as
an ID (blah.UPDATE) followed by stuff.

With this change, newlines are no longer counted as whitespace.
2020-12-15 17:02:34 +02:00
9481abb42d MXS-3318 Translate newlines in stmts given to compare
A \n encounted in a string given to the query classifier test
program compare, is not converted into a newline. Makes it easier
to debug problems related to newlines.
2020-12-15 17:02:34 +02:00
4dd057d99d MXS-3158 Add test case
Test that monitor does not alter event charset or collation.
2020-12-14 14:06:43 +02:00
0c904eae5e MXS-3158 Preserve character set and collation when altering events
During switchover/failover, server events are altered. The ALTER
EVENT command automatically modifies the event charset and collation
to the values of the connetion running the query. This may cause
the event to become invalid.

Fixed this by changing connection charset and collation to the ones
in the event description just before altering it.
2020-12-14 14:06:43 +02:00
ce85a7292f Merge branch '2.3' into 2.4 2020-12-14 12:08:52 +02:00
d869dd358e MXS-3337: Select lowercase variable names
The current code assumes that the variable names are in lowercase. This
fixes the galera monitoring that was broken by commit
43068d20b43a34d5f3b4b4db0fcce701b3cd7cad. In addition, lowercase names
also helps when comparisons are done with std::string.
2020-12-11 18:37:05 +02:00
27a43fdf9d Merge branch '2.3' into 2.4 2020-12-11 16:38:43 +02:00
e3aff8babe MXS-3314: Document causal_reads limitations
Also documented the fact that CCRFilter doesn't support prepared
statements.
2020-12-11 16:34:08 +02:00
e17e0b8f59 Add support for newer ASAN 2020-12-11 16:34:08 +02:00
43068d20b4 MXS-3337: Fix galeramon query
The query now properly queries over both the status and the variables.
2020-12-10 11:56:07 +02:00
4a2831e731 Clarify transaction_replay documentation
The parameter controls three other parameters and overrides their
configured values.
2020-12-09 12:24:27 +02:00
072661e26b MXS-3326 Fix hostname validation
A hyphen '-' is a valid character in a domain name, as long as it
is not the first character and does not appear two in a row.
2020-12-08 15:30:47 +02:00
d20ea5265f MXS-3326 Add test that reveals problem
A hyphen '-' is a valid character in a domain name, as long as it
is not the first character and does not appear two in a row.
2020-12-08 15:26:41 +02:00
8787b5dc81 Merge branch '2.3' into 2.4 2020-12-07 22:16:47 +02:00
f9be1d9cb4 test_bad_config() return 1 when ssh result is 256 2020-12-07 22:15:09 +02:00
65261c8eeb Merge branch '2.3' of github.com:mariadb-corporation/MaxScale into 2.3 2020-12-07 22:12:12 +02:00
f0ac65ffb5 Fails system-test if they are not executed properly
In case of VM creation problem or test code build problem
run_test.sh and run_test_vm.sh exit with 1 to show the problem
in the BuildBot
2020-12-07 22:10:17 +02:00
7a26207564 Fix typo 2020-12-07 13:46:18 +02:00
347468e87d config_test should fail also if VM is broken
config_test expects Maxscale start failure, but ssh to
Maxscale node also fails if VM is broken.
Test should fail in case of VM problem to prevent
Maxscale problem hiding.
2020-12-07 13:24:41 +02:00
1d600a4f10 Merge branch '2.3' into 2.4 2020-12-01 10:11:56 +02:00
74a2ae727e Fix REST API startup error
The error generated by the library seems to use the port argument even if
a sockaddr argument is given.
2020-12-01 09:58:58 +02:00