14712 Commits

Author SHA1 Message Date
Johan Wikman
7756d7c257 2.4.12 Add release notes and update change log 2020-08-24 10:02:50 +03:00
Johan Wikman
babcda3eca 2.4.12 Update Change Date 2020-08-24 09:42:48 +03:00
Esa Korhonen
35b619a9ba Merge branch '2.3' into 2.4 2020-08-21 17:58:04 +03:00
Esa Korhonen
eb46d755f4 MXS-3101 Remove unused routers from system test 2020-08-21 17:37:07 +03:00
Markus Mäkelä
df87df3a0d
Reduce slow DCB shutdown timeout to 2 seconds
This helps reduce the effect that a hanging connection has on the whole
system.

Making this configurable shouldn't be needed as long as the rate of
authentication failures doesn't exceed an acceptable level. In most
practical cases allowing two seconds for authentication to complete should
be enough.
2020-08-21 14:38:37 +03:00
Markus Mäkelä
c5b47389df
MXS-3106: Always write the final COM_QUIT
This seems to help with a regression that was introduced in 2.4.11.
2020-08-21 14:38:37 +03:00
Markus Mäkelä
b90d42b999
Merge branch '2.3' into 2.4 2020-08-21 10:27:43 +03:00
Markus Mäkelä
e105f06ea3
Log latest session command on unexpected result 2020-08-21 09:50:29 +03:00
Esa Korhonen
759c63c8bb Merge branch '2.3' into 2.4 2020-08-20 17:44:09 +03:00
Esa Korhonen
87540f0ea0 MXS-3101 Improve proxy protocol header generation
Client connection file descriptor no longer read. The header now
contains the server's address instead of MaxScale's address.
2020-08-20 15:03:19 +03:00
Johan Wikman
c0cd751215 Merge branch '2.3' into 2.4 2020-08-20 14:29:16 +03:00
Johan Wikman
606ae6d2b0 MXS-3121 Log stmt being classified in fatal signal handler
This will make it easier to fix classifier related crashes.
2020-08-20 13:32:24 +03:00
Johan Wikman
c5870cbaba MXS-3121 Expose statement currently being classified
Intended to be used from fatal signal handlers. As the statement will
be returned only while classification is in process, if a statement
is returned, it is an indication that the crash was caused by the
classification.
2020-08-20 13:27:55 +03:00
Johan Wikman
02b0a4c52c Merge branch '2.3' into 2.4 2020-08-19 16:37:52 +03:00
Johan Wikman
bf6ff8a578 MXS-3120 Check whether sqlite SrcList is NULL
According to bug-report it seems that a SrcList can be NULL. This
fixes the immediate problem, but it would be good to know in what
contexts the SrcList can be NULL so that the check could be made
before calling the function instead of checking (possibly
unnecessarily at times) in the function.
2020-08-19 16:37:24 +03:00
Markus Mäkelä
f3d4c27e58
Merge branch '2.3' into 2.4 2020-08-19 12:20:49 +03:00
Markus Mäkelä
b5fa26e8a6
MXS-3113: Log a message when log rotation is complete
This helps detect that writes to the new log file are working.
2020-08-19 12:15:25 +03:00
Markus Mäkelä
7b7cded1cc
MXS-3115: Don't process files in hidden directories
Hidden directories should be treated the same was as hidden files.
2020-08-19 12:15:25 +03:00
Timofey Turenko
797ddc77e0 Merge branch '2.3' into 2.4 2020-08-19 12:00:06 +03:00
Timofey Turenko
e624cf4ecb revert to original package names with dashes 2020-08-19 11:49:54 +03:00
Timofey Turenko
e387220e25 Add distro code name into debian/control version
'reprepro' tool needs different values in the
debina/control file, version field in order to
make one single repository for all distributions
2020-08-19 01:35:10 +03:00
Markus Mäkelä
c0ea4cae54
Merge branch '2.3' into 2.4 2020-08-17 17:30:55 +03:00
Markus Mäkelä
9318319b96
Fix build failure with GCC 10.2
GCC is smart enough to detect that the address of a local variable is
returned. Since this appears to be code used for a debug assertion, we can
just return a null pointer.
2020-08-17 13:23:33 +03:00
Esa Korhonen
eaac7881f0 Merge branch '2.3' into 2.4 2020-08-14 15:12:48 +03:00
Esa Korhonen
b31cb20bae MXS-2900 Add parameter checking to tprintf-function 2020-08-13 22:43:03 +03:00
Niclas Antti
1bcc73666a Fix some incorrect links in documentation 2020-08-12 11:24:23 +03:00
Niclas Antti
49ea5da9e2 MXS-3100 Fix memory leak in top-filter 2020-08-10 15:36:19 +03:00
Johan Wikman
63e4a63b62 MXS-3101 Log actual error for getpeername/getsockname 2020-08-07 12:47:15 +03:00
Timofey Turenko
5abdb91e9d Fix openjdk installation check in install_test_build_deps.sh 2020-08-04 12:01:27 +03:00
Timofey Turenko
d44f20323a Fix merge conflicts in install_test_build_deps.sh 2020-08-04 11:59:09 +03:00
Timofey Turenko
796fdf4e16 Remane apt_opt to apt_cmd and use it also in install_build_depend.sh 2020-07-29 14:51:32 +03:00
Timofey Turenko
4a53db9483 Fix apt comman line in install_test_build_deps.sh 2020-07-29 14:08:14 +03:00
Timofey Turenko
a83c1f3ab4 Add gnutls-dev to tests build dependecy 2020-07-29 13:35:12 +03:00
Esa Korhonen
19dc1fd6e3 Merge branch '2.3' into 2.4 2020-07-28 16:15:50 +03:00
Esa Korhonen
08f5174915 MXS-2900 Rename maxscale-system-test directory to system-test
A link with the old directory name is provided.
2020-07-28 15:24:27 +03:00
Esa Korhonen
810dec9115 Merge branch '2.3' into 2.4 2020-07-27 20:00:31 +03:00
Esa Korhonen
a253ec8117 MXS-2900 Rename more system tests 2020-07-27 18:49:36 +03:00
Niclas Antti
ce05b68030 Merge branch '2.3' into 2.4 2020-07-27 14:55:58 +03:00
Niclas Antti
ffb237628c fix GCC 10 warnings 2020-07-27 10:42:38 +03:00
Timofey Turenko
62082c2a12 Merge branch '2.3' into 2.4 2020-07-24 16:00:20 +03:00
Timofey Turenko
fa40845e0c Use VM to run tests
In order to avoid host overloading, execution of tests moved also to VM.
VM uses MDBCI wrapper which sends all commands to the host
2020-07-24 14:39:35 +03:00
Markus Mäkelä
82b4315fa6
Merge branch '2.3' into 2.4 2020-07-24 14:25:29 +03:00
Markus Mäkelä
429d44e2d6
Add <stdexcept> to http.hh
Fixes a compile error with GCC 10.1.
2020-07-24 14:24:13 +03:00
Markus Mäkelä
39aa129fc5
Fix narrowing conversion warnings on GCC 10.1
Using an unsigned value in a switch with signed case values produced the
error.
2020-07-24 14:23:14 +03:00
Esa Korhonen
d8eac10cb5 Merge branch '2.3' into 2.4 2020-07-24 14:05:41 +03:00
Esa Korhonen
f1a6bc37c3 MXS-2900 Rename system tests
Some of the tests have rather non-descriptive names.
2020-07-24 13:42:28 +03:00
Markus Mäkelä
5c76d3d906
Merge branch '2.3' into 2.4 2020-07-24 08:01:53 +03:00
Markus Mäkelä
aaec73a8c8
MXS-3089: Close backend on failed session command
This correctly triggers the session command response processing to accept
results from other servers than the current master backend if the session
can continue. If the session cannot continue, it will be stopped
immediately.
2020-07-23 09:26:53 +03:00
Markus Mäkelä
cf1d1178d7
MXS-3087: Fix diagnostic memory leaks
Fixed leak in load_utils.cc and the cache filter. Also changed all
instances of json_object_set with json_object_set_new to make sure it's
only used when the references are to be stolen.
2020-07-22 13:27:36 +03:00
Timofey Turenko
d99d2f21a6 Add libcurl4-gnutls-dev to test build dependecy list 2020-07-17 11:32:39 +03:00