Commit Graph

120 Commits

Author SHA1 Message Date
wangbin579
4cd90cdb3e Fix problems related to xa trans 2018-07-27 16:59:49 +08:00
jingxiaobing
ec50b9a9d0 add some g_clear_error() 2018-07-27 15:38:39 +08:00
jingxiaobing
5c9823738b remote config support variables.json 2018-07-27 14:50:21 +08:00
jingxiaobing
0bd76905fe fix auth switch response duplication, it happens on PHP malformed handshake 2018-07-25 16:28:50 +08:00
wangbin579
9dd848afae Set dist tran false when meeting 'set autocommit=1' without needing to send 2018-07-23 11:33:21 +08:00
wangbin579
9aad33dc8c Refix the problem related to 'in single tran, but visit multi servers' 2018-07-20 10:33:11 +08:00
wangbin579
229c080cf0 Fix typo 2018-07-19 14:56:35 +08:00
jingxiaobing
bb752907f0 admin: CREATE SINGLE TABLE 2018-07-18 18:26:55 +08:00
tsthght
600144c937 refine 'config reload' error message 2018-07-18 16:11:10 +08:00
wangbin579
c169508bdc call create conns after 30 seconds 2018-07-13 14:49:50 +08:00
wangbin579
faf1e8d994 Do merge 2018-07-13 14:40:28 +08:00
tsthght
1db027952c use g_get_current_dir instead of get_current_dir_name 2018-07-13 13:37:57 +08:00
wangbin579
f89e5cc939 Fix several issues related to trans 2018-07-13 12:04:37 +08:00
wangbin579
bbe5f4e202 Fix several issues related to trans 2018-07-13 12:02:45 +08:00
wangbin579
16391089da Close conn when meeting 'in single tran, but visit multi servers for con' 2018-07-12 14:17:13 +08:00
jingxiaobing
b2abd4075e add option: allow-nested-subquery 2018-07-11 18:30:59 +08:00
wangbin579
2d8b011c27 Add check when assigning default db 2018-07-10 09:03:38 +08:00
wangbin579
e640c14b84 Merge branch 'master' of https://github.com/Lede-Inc/cetus 2018-07-09 16:44:54 +08:00
wangbin579
beeca02c30 Fix change user problems 2018-07-09 16:44:27 +08:00
liuyanlei25
089f94b18f modify monitor: default check slave delay; default slave-delay-down=10s,slave-delay-recover=1s; change check_slave_delay_msec truncation;admin hascheck_slave_delay_msec only when cetus has salve and monitor delays 2018-07-09 16:36:47 +08:00
wangbin579
debbaa4166 Do not close admin client prematurely when maintained 2018-07-09 15:48:34 +08:00
wangbin579
a85adde8a6 Fix seg fault revealed by tcpcopy 2018-07-09 10:53:11 +08:00
wangbin579
9694bac985 Add event for timer 2018-07-06 20:10:02 +08:00
wangbin579
a15dc6e3c8 Close client connection gracefully when maintaining 2018-07-06 18:31:48 +08:00
wangbin579
ecde9b345e Purify sharding plan when reused 2018-07-06 18:02:13 +08:00
jingxiaobing
311f2a6560 fix bug: sharding key of IN-expr 2018-07-06 11:13:08 +08:00
wangbin579
72e9565780 Fix segfault problems revealed by tcpcopy 2018-07-03 09:27:40 +08:00
wangbin579
658f963d5c Optimize create connections using event timers 2018-07-02 15:10:00 +08:00
jingxiaobing
0370e73bc6 modulo of negative number 2018-07-02 11:38:42 +08:00
wangbin579
85a526a818 Fix prepare stmt problems when slave > 1 2018-07-02 10:31:41 +08:00
wangbin579
4efc464e2c Try to fix prepare stmt problems 2018-06-29 16:38:21 +08:00
wangbin579
41d8430749 Fix connection creation revealed by user and coredump problems revealed by tcpcopy 2018-06-29 12:30:54 +08:00
wangbin579
5f39b9d0e1 Fix help 2018-06-28 17:32:54 +08:00
wangbin579
bf197d1d68 Fix compile warnings 2018-06-26 11:01:22 +08:00
wangbin579
697f3b36d9 Fix warnings 2018-06-22 16:32:16 +08:00
jingxiaobing
67e86045f2 Merge branch 'shard-online', refactor admin-plugin 2018-06-21 16:22:40 +08:00
jingxiaobing
ed43510977 reject single table subquery in WHERE clause 2018-06-20 16:42:39 +08:00
jingxiaobing
692aa2780e fix bug: read-only server should choose from active backends 2018-06-14 15:47:29 +08:00
jingxiaobing
48613d0481 admin: work around for navicat login 2018-06-11 11:40:23 +08:00
jingxiaobing
afa51c3baa admin: check param for UPDATE BACKENDS; add con_timeout 2018-06-07 15:15:32 +08:00
jingxiaobing
f246fa2ff7 admin: follow changes from master, "save settings" 2018-06-05 14:52:00 +08:00
jingxiaobing
5fb0bfbdde admin: use semicolon to end a SQL 2018-06-05 11:38:19 +08:00
jingxiaobing
f3e733c1ab Merge branch 'master' into shard-online
Conflicts:
	plugins/admin/admin-plugin.c
2018-06-04 16:57:37 +08:00
wangbin579
c13f742ce2 Don't set backend state when meeting connection errors 2018-06-04 14:28:49 +08:00
jingxiaobing
09bf0f6444 follow changes: show maintain; admin version in SHLO 2018-06-04 11:00:48 +08:00
wangbin579
b2a8bde98d Create conns when backend's state is changed to up,etc 2018-06-04 09:37:52 +08:00
tsthght
3a3c41bcf1 fix bug: 'update backends set' can cause problem in some cases 2018-06-01 18:01:35 +08:00
wangbin579
e4391b4152 Add read timeout processing for admin 2018-06-01 17:06:50 +08:00
jingxiaobing
6328fb854b admin config reload user 2018-06-01 15:47:32 +08:00
jingxiaobing
d6fc0a78df follow changes of admin_set_config; add admin_config_reload 2018-06-01 14:15:10 +08:00