f2da434b56
Fix merge problem with dbfwfilter
...
Code was duplicated in the merge and the old function names were used.
2017-02-01 09:58:38 +02:00
712b720ef7
Use correct define names
...
The old name for MXS_STRERROR_BUFLEN was used in avrorouter.
2017-02-01 09:55:32 +02:00
e64a641bcd
Merge branch '2.0' into develop
2017-02-01 09:35:13 +02:00
2b950e60fd
Monitor connect error is now logged
...
Monitor connect error is now logged
2017-01-31 15:42:05 +01:00
a8780b8924
Add PS limitation of schemarouter to limitations
...
As prepared satements aren't parsed by the schemarouter, it can't support
prepared statements.
2017-01-31 13:48:51 +02:00
00f16e1fa5
Make parameters for command_is_mandatory const
...
The parameters can be const as they aren't modified.
2017-01-31 10:16:33 +02:00
82105d20e1
Fix a typo in readwritesplit documentation
...
Fixed a typo in readwritesplit documentation. The cluster should be in
plural form.
2017-01-31 10:10:25 +02:00
49bb63810e
Cache: Add limitation
2017-01-31 08:30:11 +02:00
b23649409f
Add comment to GSSAPI insert string
...
The comment explain why the last two values have no quotes.
2017-01-30 22:41:37 +02:00
6cd16d26b8
Flush the producer after every new record
...
As the cdc_kafka_producer script is an example, it should flush the
producer after every new record. This should make it easier to see that
events from MaxScale are sent to Kafka.
2017-01-30 20:14:27 +02:00
4bbd513b1e
Update release notes
...
Added dbfwfilter changes and fixed bugs to release notes.
2017-01-30 19:26:18 +02:00
443af1aee3
Use preliminary 2.3.3 release of Connector/C
...
The new version has fixed a bug which MaxScale depends on.
2017-01-30 19:20:46 +02:00
fdee329198
MXS-1111: Allow COM_PING and other commands to pass the firewall
...
The firewall filter should allow COM_PING and other similar commands to
pass through as they are mainly used to check the status of the backend
server or to display statistics. The COM_PROCESS_KILL is the exception as
it affects the state of the backend server. This is better controlled with
permissions in the server than in the firewall filter.
Commands that require special grants aren't allowed to pass as they are
mainly for maintenance purposes and these should not be done through the
firewall.
2017-01-30 19:16:33 +02:00
122027e4a3
Fix binlogrouter test
...
The test used the wrong working directory. blr_slave.c didn't check the
input for NULL values.
2017-01-30 16:46:24 +02:00
03067b586c
Cache: Install storage implementations as well
...
As the cache is marked as being core, the storage modules needs
to be marked as core as well.
2017-01-30 14:23:54 +02:00
4e50f3e0cd
Fix MXS_MODULE_PARAM_SIZE handling
2017-01-30 14:23:54 +02:00
d5b96ec2b6
Updated Documentation/About
...
Mostly rewording and some reformatting.
2017-01-30 10:51:53 +02:00
7dc5698c90
Rename domain to module
...
The module commands now use the module name as the replacement for
domain. The domain itself wasn't any better when compared to the module
name.
2017-01-28 10:09:34 +02:00
5972d87fba
Add missing principal name verification to GSSAPIAuth
...
The authenticator module did not compare the username with the principal
name that was given by the GSSAPI server.
2017-01-28 10:09:34 +02:00
b5fba7c2d0
Fix typo in MaxAdmin.md
...
Fixed a typo in MaxAdmin.md.
2017-01-28 10:09:34 +02:00
88c62358fb
Mention module commands in maxadmin document
...
The document explains how the module commands are used and gives an
example how they could be used.
Also fixed a few references to the old command names.
2017-01-28 10:09:34 +02:00
70ab537288
Add new filters to release notes
...
The release notes now mention all of the new filters.
2017-01-28 10:09:34 +02:00
3f4e7c44d9
Update release notes
...
Added more info about dynamic configuration.
Listed more modules that implement module commands.
2017-01-28 10:09:34 +02:00
22698fdf21
MXS-951: Backport fix to 2.0
...
Backported the fix for 2.0.4.
2017-01-27 16:17:39 +02:00
e8c53e8aa5
Fix authenticator path in testbinlog.c
...
Added missing subdirectories in library path
2017-01-27 15:12:06 +01:00
1f9b18e3bc
Split secrets.h to public and core + miscellaneous cleanup
...
Also, changed some function names to this_style from thisStyle. More of
this in later commits.
2017-01-27 15:33:52 +02:00
6cc205dafa
Remove redefinition of QUEUE_CONFIG
...
Causes compile to fail on Centos 7.
2017-01-27 15:22:54 +02:00
3689d95c34
Fix masking documentation
2017-01-27 13:36:17 +02:00
78545b2c5c
Read complete lines with Kafka producer
...
There's no need to process the JSON twice as the Kafka producer is
expected to be used with the Python CDC client which already splits the
JSON with newlines.
2017-01-27 13:06:25 +02:00
81b9d51aab
Fix crash on startup
...
The Avro file was initialized in the wrong order and uninitialized values
were used.
2017-01-27 12:55:07 +02:00
50cffed5b2
Add readwritesplit options to diagnostic output
...
This helps detect the state of the loaded configuration.
2017-01-27 12:19:27 +02:00
6f24502e14
Fix extra space in list services
output
...
The output is now consistent.
2017-01-27 12:19:27 +02:00
4adc9d705b
Build Jansson if library not found
...
If the Jansson JSON library is not found on the system, it is built from
source.
2017-01-27 12:19:27 +02:00
89f456840c
Add monitor
parameter to services
...
Services now accept a monitor as a source for servers. This removes the
need to redundantly list the same servers parameters in multiple places.
2017-01-27 12:19:27 +02:00
8a1a4c91e4
Enable disable_sescmd_history
by default
...
The combination of the default values of `disable_sescmd_history=false`
and `max_slave_connections=100%` does not make sense as it is not possible
to find a replacement slave in case an active one fails.
2017-01-27 12:19:27 +02:00
3b716bc707
Split queuemanager.h to public and core headers
...
Almost everything was moved to core.
2017-01-26 17:05:17 +02:00
8da655b7cb
Improve maxavro failure handling and error messages
...
When the creation of the Avro schema would fail for a file that is being
opened, the errors wouldn't be handled properly. Also free all allocated
memory on failure.
All errors that set errno are now properly logged with the error number
and message.
2017-01-26 16:16:41 +02:00
8b83bf834e
Clean up router.h
...
Nothing moved to core, just rename and cleanup.
2017-01-26 16:14:17 +02:00
74225daf46
Remove memlog and rdtsc
...
Neither of these were actively used, so they and any associated tests
were removed.
2017-01-26 13:16:51 +02:00
8d07604436
Split maxscale.h to public and private parts
...
This header defines some general functions and maxscale main() return
values. Most of it is still public, but there were some functions
which were moved to a core header.
2017-01-26 11:17:25 +02:00
5630afebff
Fix typo in COM_SET_OPTION comment
...
The comment had the option meanings reversed.
2017-01-26 10:55:32 +02:00
84040be182
Add missing error handling to Avro file handling
...
Some of the JSON errors weren't handled which could cause problems when a
malformed schema definition is read.
Also added more error messages for situations when opening of the files
fails.
2017-01-26 10:23:26 +02:00
1a5f79de22
MYSQL_COM_SET_OPTION added to STRPACKETTYPE
...
MYSQL_COM_SET_OPTION is detected and displayed in log messages
2017-01-26 09:02:53 +01:00
4b7f282f14
Handle COM_SET_OPTION in client protocol
...
The client protocol capability bytes are now updated when a COM_SET_OPTION
is executed.
2017-01-26 09:57:29 +02:00
3378edc4d3
Route COM_SET_OPTION to all servers
...
This fixes problems with multi-statement execution which is only enabled
when the corresponding option is present.
2017-01-26 09:57:29 +02:00
aa8851fbe1
Remove listmanager
...
The file wasn't used, so any traces of listmanager.h or .c have been
erased.
2017-01-25 16:11:12 +02:00
7d51864402
Clean config.h some more
...
Moved some typedefs to router.h and server.h, changed a few
constants to these enums. Renamed some types in config.h to
remove "Gateway".
There are still some functions in the public header which are
only used in core, but they seem to fit the theme of public functions
so were not moved.
2017-01-25 16:05:51 +02:00
b923589222
Fix relaxed multi-statement mode
...
The relaxed mode for multi-statements wasn't working as it required the
configuration to be enabled.
2017-01-25 15:39:10 +02:00
c2b03100f0
Update changelog and release notes of 2.0.4
2017-01-25 15:30:57 +02:00
a1f54366c0
Fix compilation error
...
Fix compilation error
2017-01-25 14:27:21 +01:00