14183 Commits

Author SHA1 Message Date
Markus Mäkelä
521c75505b
Properly detect SSL initialization failures
The return value was not checked in the function that created it.
2019-11-29 16:31:07 +02:00
Markus Mäkelä
ab8393939b
MXS-2773: Make host blocking an optional feature
In cases where servers are known to be down on startup, this feature does
more harm than good. Disabling it in these cases would be preferable but
due to how the parameter is used, it is not possible.
2019-11-29 16:31:07 +02:00
Markus Mäkelä
09e6d9eeae
Fix max_auth_errors_until_block formatting
The heading was one level too deep.
2019-11-29 16:31:07 +02:00
Johan Wikman
d45ea8d489 Merge branch '2.3' into 2.4 2019-11-29 13:59:16 +02:00
Johan Wikman
d41975dde8 MXS-2782 Return nullptr if non-existing worker is asked for
Earlier assert in debug mode and garbage in release mode.
2019-11-28 14:33:00 +02:00
Markus Mäkelä
19db46b1d3
Merge branch '2.3' into 2.4 2019-11-28 13:25:45 +02:00
Markus Mäkelä
5743f4eaa1
MXS-2777: Create drop-in systemd directory
The directory for user-configurable drop-in systemd files is now created
on installation.
2019-11-28 08:34:57 +02:00
Markus Mäkelä
c5ce940b12
Merge branch '2.3' into 2.4 2019-11-28 08:05:44 +02:00
Markus Mäkelä
774e9bc3f0
MXS-2762: Add ssl_version=TLSv13
Added new ssl_version value for TLSv1.3. This allows the list of accepted
protocol versions to be limited to all supported protocols. Previously
TLSv1.3 was only available with ssl_version=MAX.

Also fixed the enum value serialization to use a lowercase v. This causes
them to have the same value as the one used in the enum.
2019-11-28 07:48:01 +02:00
Markus Mäkelä
f7f865d4c3
MXS-2763: Log correct error for unsupported TLS versions
Previously when ssl_version was used with a value that is not supported on
the system, an unknown parameter error was returned. This could be
confusing and logging a proper error message should make it clear.
2019-11-28 07:48:01 +02:00
Esa Korhonen
218354081c Merge branch '2.3' into 2.4 2019-11-22 12:53:39 +02:00
Esa Korhonen
53ee7072ee MXS-2775 Document semisync limitations with failover
The previous content was a bit too positive about semisync replication
ensuring a clean failover.
2019-11-22 12:52:36 +02:00
Johan Wikman
c36fc6cb83 Merge branch '2.3' into 2.4 2019-11-20 09:25:29 +02:00
Andrey Vasilyev
cc52be8df2 Explicitly state the owner, group and access parameters to the MariaDB configuration file during the server reset 2019-11-20 09:20:13 +02:00
Timofey Turenko
c813ff836e Merge branch '2.4' of github.com:mariadb-corporation/MaxScale into 2.4 2019-11-19 22:37:11 +02:00
Esa Korhonen
7295643f7d Merge branch '2.3' into 2.4 2019-11-19 17:04:38 +02:00
Timofey Turenko
5e4d556c85 Remove spaces from value which were read from *_network_config
MDBCI can put spaces around values in the *_network_config file which
can cause ssh connection failures in the tests. To fix it removing all
spaces from all values which were read from *_network_config
2019-11-19 11:52:33 +02:00
Esa Korhonen
ed3548b825 MXS-2770 Fix mxs2167_extra_port
1) Only two backends are set up for extra-port
2) The setting is checked to work by connecting directly to servers
3) The server connections are saturated before starting MaxScale
4) MaxScale logs are checked for extra-port-related messages
2019-11-18 13:31:29 +02:00
Johan Wikman
87aa3edb95 Merge branch '2.4.4' into 2.4 2019-11-14 10:15:39 +02:00
Johan Wikman
d691567c00 Update 2.4 maintenance version 2019-11-14 10:13:14 +02:00
Johan Wikman
ccd3ad502b Remove 2.3 release note 2019-11-14 09:54:15 +02:00
Johan Wikman
03b3870d80 Update 2.4.4 release date 2019-11-14 09:39:53 +02:00
Johan Wikman
231f68b6dc MXS-2727 Load storage from build-time location
Otherwise it might not be found.
2019-11-13 15:10:56 +02:00
Johan Wikman
0ec505b301 MXS-2727 Fix test-program 2019-11-13 13:06:07 +02:00
Johan Wikman
80ce599cf8 Remove cache_stress from the build 2019-11-13 08:37:17 +02:00
Johan Wikman
f6731a898d Update change date 2019-11-13 08:37:17 +02:00
Johan Wikman
a2508111a4 Create release notes for 2.4.4 and update change log 2019-11-13 08:37:17 +02:00
Johan Wikman
87ffceb3e5 Merge branch '2.3' into 2.4 2019-11-13 08:36:42 +02:00
Johan Wikman
c6364acaec Revert "Build and test in parallel"
This reverts commit 9e931918e2441b619281fd5e96979f35c8b402f9.
2019-11-13 08:33:09 +02:00
Johan Wikman
1c28eefbd0 MXS-2727 Add fix
If an existing cache-entry should be updated, but the new value
is larger that the maximum size of the cache, then the cache can
not be updated, but the old value must be removed.

