13725 Commits

Author SHA1 Message Date
Markus Mäkelä
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
Markus Mäkelä
01822490ca
Fix avrorouter and cluster usage
The servers defined by `cluster` wouldn't get used.
2019-06-26 10:17:21 +03:00
Johan Wikman
59e7b2b09d Deprecate mqfilter 2019-06-26 10:08:15 +03:00
Markus Mäkelä
d41d4021a8
Merge branch '2.3' into 2.4.0 2019-06-26 09:20:35 +03:00
Markus Mäkelä
67d82146f1
Fix packet length assertion
The `used_len + len` can be the same as `total_len`.
2019-06-26 09:19:24 +03:00
Markus Mäkelä
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
Markus Mäkelä
fbd0e84637
Update 2.4.0 release notes
Added short summaries of relevant changes.
2019-06-25 15:16:54 +03:00
Johan Wikman
0435da90fb Remove 2.3 release notes from 2.4.0 branch 2019-06-25 11:47:36 +03:00
Johan Wikman
f961bf1d96 Merge branch '2.3' into 2.4.0 2019-06-25 11:46:44 +03:00
Johan Wikman
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
Johan Wikman
82a5d915a8 Update 2.4 Change Log and 2.4.0 Release notes 2019-06-25 11:34:34 +03:00
Johan Wikman
b8bb8702bd Fix broken Change Dates
Were not correct, so were not updated with all others.
2019-06-25 09:52:42 +03:00
Johan Wikman
698dd8a0f2 Add additional scripts for checking the Change Date 2019-06-25 09:38:28 +03:00
Johan Wikman
17643e842e Add script for checking Change Date
Check that if a file has a Change Date entry that the date is the
expected one.
2019-06-25 09:23:29 +03:00
Johan Wikman
2ab9aa9a94 Update 2.4.0 Change Date 2019-06-25 09:19:55 +03:00
Johan Wikman
34ea0676f4 Add additional change date updating script
The new one is explicitly aware of which directories are relevant.
2019-06-25 09:16:17 +03:00
Markus Mäkelä
873ea92915
Assert that packet is inside the buffer
The buffer containing the response should contain only complete packets.
2019-06-25 09:05:49 +03:00
Johan Wikman
c1ba5c127b Update 2.4 license 2019-06-25 08:22:31 +03:00
Markus Mäkelä
77671a2393
Also preload mariadbbackendauth
The backend protocols require it.
2019-06-24 22:46:27 +03:00
Markus Mäkelä
c1c376b7ac
MXS-2575: Fix REST-API error propagation
The errors are now correctly sent even with requests that upload data.
2019-06-24 15:15:47 +03:00
Markus Mäkelä
2f56264715
Preload mariadbbackend for unit tests
This should fix the failure of test_config2 and make server allocation
work.
2019-06-24 15:15:47 +03:00
Markus Mäkelä
a51e094cd5
Merge branch '2.2' into 2.3 2019-06-24 15:07:18 +03:00
Niclas Antti
3cb05813a0 MXS-2555 Add SmartRouter documentation 2019-06-24 14:54:06 +03:00
Markus Mäkelä
7fb268f1a7
MXS-2575: Fix REST-API error propagation
The errors are now correctly sent even with requests that upload data.
2019-06-24 14:37:40 +03:00
Markus Mäkelä
f4e04f5c42
Merge branch '2.3' into 2.4 2019-06-24 13:10:20 +03:00
Markus Mäkelä
7117ab4719
MXS-2574: Prevent alterations to current user
Due to the fact that the alteration is emulated by deletion and creation
of the user in question, the current user cannot be altered.
2019-06-24 13:06:40 +03:00
Markus Mäkelä
8b34b9bcc8
Add admin user changes to 2.4 upgrade document
The admin users should be upgraded to use a better password hashing
algorithm.
2019-06-24 13:06:27 +03:00
Esa Korhonen
a595b1b292 Merge branch '2.3' into 2.4 2019-06-24 12:52:34 +03:00
Esa Korhonen
9d06ff8402 Cleanup basic tutorials
Rephrased some of the text. Moved some parts to the general tutorial to avoid
repeating it in the two specialized tutorials.
2019-06-24 12:41:10 +03:00
Markus Mäkelä
5f3ff7d1be
MXS-2521: Add test case
The test case doesn't reproduce the problem due to MDEV-19811 getting in
the way but it is likely to reproduce it once that bug has been avoided.
2019-06-24 12:33:49 +03:00
Markus Mäkelä
f9eef8f44c
Fix configuration guide documentation
Fixed limitations section, the heading depths and the document name,
corrected localhost_match_wildcard_host, added deprecation notes where
required.
2019-06-24 12:32:58 +03:00
Markus Mäkelä
e5e2b91c32
Merge branch '2.3' into 2.4 2019-06-24 12:27:31 +03:00
Markus Mäkelä
aa75c75fdb
Add readwritesplit info to 2.4 upgrading document
Added relevant changes that need to be taken into account when upgrading
to 2.4 from an older version.
2019-06-24 12:27:06 +03:00
Markus Mäkelä
736a59dde8
Add unique config for kill_query
This way the info log is always on.
2019-06-24 12:27:06 +03:00
Markus Mäkelä
75147f58fb
Make queries unique in bug547
By having unique queries, we know which connection failed.
2019-06-24 12:27:06 +03:00
Esa Korhonen
24b575bb93 Print error if child process cannot access monitor script file 2019-06-24 12:22:25 +03:00
Markus Mäkelä
dbc321cbbe
Merge branch '2.2' into 2.3 2019-06-24 12:20:19 +03:00
Markus Mäkelä
1cb13582ff
Fix worker state debug assertion
Stopped workers will receive messages.
2019-06-24 11:03:50 +03:00
Johan Wikman
824a80e084 Update dbfwfilter and masking documentation 2019-06-24 10:37:15 +03:00
Johan Wikman
9f771ffc2b Revert "MXS-2513 Deprecate firewall and masking filters"
This reverts commit de3c5721e95d5d5be909a56faeb121ad09a2f6fe.
2019-06-24 10:21:01 +03:00
Markus Mäkelä
278c26cd54
Fix build failure
mxs::rtrim was renamed to mxb::rtrim.
2019-06-20 23:17:41 +03:00
Markus Mäkelä
0b67ce1e82
Merge branch '2.3' into develop 2019-06-20 14:36:48 +03:00
Markus Mäkelä
be429c2c57
MXS-2490: Always restore original statement ID
By always restoring the ID, we are guaranteed to only store the query in
the form that it was originally sent in. This should be changed so that
the ID that the client sends can be used as-is in the backends.
2019-06-20 14:27:04 +03:00
Markus Mäkelä
805be70a78
Add more information to rwsplit info messages
The statement ID for all binary protocol statements and the error given to
handleError are now logged.
2019-06-20 14:27:03 +03:00
Markus Mäkelä
20f595d978
Merge branch '2.3' into develop 2019-06-20 13:00:13 +03:00
Markus Mäkelä
301b1b63ab
MXS-2569: Always terminate schemas with newlines
If the stored file didn't have a newline in the schema, the schema and the
first row would be on the same line.
2019-06-20 12:32:30 +03:00
Markus Mäkelä
7673ee685d
Distinguish stopped and finished workers
By having a separate FINISHED state and a STOPPED state, it is possible to
know at which point in the worker's lifetime an event is done. Posting of
messages before a worker is started is allowed but posting them after the
worker has stopped is not.

This fixes avrorouter related failures and all other failures that stem
from worker messages being ignored at startup.
2019-06-20 12:32:30 +03:00
Markus Mäkelä
dd944c7302
MXS-2568: Always enable LOCAL INFILE for testing
The automatic detection of LOCAL INFILE added in connector-c 3.0.9
requires that the option is enabled explicitly.
2019-06-20 12:32:30 +03:00
Johan Wikman
1fbb57f9b2 Check if socket server is MaxScale service
We need to handle the case that a MaxScale service is used as a
server over Unix domain sockets.
2019-06-20 11:05:00 +03:00
Markus Mäkelä
03a7850de4
Fix mxb::to_binary_size
The function now handles negative and zero values.
2019-06-20 09:49:19 +03:00