14752 Commits

Author SHA1 Message Date
Johan Wikman
459884fc96 2.4.13 Add release notes and update change log 2020-10-14 09:15:46 +03:00
Markus Mäkelä
933ce0c86a
MXS-3220: Fix crash on failed master history replay
This could happen if a session command triggers a master reconnection and
the connection fails while the history replay is ongoing. The code assumed
that history replay would only happen when a query was in the query queue.
2020-10-13 14:31:49 +03:00
Markus Mäkelä
96840a18be
MXS-3220: Add test case
Added a test case that reproduces the crash which occurs when the history
replay fails.
2020-10-13 14:31:02 +03:00
Johan Wikman
ab4ac8e588 MXS-3200 Log mapping error as it will lead to session close 2020-10-12 08:31:36 +03:00
Johan Wikman
147ed8ef22 MXS-3200 Ensure that passed in p to buffer remains valid
The pointer to pointer to GWBUF must in all cases be updated.
Otherwise it will lead to
1) access to free data, and
2) a double delete.
2020-10-12 08:31:36 +03:00
Timofey Turenko
95792c8185 Merge branch '2.3' into 2.4 2020-10-08 15:25:49 +03:00
DmitriyKarpovskiy1
8a5fd27327
Add the force flag for the mdbci destroy command (#211) 2020-10-08 15:25:21 +03:00
Esa Korhonen
3230d88d4c MXS-3198 Update MariaDB Monitor documentation on 10.5 privileges
In the end, only minor changes as SUPER covers most of the
requirements.
2020-10-06 14:20:23 +03:00
Markus Mäkelä
e15b276273
Merge branch '2.3' into 2.4 2020-10-06 10:55:33 +03:00
Markus Mäkelä
f922ddcc1c
MXS-3207: Document dbfwfilter user addresses
The fact that "partial" wildcards aren't supported wasn't clearly
documented.
2020-10-05 10:27:16 +03:00
Markus Mäkelä
c25099da01
Improve SSL error message
Log the type of the DCB to help figure out where the error came from.
2020-09-22 16:42:16 +03:00
Markus Mäkelä
0be629e5c5
Merge branch '2.3' into 2.4 2020-09-15 18:02:24 +03:00
Markus Mäkelä
6129f588a1
Don't parse COM_STMT_EXECUTE packets
The function information is only available for COM_QUERY packets.
2020-09-15 17:55:56 +03:00
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