4603 Commits

Author SHA1 Message Date
MassimilianoPinto
05fb07f996 Removed extra brace
Removed extra brace
2015-12-28 18:00:55 +01:00
MassimilianoPinto
4f8340f5b2 Changed behaviour for a slave requesting master_log_pos beyond binlog file size
Slave request for a log_pos behind binlog file size may result in a
disconnection or replication error:

if binlog file is latest one slave get disconnected otherwise an error
message is returned and replication stops
2015-12-28 18:00:52 +01:00
Markus Makela
aff3f66fa6 Fixed compilation error for slavelag.c
There was an extra parenthesis left when skygw_log_write was changed to
MXS_ERROR which caused the compilation to fail.
2015-12-23 06:45:28 +02:00
Markus Makela
3358475345 Fixed systemctl commands being called even if it wasn't available
On systems where the systemd directories exist but not the systemctl command,
installation of MaxScale would cause systemctl to be called. This would print
an error when the package is being installed.
2015-12-14 18:17:02 +02:00
Johan Wikman
acf80832ce Merge branch 'release-1.3.0' into develop
To get all fixes made to release-1.3.0 also into develop.
2015-12-14 14:09:51 +02:00
Johan Wikman
24abdb36b4 Update MAXSCALE_VERSION 2015-12-11 11:27:18 +02:00
Johan Wikman
0450c89ba3 Merge branch 'doc_fixes' into release-1.3.0
Update documentation.
2015-12-11 11:09:53 +02:00
Markus Makela
6953617183 Added a note about launchable script changes to the release notes. 2015-12-11 10:06:52 +02:00
Markus Makela
dc64b12077 Fixed PCRE2 libraries missing symbolic link to library
The libpcre2-8.so was not a symbolic link but an actual library.
2015-12-11 06:43:16 +02:00
Markus Makela
5266f1f125 Updated postrm script
Pre-1.2.0 configuration scripts are no longer copied and renamed.
Init scripts, ldconfig files and systemd service files are only removed if
they are found.
2015-12-11 06:22:07 +02:00
Markus Makela
f0c66232b5 Fixed typo in postinstall script
A typo caused the script to malfunction.
2015-12-11 06:13:21 +02:00
Markus Makela
3139be8e5a Fixed SHOW SLAVE STATUS showing obsolete slaves
If SHOW SLAVE STATUS was executed after DISCONNECT ALL it was possible that
some of the disconnected slaves were used when printing slave hosts.
2015-12-10 15:50:20 +02:00
Markus Makela
000a044da6 Slaves are set to unregistered state once disconnected
It was possible that the same slave was disconnected multiple times
before the slave DCB was closed.
2015-12-10 15:50:20 +02:00
Markus Makela
9a3aae64ce Replaced explicit closeSession calls with dcb_close
The closeSession entry point shouldn't be called directly and dcb_close
should be used instead.
2015-12-10 15:50:20 +02:00
Johan Wikman
49cf4089fc Make state-change logging conditional. 2015-12-10 15:50:20 +02:00
Johan Wikman
f49bd06a7e Reduce logging of binlog server
Only the true state changes of a slave - up-to-date -> catch-up
or catch-up to up-to-date - are logged.
2015-12-10 15:50:20 +02:00
MassimilianoPinto
43c5a495a2 Removed useless spaces
Removed useless spaces
2015-12-10 15:50:20 +02:00
MassimilianoPinto
3f31f5548d Addition of slave transition to catchup mode in logging
Addition of slave transition to catchup mode in logging
2015-12-10 15:50:20 +02:00
Markus Makela
21ef9afc36 Removed duplicate sections 2015-12-10 14:34:09 +02:00
Markus Makela
09ae26d7c9 Moved common monitor options to Monitor-Common.md 2015-12-10 14:32:10 +02:00
Markus Makela
b4a64ad5c4 Updated documentation contents. 2015-12-10 14:27:28 +02:00
Johan Wikman
16c541ce31 Update 1.3 release notes. 2015-12-10 14:13:40 +02:00
Johan Wikman
1d9e8c7ae4 Update 1.3 release notes. 2015-12-10 14:10:54 +02:00
Johan Wikman
53b376e4ce Update 1.3 release notes. 2015-12-10 13:58:03 +02:00
Markus Makela
943bcf1fe9 Fixed postinstall script
The postinstall script tried to create a group for the maxscale even if the
useradd command had created one. This fix removes the warning messages by
creating the group while the user is being created.

If the systemd folder wasn't located at /usr/lib/systemd/ but at /lib/systemd/
the postinstall script would not copy the file.

