14387 Commits

Author SHA1 Message Date
Markus Mäkelä
19030bed35
Merge branch '2.3' into 2.4 2020-02-19 19:25:40 +02:00
Markus Mäkelä
61050ed125
Fix Avro C API link
The old link is dead.
2020-02-19 19:24:39 +02:00
Markus Mäkelä
c1fc7bd742
Document avrorouter diagnostic output 2020-02-18 14:26:29 +02:00
Markus Mäkelä
be508fe5d9
MXS-2873: Document more router diagnostics
Documented readconnroute and schemarouter router diagnostics. The
duplicated fields that are already in the general service diagnostic
output are not documented with the hopes that they can be eventually
removed.
2020-02-18 09:45:02 +02:00
Markus Mäkelä
2bc2ab2196
MXS-2873: Document readwritesplit router diagnostics
The REST API output is now documented in the router documentation. The
same will be done for other routers as well.
2020-02-18 09:23:13 +02:00
Markus Mäkelä
cb96725a51
MXS-2382: Add TLS setup into server tutorial
Given the recent fixes to the TLS configuration, the process of enabling
TLS is rather simple.
2020-02-17 20:15:43 +02:00
Markus Mäkelä
405b10ad50
Fix server TLS regression
The code in 2.3 was changed to allow "empty" SSL definitions now that the
system CA is used. The code in 2.4 did not allow this which caused non-TLS
connections to be created when only ssl=true was defined.
2020-02-17 20:03:35 +02:00
Markus Mäkelä
5842242e94
Fix debug assert on SSL with system CA
The debug assertion was not updated in the merge.
2020-02-17 20:03:35 +02:00
Markus Mäkelä
912cb711e3
MXS-2844: Fix binlogrouter destruction
Binlogrouter services can now be destroyed at runtime.
2020-02-14 08:55:48 +02:00
Johan Wikman
a09f291249 Merge branch '2.4.7' into 2.4 2020-02-13 14:51:04 +02:00
Johan Wikman
ef659b94a6 Update 2.4.7 release date 2020-02-13 14:39:45 +02:00
Johan Wikman
72e18dccde Update 2.4 maintenance version 2020-02-12 15:30:38 +02:00
Johan Wikman
f576680ed9 Update 2.4.7 change date
Only the files that were not already updated as part of the
2.3.17 release.
2020-02-12 15:21:44 +02:00
Johan Wikman
5cd2254872 Create 2.4.7 release notes and update change log 2020-02-12 15:17:19 +02:00
Markus Mäkelä
fec1698db5
MXS-2889: Fix Replicator hang on shutdown
If a connection to the servers cannot be made, the replicator thread would
never exit.
2020-02-12 13:33:27 +02:00
Markus Mäkelä
3fc20d4345
MXS-2822: Use both last_write and last_read
The code relied on last_read for the idle time calculation which caused
the pings that were written to not reset the idle time. This increased the
chance of multiple COM_PING packets being sent to a backend before a reply
was received.
2020-02-12 13:33:27 +02:00
Johan Wikman
8b763fb88b Merge branch '2.3' into 2.4 2020-02-12 08:27:48 +02:00
Johan Wikman
919686f7ad Merge branch '2.3.17' into 2.3 2020-02-12 08:22:59 +02:00
Johan Wikman
81e2306811 Update 2.3.17 release date 2020-02-12 08:20:15 +02:00
Johan Wikman
853a83a794 Update 2.3 maintenance version 2020-02-12 08:17:55 +02:00
Markus Mäkelä
d63bd7ca80
Merge branch '2.3' into 2.4 2020-02-11 22:43:49 +02:00
Markus Mäkelä
fd875cbf6d
Remove faulty debug assertion
The use of the server state is not transactional across multiple uses of
the function. This means that any assertions on the target state can fail
if the monitor updates the state between target selection and the
assertion.
2020-02-11 22:34:39 +02:00
Markus Mäkelä
b549528d0f
MXS-2887: admin_auth can be modified at runtime
The parameter can be modified at runtime, as is evident from the unit
tests that test it, and should not be listed in the set of unmodifiable
parameters.
2020-02-11 09:13:57 +02:00
Markus Mäkelä
d700fc32ed
Merge branch '2.3' into 2.4 2020-02-10 15:58:01 +02:00
Markus Mäkelä
c18f9c6bd7
MXS-2883: Handle AuthSwitchRequest packets
The backend didn't expect AuthSwitchRequest packets in response to the
handshake response packets. This is allowed by the protocol and appears to
happen with at least MySQL 8.0.
2020-02-10 15:35:47 +02:00
Johan Wikman
b5dc260d1b Add 2.3.17 release notes and update change log 2020-02-10 15:34:26 +02:00
Johan Wikman
cfb3f79b54 Update 2.3.17 Change Date 2020-02-10 15:28:38 +02:00
Esa Korhonen
75ba527b1c Merge branch '2.3' into 2.4 2020-02-10 13:59:30 +02:00
Esa Korhonen
ef769573e4 MXS-2880 Fix typo in json output
"seconds_behing_master" -> "seconds_behind_master"
2020-02-10 12:59:30 +02:00
Markus Mäkelä
cb016fb90a
Merge branch '2.3' into 2.4 2020-02-10 10:47:47 +02:00
Markus Mäkelä
39cf6a8000
MXS-2860: Update last_read only on successful reads
This prevents empty or failed reads from updating the last_read flag which
in turn gives us the correct connection idle time when network errors
occur.
2020-02-10 10:46:32 +02:00
Markus Mäkelä
98e6bdcd90
MXS-2878: Enforce TLS for Connector-C connections
Connector-C connections now require TLS if the servers are configured with
it.
2020-02-10 10:46:32 +02:00
Markus Mäkelä
21989f7a16
MXS-2777: Fix installation directory
The drop-in directory must be created in /etc.
2020-02-10 10:46:31 +02:00
Markus Mäkelä
c0e20137ee
MXS-2871: Fix postrm script
The script used the wrong command to stop the service. Added the missing
disable that mirrors the enable in the postinst script.
2020-02-10 10:46:31 +02:00
Markus Mäkelä
0b21544693
Fix TSAN CMake option
The wrong variable was set.
2020-02-10 10:46:12 +02:00
Markus Mäkelä
791d2ade99
Log latest error on broken master connection
When the master goes down, log the latest error if one is present.
2020-02-10 10:46:11 +02:00
Markus Mäkelä
4a725da940
Merge branch '2.3' into 2.4 2020-01-31 12:27:50 +02:00
Markus Mäkelä
f6d848d58c
MXS-2859: Treat newlines in strings as errors
Allowing raw newlines in string values breaks configuration serialization.
2020-01-30 10:44:00 +02:00
Markus Mäkelä
043df59ffa
Merge branch '2.3' into 2.4 2020-01-29 14:38:29 +02:00
Markus Mäkelä
a311613935
MXS-2858: Fix backend side throttling
The code registered both client and backend callbacks for backend
DCBs. This caused the whole connection to hang if backend side throtting
was ever triggered.
2020-01-29 14:35:52 +02:00
Markus Mäkelä
f53faba795
MXS-2857: Disable peer verification by default
The fix to the bug where peer certificates were validated but not required
caused the default behavior to change. The default should've changed at
the same time the fix was made.
2020-01-29 14:35:03 +02:00
Markus Mäkelä
a3fd5a0218
MXS-2854: Repeat read on schema event
The read needs to be repeated if MaxScale sends a schema event.
2020-01-29 14:35:03 +02:00
Johan Wikman
08e572b139 Merge branch '2.3' into 2.4 2020-01-28 12:28:19 +02:00
Johan Wikman
ea2665214f MXS-2851 Fix bug 2020-01-28 12:10:24 +02:00
Johan Wikman
9262e14aed MXS-2851 Add test that reveals bug 2020-01-28 11:21:37 +02:00
Johan Wikman
399f312911 MXS-2850 Fix bug 2020-01-28 11:08:27 +02:00
Johan Wikman
36dee78cee MXS-2850 Add test that reveals bug 2020-01-28 11:02:19 +02:00
Markus Mäkelä
39da32dac7
Merge branch '2.3' into 2.4 2020-01-27 15:49:54 +02:00
Markus Mäkelä
41a07a4bd9
MXS-2801: Log INFO messages when session_trace is on
Since the session trace should contain all messages, the log priority
check should always return true when session_trace is on.
2020-01-27 15:39:39 +02:00
Timofey Turenko
ed6cc78ab3 Merge branch '2.3' of github.com:mariadb-corporation/MaxScale into 2.3 2020-01-24 13:50:09 +02:00