Markus Makela
f4e591e382
Changed 'SkySQL Gateway' to 'MariaDB Corporation MaxScale'
2014-09-30 13:15:03 +03:00
Markus Makela
c344231f80
Renamed all occurences of SkySQL to MariaDB Corporation
2014-09-30 13:02:10 +03:00
Markus Makela
99cf637e03
Merge branch 'release-1.0beta-refresh' into cmake_build
2014-09-24 12:59:47 +03:00
VilhoRaatikka
fd95acdcbf
Monitor checks weren't done if interval%100<100. Fixed.
2014-09-24 12:54:07 +03:00
Markus Makela
0e23979609
Merge branch 'release-1.0beta-refresh' into cmake_build
2014-09-24 12:27:20 +03:00
VilhoRaatikka
2b147a9ea4
Monitors waited monitor check interval time before checking backend servers for the first time. Removed wait for the first check.
...
Added extra debugging to query_classifier to assist in issue resolution regarding to optimized MaxScale builds and pthread_mutex_lock in sql/sql_class.h
2014-09-24 12:03:04 +03:00
Markus Makela
eae2c03924
Merge branch 'release-1.0beta-refresh' into cmake_build
2014-09-24 09:25:50 +03:00
VilhoRaatikka
45f8585804
Fix to bug #549 , http://bugs.skysql.com/show_bug.cgi?id=549
...
Each monitor loops 10 times/second (sleep 100ms) and perform monitoring checks only when monitor's interval is spent. Monitors notice faster if the shutdown flag is set and thus overall shutdown is faster.
hint.c:added missing header
Changed interval from unsigned long to size_t which is guaranteed to be of same size also in windows (if possible).
2014-09-23 11:26:15 +03:00
Markus Makela
3f0de666ac
Changed the order of linking to resolve some debug build bugs and added the missing parent directory of the MYSQL_DIR into the included directories.
2014-09-20 19:44:30 +03:00
Markus Makela
c868fedb87
Fixed missing ${EMBEDDED_LIB} variables and changed to the proper template config file.
2014-09-19 11:41:44 +03:00
Markus Makela
41226692ac
Merge branch 'release-1.0beta-refresh' into cmake_build
2014-09-16 12:11:17 +03:00
Mark Riddoch
c8fc5b712b
Merge branch 'hholzgra-hartmut-gitignore' into release-1.0beta-refresh
2014-09-15 13:22:46 +01:00
Markus Makela
1f56db310d
Changed variable names to closer match their usage
...
Changed the default values to the same as in makefiles
Added configured versions of maxscale.conf and maxscale init.d script
2014-09-15 14:12:55 +03:00
Markus Makela
4c41dea6fb
Merge branch 'release-1.0beta-refresh' into cmake_build
2014-09-15 09:43:24 +03:00
MassimilianoPinto
ffc7e7aa10
Fix for server_string memory leak
...
Fix for server_string memory leak
2014-09-12 15:36:22 +02:00
Mark Riddoch
d1b4852d29
Addition of server "Auth Error" status
2014-09-12 08:55:32 +01:00
Markus Makela
b3ce971020
initial implementation of the CMake build system
2014-09-11 18:24:41 +03:00
MassimilianoPinto
32cd901e5c
New entry point added to all monitors
...
New entry point added to all monitors
2014-09-04 09:27:23 +02:00
MassimilianoPinto
63a7ccf520
Merge branch 'MAX-232' into 232-bis
...
Conflicts:
server/core/server.c
server/include/server.h
2014-09-04 09:23:29 +02:00
MassimilianoPinto
63d267e5ef
Fix for broken replication
...
Fix for broken replication has been added to mysql_monitor.
Both Slave_IO and Slave_SQL threads must be running in order to assign
the SERVER_SLAVE status but If only Slave_IO is running let’s assign
the master_id to current server and continue building the replication
tree; if no slaves at all the master will be still available.
The “detect_stale_master” option has been added, its default is 0.
If set to 1 the monitor will keep the last detected master even if the
replication setup is completely not working, i.e. both Slave_IO and
Slave_SQL threads are not running: this applies only to the server that
was master before.
After monitor or MaxScale are restarted and the replication is still
stopped or not configured there will be no master because it’s not
possible to compute the replication topology tree.
2014-09-01 11:18:57 +02:00
VilhoRaatikka
4a30626974
Merge branch 'Z2' of https://github.com/skysql/MaxScale into Z2
...
Conflicts:
client/Makefile
server/core/buffer.c
server/core/test/makefile
server/include/buffer.h
server/modules/filter/Makefile
server/modules/routing/webserver.c
2014-08-29 16:21:08 +03:00
Hartmut Holzgraefe
d355e07e2d
gitignore cleanup
...
* ignore typical backup files created by common editors
* move general ignore rules like "*.o" or "depend.mk" to top level gitignore
* ignore executables and test directories in target dir gitignore
as these are local and there's no general catch-all pattern for them
2014-08-18 09:39:29 +00:00
Hartmut Holzgraefe
fb87f68368
consistently use DEL instead of rm in Makefiles
2014-08-17 21:02:24 +00:00
MassimilianoPinto
f2dc2e8671
Added log status change for ndbcluster monitor
...
Added log status change for ndbcluster monitor
2014-08-05 15:26:31 +02:00
MassimilianoPinto
744892e47c
Support for MySQL Cluster
...
Support for MySQL Cluster with ndbcluster monitor and readconnroute
with router_option=ndb
2014-07-30 09:41:03 +02:00
MassimilianoPinto
e91045d311
New monitor added to Makefile
...
New monitor added to Makefile
2014-07-28 09:53:42 +02:00
MassimilianoPinto
cbefda6517
monitor for SQL nodes in MySQL Cluster
...
New monitor added for SQL nodes in MySQL Cluster
2014-07-28 09:47:06 +02:00
Mark Riddoch
4af2e58c86
Update plugin status to BETA
2014-07-04 09:23:40 +01:00
Timofey Turenko
0dfdc27ea5
revert -l:libmysqld.a to -lmysqld
2014-07-03 11:38:59 +03:00
Timofey Turenko
eb3a8eaab3
L:.a
2014-07-02 16:25:55 +03:00
Timofey Turenko
f379ee3d7a
add -static for lmysqld
2014-07-02 15:52:16 +03:00
Mark Riddoch
d58682d261
Updated Makefile to resolve issue with adding extra MaxScale in the
...
path for a make install command.
2014-07-01 16:53:10 +01:00
MassimilianoPinto
ff99cd3c63
no rows for slave heartbeat reset server values
...
no rows for slave heartbeat resets the heartbeat and node_ts in server
struct
2014-07-01 10:36:26 +02:00
MassimilianoPinto
439cedc800
Fixed num servers counter
...
Fixed num servers counter
2014-06-30 19:33:30 +02:00
MassimilianoPinto
dd54dde4ef
fix for root master NULL pinter
...
fix for root master NULL pinter
2014-06-30 19:09:50 +02:00
VilhoRaatikka
0b89245a4b
Merge branch 'develop' into MAX-167
...
Conflicts:
server/modules/monitor/mysql_mon.c
server/modules/routing/readwritesplit/readwritesplit.c
2014-06-30 14:17:00 +03:00
MassimilianoPinto
32526d31b6
code cleanup
...
code cleanup
2014-06-27 18:14:46 +02:00
MassimilianoPinto
3a299a9ed8
get_replication_tree checks for SERVER_IS_DOWN
...
get_replication_tree checks for SERVER_IS_DOWN, this will produce a
replication tree even with servers in SERVER_IN_MAINT state
2014-06-27 17:16:38 +02:00
MassimilianoPinto
3e83174cd8
Log messages updated for Replication heartbeat
...
Log messages updated for Replication heartbeat
2014-06-27 15:10:25 +02:00
MassimilianoPinto
111693775b
master_id and node_id are long vars
...
master_id and node_id are long vars
2014-06-27 14:21:12 +02:00
MassimilianoPinto
96b6454e13
fix compile warnings
...
fix compile warnings
2014-06-27 14:11:57 +02:00
MassimilianoPinto
875b464c22
pending_status added to MONITOR_SERVERS
...
pending_status added to MONITOR_SERVERS
2014-06-27 14:04:02 +02:00
MassimilianoPinto
fdcdc064b1
Added server pending states in monitor
...
server pending states are now saved and copied to server status before
monitor thread sleep
2014-06-27 13:38:35 +02:00
VilhoRaatikka
20637ee224
Removed unnecessary SERVER pointer from dcb.c:dcb_call_foreach(), changed declaration and call accordingly.
2014-06-27 10:54:11 +03:00
MassimilianoPinto
f246219beb
Fix compile errors and warnings
...
Fix compile errors and warnings
2014-06-26 18:20:33 +02:00
MassimilianoPinto
8808fd7e47
Some debug messages removed
...
Some debug messages removed
2014-06-26 17:18:53 +02:00
MassimilianoPinto
4d2e43a2d9
code cleanup and documentation
...
code cleanup and documentation
2014-06-26 16:56:21 +02:00
MassimilianoPinto
d8ac0467de
Added comments for SHOW SLAVE STATUS
...
Added comments for SHOW SLAVE STATUS
2014-06-26 14:14:37 +02:00
MassimilianoPinto
c14700fcff
Added documentation to new routines
...
Added documentation to new routines
2014-06-25 10:21:30 +02:00
MassimilianoPinto
e1e172fe03
Fixed compile errors
...
Fixed compile errors
2014-06-24 18:37:17 +02:00