Whether or not we succeed in removing the entry, an error result
must be returned. Earlier OK was returned, but no node was
allocated, which then caused a crash.
2019-11-12 15:27:31 +02:00
Johan Wikman
6a319dc655 MXS-2727 Add test that reveals problem 2019-11-12 15:20:32 +02:00
Johan Wikman
521960e6f9 MXS-2727 Add program for causing cache stress 2019-11-12 15:18:36 +02:00
Johan Wikman
e332625b8d MXS-2727 Allow assignment to config types
Allows for code like

    CacheConfig config("MXS-2727");
    config.storage = std::string("inmemory_storage");
    config.soft_ttl = std::chrono::seconds(1);
    config.hard_ttl = std::chrono::seconds(10);
    config.max_size = 10;
    config.thread_model = CACHE_THREAD_MODEL_MT;
    config.enabled = true;

to be used when you want to create a configuration manually and not
from a configuration file.
2019-11-12 11:18:18 +02:00
Johan Wikman
ff80f2b514 Merge branch '2.3' into 2.4 2019-11-12 09:19:43 +02:00
Johan Wikman
d282d7c93f Merge branch '2.3.14' into 2.3 2019-11-12 09:19:27 +02:00
Johan Wikman
133a947bb5 Update 2.3.14 release date 2019-11-12 09:10:21 +02:00
Johan Wikman
0a4caaf817 Merge branch '2.3' into 2.4 2019-11-12 08:50:17 +02:00
Johan Wikman
5a8564628f Merge branch '2.3.14' into 2.3 2019-11-12 08:41:58 +02:00
Johan Wikman
d37b79d835 Update 2.3 maintenance number 2019-11-12 08:36:44 +02:00
Johan Wikman
27417b5328 Add 2.3.14 release notes and update change log 2019-11-11 09:11:51 +02:00
Markus Mäkelä
9e931918e2
Build and test in parallel
This speeds up builds when more CPUs are available. Also removed redundant
docker installation: mdbci already installs it.
2019-11-11 09:10:42 +02:00
Markus Mäkelä
3f05059afa
Merge branch '2.3' into 2.4 2019-11-11 09:09:10 +02:00
Markus Mäkelä
638d1bf354
MXS-2760: Fix ssl_version conversion
The value is now correctly converted to the enum values.
2019-11-11 09:05:46 +02:00
Johan Wikman
d67442356e Merge branch '2.3' into 2.4 2019-11-08 14:13:06 +02:00
Johan Wikman
71e1f81adc .gitignore: Add more stuff to ignore 2019-11-08 14:07:47 +02:00
Markus Mäkelä
5c4ac03c07
Log a message in readconnroute's handleError
This way there's trace that something unexpected happened and that the
session closed unexpectedly.
2019-11-08 13:44:21 +02:00
Markus Mäkelä
0a897aa839
Fix ccrfilter_global
Made sure that the inserted row is replicated before inserting another
one. Shortened the test so that slower systems finish it within a
reasonable time. Increased the time that the writes are routed to the
master.
2019-11-08 07:39:20 +02:00
Johan Wikman
aafea9b030 Merge branch '2.4.3' into 2.4 2019-11-06 08:28:28 +02:00
Johan Wikman
27516b41af Update 2.4.3 release date 2019-11-06 08:24:46 +02:00
Johan Wikman
1ad57890a6 Merge branch '2.4.3' into 2.4 2019-11-05 12:37:13 +02:00