d1ba050bfd
Make housekeeper const correct.
2016-02-12 16:16:32 +02:00
0111df3767
Cleaned up the use of thread types
...
The THREAD type was not used everywhere and pthread_t was used instead.
The thread creation function also returned the address of a stack allocated
value which isn't guaranteed to be usable.
2016-01-27 09:07:55 +02:00
c2310327fc
Fixed idle session processing
...
The current implementation of idle connection timeouts is not safe. The sessions
are handled in a way which is not thread-safe and the checking is done from
a non-polling thread.
With this change, the checks for the session timeouts are done in one of the
polling threads in a thread-safe manner only if at least one service has enabled
the timing out of idle client connections.
2016-01-19 10:53:55 +02:00
3189a47fc5
Reindented server/core/housekeeper.c
2015-11-30 15:16:44 +02:00
1299cf6ac9
Fixed hktask_add not comparing task names if there was only a single task.
2015-03-05 12:41:09 +02:00
d3c8770852
Merge branch 'blr' into develop
...
Conflicts:
client/maxadmin.c
server/core/CMakeLists.txt
server/core/dcb.c
server/core/gateway.c
server/core/poll.c
server/core/test/CMakeLists.txt
server/core/test/makefile
server/include/poll.h
server/modules/routing/debugcmd.c
2014-11-19 12:00:55 +00:00
67a0f65b74
Fixed issue with not releasing the spinlock in show tasks
2014-11-17 11:56:41 +00:00
9e0a8a0eee
Addition of show eventstats
2014-10-23 13:38:46 +01:00
70672e43a1
Addition of backoff process for master reconnect
...
Housekeeper task display
2014-10-23 10:46:55 +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
f4e591e382
Changed 'SkySQL Gateway' to 'MariaDB Corporation MaxScale'
2014-09-30 13:15:03 +03:00
c344231f80
Renamed all occurences of SkySQL to MariaDB Corporation
2014-09-30 13:02:10 +03:00
3430fc99d2
Shutdown fix in housekeeper
...
In memory logging in blr_master
2014-09-26 12:36:59 +01:00
2402d55de6
Some general tidyup plus addition of code to block zombie processing
...
if epoll_wait returned multiple descriptors
2014-09-19 10:50:54 +01:00
877442c941
Addition of periodic task execution via the housekeeper thread
...
Addition of 15, 5 and 1 minute load averages in poll
2014-08-29 16:53:05 +01:00