Commit Graph

13773 Commits

Author SHA1 Message Date
5dca53f877 Merge branch '2.4.0' into 2.4 2019-06-28 17:58:01 +03:00
eb73268cec Update maintenance version in 2.4 branch 2019-06-28 15:26:48 +03:00
60d2bfc538 Update REST-API documentation
The /users/inet endpoint now supports PATCH.
2019-06-28 13:54:12 +03:00
3939fdec5b make apt non-interactive in install_build_deps.sh
In Ubuntu Bionic there is need to update libssl which causes system services restart
and apt asks user to allow this restart. It cases build script to hang and build fails due to timeout.
Additional dpkg options and DEBIAN_FRONTEND=noninteractive solves the problem
2019-06-28 09:36:31 +03:00
8568822da2 Merge branch '2.3' into 2.4 2019-06-28 09:31:14 +03:00
e927366995 Merge branch '2.2' into 2.3 2019-06-28 09:27:56 +03:00
42c37585f4 Throttle query retry attempts
It was possible that a one-second outage that caused immediate rejection
of network connections would cause all of the query retry attempts to fail
within a very short period of time. By preventing rapid reconnections,
query_retries is more effective as an error filtering mechanism.
2019-06-28 09:27:20 +03:00
6cdc28856d Fix kill_query config
The config was missing the listener section.
2019-06-28 09:21:23 +03:00
b796351b2c make apt non-interactive in install_build_deps.sh
In Ubuntu Bionic there is need to update libssl which causes system services restart
and apt asks user to allow this restart. It cases build script to hang and build fails due to timeout.
Additional dpkg options and DEBIAN_FRONTEND=noninteractive solves the problem
2019-06-28 00:15:28 +03:00
3b39d42d3b Merge branch '2.3' into 2.4 2019-06-27 18:56:25 +03:00
166d26ff13 Avoid using SQLITE_OPEN_URI
Centos6 uses a very old version of SQLite without support for URI filenames.
PAM authenticator must use a file-based database.

Commit cherry-picked to 2.4.0 from 2.3.
2019-06-27 15:18:49 +03:00
d8790fa3e7 Merge branch '2.2' into 2.3 2019-06-27 14:20:42 +03:00
bb21bbfe2f Merge branch '2.3' into 2.4 2019-06-27 14:11:32 +03:00
7d3c25200e Merge branch '2.2' into 2.3 2019-06-27 14:10:48 +03:00
b4289224de Avoid using SQLITE_OPEN_URI
Centos6 uses a very old version of SQLite without support for URI filenames.
PAM authenticator must use a file-based database.
2019-06-27 13:59:05 +03:00
8a749dc627 MXS-2521: Fix build failure
The get_target_type signature for the definition was different from the
declaration.
2019-06-27 12:48:03 +03:00
7c2d5fd6a4 Add test for "enforce_simple_topology" 2019-06-27 11:45:50 +03:00
6509863373 Document "enforce_simple_topology"-setting 2019-06-27 11:44:41 +03:00
1d87b88c50 Avoid using sqlite3_errstr()
The function is not in old SQLite3-versions such as the one used by
Centos6.
2019-06-27 10:55:24 +03:00
9a2a5384d2 Remove plugins subdirectory from CMake 2019-06-27 10:51:21 +03:00
fcc19f3c66 Merge branch '2.3' into 2.4 2019-06-27 08:53:33 +03:00
5eba688c1b MXS-2521: Detect COM_STMT_EXECUTE without metadata
If a COM_STMT_EXECUTE has no metadata in it and it has more than one
parameter, it must be routed to the same backend where the previous
COM_STMT_EXECUTE with the same ID was routed to. This prevents MDEV-19811
that is triggered by MaxScale routing the queries to different backends.
2019-06-27 08:29:30 +03:00
a6617f52fc MXS-2578: Remove installation of /var/lib/maxscale
The directory was installed as the root user but later on in the
installation process the owner would be changed to the maxscale user. This
causes some validation programs to fail as they expect installed files to
retain the original ownership.
2019-06-27 08:25:12 +03:00
83e276ebd3 MXS-2521: Fix the test
Fixed the test to correctly set the parameters and also to first verify
that a direct connection works before doing the test via MaxScale.
2019-06-27 08:25:12 +03:00
2e843375bb Merge branch '2.2' into 2.3 2019-06-27 08:19:47 +03:00
5c762bb841 misc fix 2019-06-27 08:17:42 +03:00
51ce3c53fd shift 32 2019-06-27 08:17:42 +03:00
6b31b80e76 fix wrong assert 2019-06-27 08:17:42 +03:00
8d50450b5a MXS-2521:Route subseqenct COM_STMT_EXECUTE to the same server which first COM_STMT_EXECUTE was executed on 2019-06-27 08:17:42 +03:00
5e19c47099 Remove Nagios plugins
The plugins were outdated and written to produce non-standard output.
2019-06-27 00:20:41 +03:00
25a076d072 Fix buffer sizes in PS extraction code
The code used 4 byte buffers for 2 byte values.
2019-06-26 15:49:50 +03:00
991067372d Improve systemd check error message
The error now displays the correct package name for systems that use RPMs.
2019-06-26 15:49:50 +03:00
25c6713162 MXS-2577: Document avrorouter direct replication mode
A new section in the avrorouter documentation provides the necessary
information to configure the avrorouter for direct replication from a
server.
2019-06-26 10:21:26 +03:00
d45915c279 Treat empty avro filenames as an error
If an empty filename is requested, treat it as an error.
2019-06-26 10:17:21 +03:00
01822490ca Fix avrorouter and cluster usage
The servers defined by `cluster` wouldn't get used.
2019-06-26 10:17:21 +03:00
6cc0d43cb2 Merge branch '2.2' into 2.3 2019-06-26 10:10:26 +03:00
59e7b2b09d Deprecate mqfilter 2019-06-26 10:08:15 +03:00
c8145f94c9 Merge branch '2.4.0' into 2.4 2019-06-26 09:51:23 +03:00
d41d4021a8 Merge branch '2.3' into 2.4.0 2019-06-26 09:20:35 +03:00
67d82146f1 Fix packet length assertion
The `used_len + len` can be the same as `total_len`.
2019-06-26 09:19:24 +03:00
88dae197b0 Make packet boundary assertion less costly
mxs::Buffer::iterator is not a random-access iterator and hence will have
linear cost. This is too costly to do on every packet with even moderately
sized resultsets.
2019-06-26 09:13:03 +03:00
29cb034585 Merge branch '2.4.0' into 2.4 2019-06-26 08:57:25 +03:00
ae18e454cc Remove manual revision history from tests 2019-06-25 20:44:15 +03:00
d15582d26d Allow posting to stopped workers
Due to there being no distinction between a temporarily stopped worker and
a permanently stopped one, we must allow posting of messages to stopped
workers.
2019-06-25 17:32:24 +03:00
fbd0e84637 Update 2.4.0 release notes
Added short summaries of relevant changes.
2019-06-25 15:16:54 +03:00
28a2a726f8 Merge branch '2.4.0' into 2.4 2019-06-25 11:48:44 +03:00
0435da90fb Remove 2.3 release notes from 2.4.0 branch 2019-06-25 11:47:36 +03:00
f961bf1d96 Merge branch '2.3' into 2.4.0 2019-06-25 11:46:44 +03:00
d8cbdae83d Remove 2.2 release notes from 2.3 branch
By convention, we only retain the release notes for the current
branch.
2019-06-25 11:46:30 +03:00
1b5071260b Merge branch '2.4.0' into 2.4 2019-06-25 11:43:08 +03:00