VilhoRaatikka
ee2876e9a4
Added parameter NULL checks to query_classifier.cc
2015-01-10 21:29:29 +02:00
Markus Makela
4c20ed4c11
Merge branch 'bug_685_fix' into develop
2015-01-09 19:43:49 +02:00
Markus Makela
759b0c2ccb
Fix to bug 685: http://bugs.mariadb.com/show_bug.cgi?id=685
...
Tee filter now supports longer packets and only sends the last GWBUF if both the parent and the child session have send all their bytes.
2015-01-09 19:38:50 +02:00
Timofey Turenko
8572a08cab
Merge branch 'master' into develop
2015-01-09 11:23:03 +02:00
Timofey Turenko
39c2c818e0
set version to 1.0.5-unstable
2015-01-09 10:51:22 +02:00
Timofey Turenko
4ee6251872
resolving conflicts
2015-01-09 10:34:56 +02:00
Markus Makela
8ce9cd1cbd
Fix to wrong version string being used in the macros.cmake .
2015-01-09 05:10:05 +02:00
Markus Makela
f90b8bdc88
Fixed hint filter tests failing because the testing configuration was not using all the available slaves for testing resulting in unexpected routing decisions.
2015-01-08 21:13:33 +02:00
Markus Makela
7987365bd4
Fix to tee filter tests failing due to the default user not being found in the etc/passwd file.
2015-01-08 20:21:56 +02:00
Timofey Turenko
c8fbe71527
change version number to 1.0.4-stable
2015-01-08 17:51:08 +02:00
Markus Makela
d5f47c250f
Added the missing LICENSE, COPYRIGHT, README and SETUP files.
2015-01-08 17:47:08 +02:00
Mark Riddoch
2ee6906ca3
Update to remove incorrect documentation and update release notes
2015-01-08 15:40:55 +00:00
Markus Makela
2a02b2deba
Fixed TestUsers failing due to only adding a single user.
2015-01-08 13:48:29 +02:00
Markus Makela
094dfbd4f7
Fixed tests not having environment variables set.
2015-01-08 13:18:14 +02:00
Markus Makela
c4006d43c2
Fix to Coverity defect 85262
2015-01-06 05:28:58 +02:00
Timofey Turenko
f3c62f4846
set version to 1.0.3
2015-01-06 01:22:23 +02:00
Mark Riddoch
59d7ed15ab
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2015-01-05 15:59:13 +00:00
Mark Riddoch
a09c58049c
Updated PDF documents with TOC as clickable links
2015-01-05 15:58:39 +00:00
Markus Makela
c5ef6153d5
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2015-01-05 17:42:37 +02:00
Markus Makela
cd99849581
Fix #2 to bug 680: http://bugs.mariadb.com/show_bug.cgi?id=680 "
...
When no users are loaded from backends, instead of counting it as a failure the service is started and the next time a client connects an attempt to load the users from the backends is made.
2015-01-05 17:38:45 +02:00
Mark Riddoch
1926336576
Updates to PDF copies of the documentation
2015-01-05 14:32:43 +00:00
Markus Makela
9717190b4a
Added calls to skygw_log_sync_all in the hint, server and user tests before each assertion that might fail.
2015-01-05 15:14:26 +02:00
Markus Makela
17307fcffe
Merge branch 'testing_header' into release-1.0GA
2015-01-05 15:12:55 +02:00
Markus Makela
2d8375bb12
Fix to bug 579: http://bugs.mariadb.com/show_bug.cgi?id=579
...
Added a header which contains the locations for the testing directory and its subfolders which enables
the test to write into the right logfiles. Also added a calls to skygw_log_sync_all before assertions
forcing all logs to be written to disk at the time the test might fail.
2015-01-05 15:06:38 +02:00
Markus Makela
b99467cd63
Merge branch 'release-1.0GA' into testing_header
2015-01-05 14:46:34 +02:00
Markus Makela
91a3109f4d
Fix to bug 638: http://bugs.mariadb.com/show_bug.cgi?id=638
...
readwritesplit.c:Added missing backend type when using max_slave_replication_lag hint.
2015-01-05 14:28:16 +02:00
Markus Makela
468ce72c18
Fix to bug 681: http://bugs.mariadb.com/show_bug.cgi?id=681
...
Added casts to floating point versions of values when doing divisions.
2015-01-05 13:54:27 +02:00
Markus Makela
6adccb3c17
Fix to bug 680: http://bugs.mariadb.com/show_bug.cgi?id=680
...
service.h:Added the 'serviceStartFailed' function which tries to start services with successfully started routers but no successfully started listeners.
mysql_mon.c:Added a call to ServiceStartFailed when servers come available.
2015-01-05 13:38:39 +02:00
Markus Makela
e27b51392a
Changed SIZE_MAX references to values calculated at runtime.
2015-01-05 11:38:54 +02:00
Markus Makela
8729413655
Fixed build issues due to missing headers.
2015-01-05 11:37:37 +02:00
Markus Makela
fd011fc128
Fixed build issues due to missing headers.
2015-01-05 11:31:28 +02:00
Markus Makela
3bf595673d
Added the missing skygw_log_sync_all function to the log_manager.h header and created a header for testing which contains the location of the testing directory.
2015-01-05 06:48:32 +02:00
Markus Makela
185e5b82d6
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2015-01-05 06:09:39 +02:00
Markus Makela
ba009e5fd3
Fixes to Coverity defects 85010 84878 72752 72742 72719 and 73418.
...
skygw_utils.cc: Added function is_valid_posix_path that checks if a path is POSIX-compliant.
2015-01-05 06:05:56 +02:00
VilhoRaatikka
2d3491e123
Additional fix to bug #676
...
readwritesplit.c:route_session_write: added check that at least one backend is being used.
2015-01-03 01:47:11 +02:00
VilhoRaatikka
9be2212d96
Fix to bug #676 , http://bugs.mariadb.com/show_bug.cgi?id=676
...
readwritesplit.c:route_session_write failed if the last backend on all backends list was not in use. THe situation where not all backends are used by routing session is normal especially if max_slave_connections is not set to 100%. Thus session commands may have failed if user was bit unlucky.
Changed the logic so that the function fails (and session is closed) if routing fails to any such backend which is in use in the session.
2015-01-03 01:21:30 +02:00
Markus Makela
b3d79f7273
Merge branch 'release-1.0GA' into bug_679_fix
2015-01-02 20:57:28 +02:00
Markus Makela
95cd0b93cb
Fix to bug 679: http://bugs.mariadb.com/show_bug.cgi?id=679
...
Added server references to services instead of using a raw pointers to server instances.
Changed all references to service->database to service->dbref.
2015-01-02 20:55:38 +02:00
VilhoRaatikka
a3d5367d55
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
...
Conflicts:
server/modules/filter/tee.c
2015-01-02 18:43:17 +02:00
VilhoRaatikka
6228be4284
Fix to bug #678 , http://bugs.skysql.com/show_bug.cgi?id=678
...
tee.c:routeQuery cloned partial MySQL packets to be routed to child router. Problems were due to the use of gwbuf_clone and modutil_MySQL_query which clone/examine only the first buffer from the buffer list which composes GWBUF.
modutil.c: Added function modutil_MySQL_query_len which calculates MySQL packet length and the missing bytecount
2015-01-02 18:32:57 +02:00
Markus Makela
ef19b9e729
Fixed concurrency issues in tee.
...
tee.c: added a spinlock to the session which is used in clientReply
2015-01-02 16:21:21 +02:00
Markus Makela
ed961b5d1b
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2015-01-02 16:13:15 +02:00
Markus Makela
a99c24e9dc
Tee filter now only returns the reply from the parent service.
2015-01-02 16:12:44 +02:00
VilhoRaatikka
48f443782e
Fixed a typo
2015-01-02 09:55:55 +02:00
VilhoRaatikka
38b16ec2d0
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2015-01-02 09:54:29 +02:00
VilhoRaatikka
a745383956
Added debug log to mysql_backend.c:gw_read_backend_event to tracm the case where less than 5 bytes is read from backend. This is potential issue with long result sets.
2015-01-02 09:53:24 +02:00
Markus Makela
4e655eda0a
Fixes to coverity defects 85250 and 85251.
2015-01-02 07:21:13 +02:00
Markus Makela
89a394ab09
Fixed orphaned sessions being stuck in the SESSION_STATE_STOPPING state.
2015-01-01 19:53:26 +02:00
Markus Makela
9061967c31
Added simple query success detection to tee filter.
...
tee.c: If one query fails and the other succeeds the successful one is returned to the client.
2015-01-01 14:14:36 +02:00
Markus Makela
ce58157901
Added more debugging output.
...
tee.c: Added details about the freeing of orphaned sessions.
session.: Added missing cases of session state into the session_state function in debug builds.
2015-01-01 13:03:03 +02:00