14739 Commits

Author SHA1 Message Date
Johan Wikman
89e206e888 Merge branch '2.3' into 2.4 2020-09-14 10:38:11 +03:00
Johan Wikman
5fccce5bb4 MXS-3177 Fix download link 2020-09-14 08:24:07 +03:00
Johan Wikman
91770bf77c Merge branch '2.3' into 2.4 2020-09-09 11:26:14 +03:00
Johan Wikman
537a9b41fc MXS-3165 Fix cache documentation
The parameter is cache_in_transactions, not
cache_inside_transactions.
2020-09-09 11:01:52 +03:00
Timofey Turenko
9215185a25 Merge branch '2.3' into 2.4 2020-09-08 11:33:52 +03:00
Timofey Turenko
edb215619d Remove MAXSCALE_BUILD_NUMBER from debian version 2020-09-08 09:22:58 +03:00
Timofey Turenko
8b5f2fb46d Merge branch '2.3' into 2.4 2020-09-07 21:33:08 +03:00
Timofey Turenko
ea1d7ba33b Fix CPACK_DEBIAN_PACKAGE_RELEASE field 2020-09-07 15:48:11 +03:00
Timofey Turenko
caaf36a279 Add MAXSCALE_BUILD_NUMBER to the debian/control version 2020-09-07 14:47:54 +03:00
Esa Korhonen
9304230212 MXS-3149 Properly remove master-status from server during demotion
Removing it from the pending status field has not effect as the
pending changes have all ready been written to real status.
2020-09-02 15:13:23 +03:00
Esa Korhonen
c6c664b365 Merge branch '2.3' into 2.4 2020-09-01 10:45:14 +03:00
Esa Korhonen
b210dcc4b8 Cleanup install_build_deps script
No longer installs pcre2, which is built from source later on.
CMake is only installed if a recent version (3.16) is not found.
Jansson install cannot be removed yet as the Avro build requires
it.
2020-09-01 10:41:15 +03:00
Markus Mäkelä
7968f41482
Merge branch '2.3' into 2.4 2020-09-01 09:15:56 +03:00
Markus Mäkelä
c8983886f2
Use TLS with the Connection class
This fixes the problem where an encrypted connection would not be created
even though the option for it was there. Also made it configurable outside
of the constructor to make it easier to use in tests.
2020-08-31 10:15:48 +03:00
Markus Mäkelä
724074a178
Update REST API tutorial
The relationship deletion in it was not done correctly.
2020-08-29 13:20:20 +03:00
Markus Mäkelä
caedf79464
Merge branch '2.3' into 2.4 2020-08-28 14:24:16 +03:00
Markus Mäkelä
63a050bd7a
MXS-3051: Show connection TLS cipher
This tells the user whether a session is using TLS or not. Currently, only
the client TLS cipher is shown in MaxCtrl as the backend ciphers require
additional formatting.
2020-08-28 12:16:17 +03:00
Markus Mäkelä
ebdb9655e6
MXS-3143: Route FOUND_ROWS to last used target
This will cause the query to be routed to the same server where a possible
SQL_CALC_FOUND_ROWS was executed.
2020-08-28 11:49:07 +03:00
Markus Mäkelä
bce427f4ad
Merge branch '2.3' into 2.4 2020-08-27 15:21:36 +03:00
Markus Mäkelä
24d6a582c2
MXS-3123: Use maxctrl in Administration Tutorial
As maxadmin is deprecated, it is better to use maxctrl for all commands
and remove any references to maxadmin.
2020-08-27 14:47:27 +03:00
Markus Mäkelä
4dd760aa9a
MXS-3131: Display monitor module in show monitor 2020-08-27 14:47:27 +03:00
Markus Mäkelä
dbe94e2dbe
MXS-3132: Fix monitor timeouts default values
The values are now what the documentation states they are.
2020-08-27 14:47:27 +03:00
Johan Wikman
7b9f852b9c Merge branch '2.4.12' into 2.4 2020-08-25 13:52:41 +03:00
Johan Wikman
0612871681 2.4.12 Update release date 2020-08-25 12:24:04 +03:00
Johan Wikman
23e0df314f Fix bug471_big configuration
- No spaces in names.
- Consistently use ###server_line### for the list of servers
2020-08-25 11:56:19 +03:00
Johan Wikman
e4e3e69564 Merge branch '2.4.12' into 2.4 2020-08-24 10:28:58 +03:00
Johan Wikman
7110b49449 2.4 Update maintenance number 2020-08-24 10:20:15 +03:00
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