29b6e53eb8
MXS-2218 Replace mq housekeeper task with delayed call
2019-01-08 16:01:36 +02:00
e179395819
MXS-2218 Replace housekeeper task with delayed call
2019-01-08 16:01:36 +02:00
c27a24ab37
MXS-2218 If startup fails, main worker must also be shutdown
2019-01-08 16:01:36 +02:00
6ba2cb61df
MXS-2218 Implement housekeeper in terms of MainWorker
2019-01-08 16:01:36 +02:00
026bf747e6
MXS-2218 Add functionality for mxs_clock
2019-01-08 16:01:36 +02:00
2d2f62ed6f
MXS-2218 Add showing and to_json functionality
2019-01-08 16:01:36 +02:00
d50ae1fb8a
MXS-2218 Treat all routing workers the same way
...
All routing workers are now started an stopped the same way.
2019-01-08 16:01:36 +02:00
35dfa05767
MXS-2218 Run MainWorker in main thread
...
The previous main routing worker is now run in a separate thread.
Next step is to treat all routing workers in an identical fashion.
MainWorker is not yet used for anything, but in a subsequent change
the old housekeeper functionality will be moved in top of MainWorker.
2019-01-08 16:01:36 +02:00
92306c565b
MXS-2218 Add housekeeper functionality to MainWorker
...
In preparation for moving the housekeeper functionality on top
of MainWorker.
2019-01-08 16:01:36 +02:00
c5a4f2abdd
MXS-2218 Add simple housekeeper test
...
So that the new worker based housekeeper can be tested.
2019-01-08 16:01:36 +02:00
10216524ab
MXS-2218 Add skeleton MainWorker
...
First step in the introduction of a MainWorker. When finished, all
routing workers will run in separate threads (currently one runs in
the main thread), and the main worker run in the main thread.
Housekeeper will disappear and to the extent housekeeping tasks are
needed (where applicable they will be changed into delayed calls)
they will be run by the main worker.
2019-01-08 16:01:36 +02:00
dec9fcc3b8
Update release notes
2019-01-08 16:00:02 +02:00
35942cfb4f
MXS-2242 Add change that fixes the problem
...
A whole slew of missing builtin functions were added, not just the
ones directly relevant for MXS-2242.
2019-01-08 16:00:02 +02:00
2c6e45a770
MXS-2242 Add test that reveals problem
2019-01-08 16:00:02 +02:00
16d7efe4ec
try to Fix MXS-2206 ( #185 )
...
* try to Fix MXS-2206
* use sort -v
* return empty line
2019-01-08 16:00:02 +02:00
7a7545f8f7
Merge branch '2.2' into 2.3
2019-01-08 15:59:03 +02:00
9cba1bdc37
Update release notes
2019-01-08 15:58:20 +02:00
2895f361d9
MXS-2242 Add change that fixes the problem
...
A whole slew of missing builtin functions were added, not just the
ones directly relevant for MXS-2242.
2019-01-08 15:55:41 +02:00
f94ddadc18
MXS-2242 Add test that reveals problem
2019-01-08 15:55:41 +02:00
8ab5d79025
Merge branch '2.2' into 2.2.19
2019-01-08 15:55:21 +02:00
1c647f3753
MXS-2220 Move most remaining functions inside class
...
Most of the ones still remaining outside are special cases.
Also, removed locking from status manipulation functions as it
has not been required for quite some time.
2019-01-08 15:15:34 +02:00
d5c78eb31f
MXS-2220 Move more server functions inside class
2019-01-08 15:12:47 +02:00
8b53e30678
MXS-2220 Move server status functions inside class
2019-01-08 15:12:47 +02:00
49c1afcb1b
Merge branch '2.3' into develop
2019-01-08 13:17:27 +02:00
d569cff98f
try to Fix MXS-2206 ( #185 )
...
* try to Fix MXS-2206
* use sort -v
* return empty line
2019-01-08 11:58:35 +02:00
63358fb4c1
Add correct operator to comparison
...
The clause had a bitwise AND. The end result is likely the same.
2019-01-08 10:18:15 +02:00
93aff0640c
MXS-2220 Cleanup server header
...
Moved items around in preparation for more changes.
2019-01-07 16:10:15 +02:00
03adee2030
MXS-2220 Run uncrustify on server headers
2019-01-07 16:10:15 +02:00
b16ee3a94e
MXS-2220 Move server_is_active inside the class
2019-01-07 16:10:15 +02:00
764d9a4e75
MXS-2220 Move monitor user and password fields to internal class
...
Also changed the lengths of the buffers.
2019-01-07 16:10:15 +02:00
ade66816f1
Fix invalid read
...
A returned object will be destructed at the next sequence point.
2019-01-07 16:04:47 +02:00
f8545a0b7f
MXS-2219 Address review comments
2019-01-07 12:59:57 +02:00
4512295e40
MXS-2219 Implement rudimentary Clustrix monitoring
...
The monitor now pings the health check ports of the Clustrix nodes.
A response translates to RUNNING and a non-response to DOWN.
2019-01-07 12:59:27 +02:00
839b9b781d
MXS-2219 Differentiate between READY and ERROR with http::Async
...
An async http operation that has not been initiated is READY,
while an operation that cannot be initated is ERRORed.
2019-01-07 12:59:27 +02:00
64cf3327cc
MXS-2219 Add documentation for the Clustrix Monitor
2019-01-07 12:59:27 +02:00
9dce8c0c56
MXS-2163 Modify Clustrix auth query slightly
...
- Format specifyer was missing
- Now root shows up properly
2019-01-07 12:57:13 +02:00
5f83b07fc2
MXS-2241: Detect invalid readwritesplit configuration
...
master_reconnection and disable_sescmd_history are, in practice, mutually
exclusive settings.
2019-01-07 11:06:24 +02:00
f0f9c21d1c
Merge branch '2.3' into develop
2019-01-07 10:54:42 +02:00
0859f3caff
Merge branch '2.2' into 2.3
2019-01-07 10:33:34 +02:00
2172c4ca85
MXS-2048: Fix dbfwfilter module command documentation
...
Fixed the command names.
2019-01-06 13:17:32 +02:00
bc346422fb
Add minimal CDC client
...
Added a minimal CDC client application that uses the CDC connector
library. This is mainly intended for manual testing so it is built using
the accompanying Makefile instead of being a part of the CMake system.
2019-01-06 13:05:42 +02:00
46bea87ff6
MXS-2238: Fix reading of large Avro schemas
...
The schemas were read incorrectly which resulted in large schemas having
multiple newlines in them.
2019-01-06 13:05:42 +02:00
7b6ae4bc13
Add 2.2.19 release notes
...
Generated 2.2.9 release notes and added them to the changelog.
2019-01-06 13:05:42 +02:00
a4540b5cee
Add note about weightby deprecation
...
The documentation now states that the parameter was deprecated.
2019-01-06 13:01:37 +02:00
8c437c6440
Fix crash in galeramon
...
An std::string was assigned a null value which will cause a crash.
2019-01-04 12:00:48 +02:00
2fde4ba1b3
Fix MXS_ABORT_IF_FALSE macro
...
The macro needs parentheses around the expression, otherwise the negation
is applied in the wrong place.
2019-01-04 11:26:09 +02:00
cf9ac9004e
Fix compilation error
...
A variable had the same name as a type, which confused some compilers.
2019-01-04 10:40:11 +02:00
fe4c848079
Use direct access into strings while canonicalizing
...
The process of appending to a std::string always includes a size check in
case the internal storage needs to expand. Given that we know a
canonicalized version of a query string is never larger than the original
string and that we pre-allocate enough memory to cope with the worst-case
scenario, the extra logic in std::string::push_back is unnecessary and an
extra cost. Writing directly into the string avoids this cost and improves
the performance.
2019-01-03 21:37:11 +02:00
ad5b244313
Optimize canonicalization code
...
Switched from default character type functions to ones that use lookup
tables. Eliminated the internal state and replaced with in-place iteration
of the query. Added code to allow single-lookup detection of normal
characters.
2019-01-03 21:37:11 +02:00
c8d4052aec
Improve release note generation script
...
The script can now be run from outside of the directory it is contained
in.
2019-01-03 13:34:10 +02:00