Also added error messages if some of the files could not be located.
2015-12-10 13:19:14 +02:00
Johan Wikman
2835fd4171 Update link to release notes. 2015-12-10 10:58:32 +02:00
Johan Wikman
aab4c896b7 Update bug list in release notes. 2015-12-10 10:56:28 +02:00
markus456
8ccb600b00 Merge pull request #101 from rsanting/develop
Fix to MXS-499: https://mariadb.atlassian.net/browse/MXS-499
2015-12-10 10:54:01 +02:00
Johan Wikman
2a4588ddc3 Update binlog router upgrade document. 2015-12-10 10:41:51 +02:00
markus456
0d760f7a30 Merge pull request #101 from rsanting/develop
Fix to MXS-499: https://mariadb.atlassian.net/browse/MXS-499
2015-12-10 10:37:21 +02:00
Johan Wikman
83daa24e56 Create skeleton upgrade document. 2015-12-10 10:02:34 +02:00
Johan Wikman
21446d0dcb Update ChangeLog 2015-12-10 10:02:16 +02:00
Markus Makela
992d6fb3bc Fix to MXS-501: Tee filter and USE ... no longer hangs
Some of the data was not reset for the branch session when a query
was not duplicated which could lead to a hang. Also the COM_FIELD_LIST
duplicated to the branch session even though it doesn't change the
session state.
2015-12-10 09:56:06 +02:00
Johan Wikman
5ebdd6f47d Fix signed/unsigned problem in tee.c 2015-12-10 08:41:20 +02:00
Markus Makela
1c57d3a4ce Fix to MXS-501: Tee filter and USE ... no longer hangs
Some of the data was not reset for the branch session when a query
was not duplicated which could lead to a hang. Also the COM_FIELD_LIST
duplicated to the branch session even though it doesn't change the
session state.
2015-12-10 08:05:48 +02:00
Markus Makela
2f4414ce1e Added link to Mqfilter + Tee tutorial
Added link to the tutorial in Documentation-Contents.md.
2015-12-09 21:29:42 +02:00
Markus Makela
053b5d0874 Added tutorial for Tee + Mqfilter
Relates to MXS-242: https://mariadb.atlassian.net/browse/MXS-242
2015-12-09 21:25:57 +02:00
Markus Makela
64fe629252 Fixed SHOW SLAVE STATUS showing obsolete slaves
If SHOW SLAVE STATUS was executed after DISCONNECT ALL it was possible that
some of the disconnected slaves were used when printing slave hosts.
2015-12-09 19:09:29 +02:00
Markus Makela
80df75757c Slaves are set to unregistered state once disconnected
It was possible that the same slave was disconnected multiple times
before the slave DCB was closed.
2015-12-09 19:09:29 +02:00
Markus Makela
257c6a3641 Replaced explicit closeSession calls with dcb_close
The closeSession entry point shouldn't be called directly and dcb_close
should be used instead.
2015-12-09 19:09:29 +02:00
Johan Wikman
c3ebc7c18e Add persistent connection information to release notes. 2015-12-09 14:42:26 +02:00
Johan Wikman
7795e57b18 Update Configuration-Guide.md 2015-12-09 14:07:26 +02:00
Johan Wikman
76bb91b25b Update Configuration-Guide.md 2015-12-09 13:52:42 +02:00
Markus Makela
a663a8ec5c Fix to MXS-500: Statement cloning is now properly handled
If a statement wasn't cloned for the Tee filter, the session would be closed
leading to a possible hang. Instead of closing the session when a statement
isn't cloned, it should not expect a response from that server for that statement.
2015-12-09 13:48:20 +02:00
Johan Wikman
1499bfd784 Merge branch '1.3.0-release-note' into doc_fixes 2015-12-09 13:12:47 +02:00
MassimilianoPinto
6bee0a0caf Documentation Update
Documentation Update
2015-12-09 11:43:58 +01:00
MassimilianoPinto
5f938bad29 Added Upgrade BinlogRouter
Added Upgrade BinlogRouter
2015-12-09 11:33:58 +01:00
Markus Makela
33a647344e Fix to MXS-500: Statement cloning is now properly handled
If a statement wasn't cloned for the Tee filter, the session would be closed
leading to a possible hang. Instead of closing the session when a statement
isn't cloned, it should not expect a response from that server for that statement.
2015-12-09 12:02:35 +02:00
Johan Wikman
cd1863cdbe Remove SETUP.md
Incorrect contents and information available elsewhere.
2015-12-09 10:47:13 +02:00
Johan Wikman
eb1e2663df Update About-MaxScale.md 2015-12-09 10:46:39 +02:00