14852 Commits

Author SHA1 Message Date
Esa Korhonen
4dd057d99d MXS-3158 Add test case
Test that monitor does not alter event charset or collation.
2020-12-14 14:06:43 +02:00
Esa Korhonen
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
Markus Mäkelä
ce85a7292f
Merge branch '2.3' into 2.4 2020-12-14 12:08:52 +02:00
Markus Mäkelä
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
Markus Mäkelä
27a43fdf9d
Merge branch '2.3' into 2.4 2020-12-11 16:38:43 +02:00
Markus Mäkelä
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
Markus Mäkelä
e17e0b8f59
Add support for newer ASAN 2020-12-11 16:34:08 +02:00
Markus Mäkelä
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
Markus Mäkelä
4a2831e731
Clarify transaction_replay documentation
The parameter controls three other parameters and overrides their
configured values.
2020-12-09 12:24:27 +02:00
Johan Wikman
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
Johan Wikman
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
Timofey Turenko
8787b5dc81 Merge branch '2.3' into 2.4 2020-12-07 22:16:47 +02:00
Timofey Turenko
f9be1d9cb4 test_bad_config() return 1 when ssh result is 256 2020-12-07 22:15:09 +02:00
Timofey Turenko
65261c8eeb Merge branch '2.3' of github.com:mariadb-corporation/MaxScale into 2.3 2020-12-07 22:12:12 +02:00
Timofey Turenko
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
Timofey Turenko
7a26207564 Fix typo 2020-12-07 13:46:18 +02:00
Timofey Turenko
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
Markus Mäkelä
1d600a4f10
Merge branch '2.3' into 2.4 2020-12-01 10:11:56 +02:00
Markus Mäkelä
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
Markus Mäkelä
b953e0c395
Merge branch '2.3' into 2.4 2020-12-01 06:36:34 +02:00
Markus Mäkelä
0e69cd6e4a
Add link to common monitor parameters
There was no link to the common monitor parameters in the main
configuration document.
2020-12-01 06:32:22 +02:00
Timofey Turenko
5c34c0f202 use stop/start_node() to restart server 2020-11-30 16:23:49 +02:00
Timofey Turenko
46c3755678 add server restart to prepare_servers() 2020-11-30 16:17:33 +02:00
Markus Mäkelä
080232e7ef
MXS-3245: Document REST API responses 2020-11-30 11:27:48 +02:00
Johan Wikman
9be78df776 MXS-3306 Make binary_ps test work with more servers than 4
When doing the match, the test only checked slaves 1 - 3. If the
test is run after a heavy test there will also be slaves 4 - 14.
2020-11-30 07:59:54 +02:00
Johan Wikman
c4baf14952 Add note on this being the last RHEL6 release 2020-11-26 15:21:02 +02:00
Timofey Turenko
c72895bea3 Merge branch '2.4' of github.com:mariadb-corporation/MaxScale into 2.4 2020-11-26 11:11:18 +02:00
Johan Wikman
fb1ba80b2c Merge branch '2.4.14' into 2.4 2020-11-25 16:56:19 +02:00
Johan Wikman
728d69b401 2.4.14 Update release date 2020-11-25 16:48:33 +02:00
Timofey Turenko
47f5f2f0cc Set Xpand version to 'latest' in system-test
Now MDBCI is able to find latest version of XPand automatically
2020-11-25 16:19:50 +02:00
Johan Wikman
27528628e2 Merge branch '2.4.14' into 2.4 2020-11-24 13:56:38 +02:00
Esa Korhonen
885077b4d0 Avoid using test.repl->N in MariaDBMonitor tests
The value may not match the nodes used by the test.
2020-11-24 12:31:15 +02:00
Markus Mäkelä
abd1efefc6
Group Galera tests correctly
Grouping tests that require Galera backend together delays the creation of
those backends until they are needed.
2020-11-24 11:16:45 +02:00
Markus Mäkelä
3003ad6385
Remove Python tests
The tests are not very good and require custom Python modules to be
installed. In addition, they were written for Python2 which is no longer
available on all modern systems.
2020-11-24 11:16:27 +02:00
Markus Mäkelä
454e9aca14
Stop timeout before finishing test
This helps distinguish actual timeouts that happen during the test and
timeouts that happen during the test shutdown.
2020-11-24 11:16:27 +02:00
Johan Wikman
36f2af810a 2.4.14 Fix xpand_basics
The test assumed a certain node would always be present. Now the
test figures out what id to use.

Also fix broken clustrix -> xpand renaming.
2020-11-23 13:16:02 +02:00
Markus Mäkelä
6c160a3529
Log query classification info for session_trace
This fixes the bug where the detailed query classification info was only
logged when LOG_INFO was globally enabled.
2020-11-23 13:13:19 +02:00
Markus Mäkelä
0fe6f70458
Merge branch '2.4.14' into 2.4 2020-11-23 12:48:24 +02:00
Markus Mäkelä
26c7aa4c34
Fix xpand_transaction_replay configuration
The test expected rollbacks to be automatically replayed without it being
configured.
2020-11-23 11:55:01 +02:00
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
Timofey Turenko
f2f2e66da3 Merge branch '2.3' into 2.4 2020-11-19 09:42:36 +02:00
Timofey Turenko
41caccbf4b Separate MariaDB installation and Galera configuration
MDBCI now supports separate Galera server .cnf configuring.
Changing MDBCI config template in order to use this MDBCI
capability. It allows to use any MariaDB product in the
backend (Community or Enterprise, production, staging or CI)
2020-11-18 19:12:24 +02:00
Timofey Turenko
32b1ca147e Merge branch '2.3' into 2.4 2020-11-18 15:36:13 +02:00
DmitriyKarpovskiy1
4300f1d80e
Add a check for the existence of the LastTestsFailed.log file to rest… (#213)
Remove rerun failed tests
2020-11-18 15:35:42 +02:00
Timofey Turenko
ed3e1ac2ec use MDBCI to install Kerberos 2020-11-18 15:33:57 +02:00
Johan Wikman
5fc73646a4 MXS-3301 Rename clustrix -> xpand everywhere 2020-11-18 10:02:02 +02:00