Commit Graph

1685 Commits

Author SHA1 Message Date
932fc5dc2c Resolve issue with icorrectly markign slave connection as errored 2014-10-21 14:31:05 +01:00
554a054e18 Improve logging support 2014-10-17 12:29:29 +01:00
e729a17fd4 Addition of new tuning parameters for epoll spins and wait time 2014-10-17 12:28:27 +01:00
2edab598b2 Remove memlog diagnostics used to find issues with transistion between
catchup and follow mode.
2014-10-17 11:14:10 +01:00
81b5ad76a2 Deal with ._ files 2014-10-17 08:40:06 +01:00
9b3dfc86fe Binlog router performance improvements 2014-10-17 08:38:58 +01:00
f459bdfe04 Add new command to view the event queue
Fixes to fake poll events to improve fairness
2014-10-17 08:36:32 +01:00
fe0e7c74d0 Resolve transition from catchup to follow mode. 2014-10-14 11:43:08 +01:00
52e8b33422 Added the ability to have a non-auto-flushing memlog. Flush is then a
manual process. Useful for triggering the dumping of the circular buffer when
an error is detected.
2014-10-14 11:40:23 +01:00
8986a8042e Addition of averages for event queue pending events 2014-10-03 14:35:19 +01:00
d5947a0922 Add dlclose so that shared libraries get shutdown correctly 2014-10-03 14:34:46 +01:00
fd1154b944 Change of distribution mechanism to use fake events exclusively and avoid
complex locking mechanism and blocking the master DCB eent processign thread

Addition of shared BLFILE mechanism to reduce open/close overhead
2014-10-03 14:33:28 +01:00
501d0bcae6 Reconnect to master on error
Refine locking in blr_slave_catchup and add tracing
2014-10-02 17:19:43 +01:00
829a4bcbfa Refinement of polling process 2014-10-02 17:19:18 +01:00
0bc47b90ff Move datadir passed to embedded library down one level so that $MAXSCALE_HOME may be read only 2014-10-02 13:22:00 +01:00
3d7e17d447 Add back in the quoting mechanism that was lost when the long argument
handling was added. This allow for commands like
	maxadmin show service "Binlog Service"
to work on the command line
2014-10-02 11:07:47 +01:00
9186d3fa90 Fixes for blr_salve performanc issues, linking of embedded library,
housekeeper heartbeat addition and unloading of modules to allow
profiling of modules using LD_PROFILE environment variable and sprof
2014-10-01 18:30:13 +01:00
bce0716861 Merge branch 'blr' of https://github.com/skysql/MaxScale into blr 2014-09-30 13:27:03 +01:00
0ef87e3cc1 Updates to slave catchup mode to use fake events
Addition of fake EPOLLOUT event mechanism

New memlog feature for debugging purposes
2014-09-30 13:25:45 +01:00
2801aa851e Merge branch 'blr' of https://github.com/skysql/MaxScale into blr 2014-09-26 15:44:18 +03:00
5ec1a83f3b Fix to #478, http://bugs.skysql.com/show_bug.cgi?id=478
Execution of session commands failed because session commands and normal sql statements were executed in a wrong order if backend was executing previous session command while new sql stmt was routed to that backend. There was a window where ordering went wrong.
It is possible that one normal sql stmt arrives while previous sescmds are still being executed.

Introduced a new member in backend_ref_t structure, bref_pending_cmd where new sql stmt pointer is stored in that case. When sescmds are executed completely, that command is automatically executed next.
2014-09-26 15:40:32 +03:00
3430fc99d2 Shutdown fix in housekeeper
In memory logging in blr_master
2014-09-26 12:36:59 +01:00
06596a0bc3 Add binlog router back into Makefiles 2014-09-25 17:35:27 +01:00
af5eab238d fixed older CMake versions using PATH instead of DIRECTORY in get_filename_component() 2014-09-25 22:24:43 +03:00
5bef5d8f53 Removed binlogrouter from the build process. 2014-09-25 21:25:46 +03:00
fb3ba269db Merge branch 'blr' into release-1.0beta-refresh 2014-09-25 17:08:30 +02:00
d90c4d7d5a Merge branch 'release-1.0beta-refresh' of github.com:skysql/MaxScale into release-1.0beta-refresh 2014-09-25 16:00:59 +01:00
33636c06f8 MaxAdmin stress test 2014-09-25 16:00:18 +01:00
0d19857a1f Fix for debug build 2014-09-25 14:56:54 +01:00
2183dbcc28 Performance improvement 2014-09-25 12:00:19 +01:00
dff6fff888 Fixed missing return in process_pollq and added mysql.h to get rid of
warning about mysql_thread calls
2014-09-25 11:36:17 +01:00
3ac3a60229 Prevent epoll_wait call with a timeout if there are events in the queue to be processed 2014-09-25 11:10:30 +01:00
ba398157e8 Updated the normal makefile VERSION file 2014-09-25 12:39:14 +03:00
f5e789da2b init.d scripts and ldconfig files are no longer overwritten when configuring CMake 2014-09-25 12:37:04 +03:00
bff8c0f12f Merge branch 'release-1.0beta-refresh' of https://github.com/skysql/MaxScale into release-1.0beta-refresh 2014-09-25 10:42:52 +03:00
086ad6c782 Updated the MaxScale version to 1.0.1-beta and added a numeric version MAXSCALE_VERSION_NUMERIC with the format 'major.minor.patch'. 2014-09-25 10:40:54 +03:00
d793382006 Make "list monitors" output consistant with the output from other list
commands
2014-09-25 08:31:29 +01:00
d8d920bdb4 made the searching of MySQL headers look recursively for subdirectories 2014-09-24 18:58:23 +03:00
63252e94f2 Merge branch 'release-1.0beta-refresh' into blr
Fix conflict and remove some redundant code

Conflicts:
	server/core/poll.c
2014-09-24 16:49:12 +01:00
92ce8a47ba Introduction of a new polling mechanism to make the thread usage more fair and avoid
having busy DCB's being able to block execution of events on less busy DCBs
2014-09-24 16:34:34 +01:00
725a432bf7 Merging 'cmake_build' into 'release-1.0beta-refresh' 2014-09-24 17:29:23 +03:00
0b3b86ad1c Merge branch 'cmake_build' into merge_cmake 2014-09-24 17:16:10 +03:00
7d01fa1619 Reverting to an earlier version due to unforseen bugs in the new implementation 2014-09-24 17:12:55 +03:00
e30f4b4b95 Cleaned up dependency checking 2014-09-24 15:39:06 +03:00
a85c3fe97a Merge branch 'release-1.0beta-refresh' into cmake_build 2014-09-24 14:34:04 +03:00
e5ab9a2b9f changed the way MaxScale starts when testing. Now the test times out but the executable is surely started. 2014-09-24 14:31:30 +03:00
c4ee414117 Addition of test for show filter 2014-09-24 11:29:33 +01:00
48b1a77a27 Fix for message length in COM_QUERY 2014-09-24 11:15:33 +01:00
7da4aa1400 Merge branch 'release-1.0beta-refresh' of github.com:skysql/MaxScale into release-1.0beta-refresh 2014-09-24 11:14:10 +01:00
f3429dac1b Fix for double free if incorrect password is passed 2014-09-24 11:13:33 +01:00