4776 Commits

Author SHA1 Message Date
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
Johan Wikman
de828ffc47 Update About-MaxScale.md 2015-12-09 10:42:27 +02:00
Markus Makela
6846c57c5b Updated limitations for galeramon
The server priority mechanics now allow finer control over master election.
2015-12-09 10:37:08 +02:00
Markus Makela
5baf3fc510 Fixed title in MaxScale-Tutorial.md
The title referred to Master-Slave clusters even though the tutorial also
covers Galera clusters.
2015-12-08 16:57:31 +02:00
Markus Makela
c163a69fc5 Removed redundant information from Galera tutorials.
The Galera tutorials were very similar to the MySQL Replication ones with the
only difference being the configuration file creation. The tutorials were split
into smaller parts which are now referred to in the main MaxScale tutorial.

Renamed MaxScale-and-Master-Slave-Replication.md to MaxScale-Tutorial.md since
the tutorial wasn't only about Master-Slave replication and included the links
to the Galera tutorials.
2015-12-08 16:54:29 +02:00
Johan Wikman
231a620dc0 Remove >= 0 check from unsigned type. 2015-12-08 14:37:21 +02:00
Johan Wikman
1deea7f929 Remove unnecessary comparison.
It makes no sense to compare an unsigned integer for non-negativeness;
it won't ever be. router_instance.lastEventReceived is uint8_t.
On centos5 this causes a warning that thus ends the compilation.
2015-12-08 13:28:11 +02:00
rsanting
f27b2f2bb0 Fix to MXS-499: https://mariadb.atlassian.net/browse/MXS-499 2015-12-08 10:40:27 +01:00
Johan Wikman
edb3f3efd5 Fix coverity report of config.c
If pointer uninitialized there can be free of unallocated memory.
2015-12-08 10:28:31 +02:00
Johan Wikman
e3e8a59555 Allow hangup event also when EPOLLRDHUP is not available.
When generating a fake hangup event, EPOLLRDHUP is used if available,
otherwise EPOLLHUP. process_pollq(int) does the same thing both in the
case of EPOLLRDHUP and EPOLLHUP, so it seems this should work.
2015-12-08 10:14:10 +02:00
Johan Wikman
a71cab166b Fix coverity report of gwbitmask.c
Buffer overrun. A byte is needed for the terminating null.
2015-12-08 09:33:04 +02:00
Johan Wikman
dbc321df9b Fix coverity report of externcmd.c
Buffer overwrite.
2015-12-08 09:32:10 +02:00
Johan Wikman
f92b439ff1 Fix coverity report of log_manager.cc
- Too small array.
- Missing lock release.
2015-12-08 09:29:55 +02:00
Markus Makela
89bdf179b7 Added newlines at the end of all files
Some files were missing newlines as the last character in the file, causing
errors to appear on some systems.
2015-12-08 09:23:55 +02:00
Markus Makela
2f840ea089 Added newlines at the end of all files
Some files were missing newlines as the last character in the file, causing
errors to appear on some systems.
2015-12-07 20:23:18 +02:00
Markus Makela
cc98fa6308 Fixed function prototype in maxadmin
The DoUsage function had a difference between the prototype and the real signature.
2015-12-07 17:54:53 +02:00
Markus Makela
689ef73705 Fixed function prototype in maxadmin
The DoUsage function had a difference between the prototype and the real signature.
2015-12-07 17:18:03 +02:00
Johan Wikman
9f13d49c4e Update binlog documentation.
Additional stylistic changes.
2015-12-07 16:02:36 +02:00
Johan Wikman
7a9be262af Update binlog documentation.
Minor stylistic changes.
2015-12-07 15:30:51 +02:00
Johan Wikman
4b625567d3 Ensure that calculated length is an integer. 2015-12-07 15:19:34 +02:00
Johan Wikman
a67a637b11 Ensure that calculated length is an integer. 2015-12-07 15:12:32 +02:00
Johan Wikman
f1add00ae4 Merge branch 'release-1.3.0' into doc_fixes 2015-12-07 14:41:30 +02:00
Johan Wikman
b8cbc4e3ae Fix set_user prototype. 2015-12-07 14:15:14 +02:00
Johan Wikman
6870d77acb Fix set_user prototype. 2015-12-07 14:14:42 +02:00
Johan Wikman
b5a873d411 Update logging documentation
Update documention according to new logging changes.
2015-12-07 13:40:54 +02:00
Markus Makela
e9fcb76b02 Added missing PCRR2 documentation to regexfilter.
The regexfilter was missing the documentation for the PCRE2 changes.
2015-12-06 11:00:04 +02:00
Markus Makela
14df148243 Added a section about PCRE2 integration
The integration of the PCRE2 library into the regexfilter caused the
substitution rules to change now that it actually works and this needed
to be mentioned in the release notes.

Also fixed some minor things like links.
2015-12-06 10:42:05 +02:00
Markus Makela
a04389fc3b Added missing comment to check_links.sh
There were no comments in the script and the purpose of it wasn't clear.
2015-12-04 20:50:56 +02:00