This website requires JavaScript.
Explore
龙芯爱好者论坛
Help
Register
Sign In
hcq
/
MaxScale
Watch
1
Star
0
Fork
0
You've already forked MaxScale
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
c1c8bf9fc513b8294c30bae77dd770d1cac7d882
MaxScale
/
server
/
modules
/
routing
History
Jan Lindström
c1c8bf9fc5
Removed unnecessary loop of servers. Now we loop over all the servers, if running server is found and candidate is not set we set that server as candidate. If candidate is set and we find any that have fewer connections than our candidate server. If a server has less connections than the current candidate we mark this as the new candidate to connect to. If a server has the same number of connections currently as the candidate and has had less connections over time than the candidate it will also become the new candidate. This has the effect of spreading the connections over different servers during periods of very low load.
2013-08-13 11:55:34 +03:00
..
readwritesplit
Removed unnecessary argument from log manager commands because it is not used and it is always NULL.
2013-08-04 23:30:47 +03:00
debugcli.c
Removed unnecessary argument from log manager commands because it is not used and it is always NULL.
2013-08-04 23:30:47 +03:00
debugcmd.c
Added enable/disable commands, now for log_witer only
2013-08-09 15:12:23 +02:00
Makefile
Removed depend.mk files. Added command 'touch depend.mk' to each Makefile which attempts to include depend.mk. That is for the makefile process phase where only the existence of depend.mk is checked. Later the real file is created in 'depend' target.
2013-07-30 11:43:39 +03:00
readconnroute.c
Removed unnecessary loop of servers. Now we loop over all the servers, if running server is found and candidate is not set we set that server as candidate. If candidate is set and we find any that have fewer connections than our candidate server. If a server has less connections than the current candidate we mark this as the new candidate to connect to. If a server has the same number of connections currently as the candidate and has had less connections over time than the candidate it will also become the new candidate. This has the effect of spreading the connections over different servers during periods of very low load.
2013-08-13 11:55:34 +03:00
testroute.c
Some typos fixed
2013-08-02 10:00:56 +02:00