Commit Graph

73 Commits

Author SHA1 Message Date
wangbin579
1546298081 Optimize code hinted by coverity scan 2018-08-20 17:46:43 +08:00
wangbin579
87f6be8dc0 Add code for kill query 2018-08-20 15:19:00 +08:00
wangbin579
802b168a84 Add log for checkint reuse port 2018-08-06 14:37:13 +08:00
wangbin579
3bde189a05 Support non-stop upgrade 2018-07-31 10:10:30 +08:00
wangbin579
9f831ef93a Fix problems related to xa trans 2018-07-27 16:31:50 +08:00
wangbin579
2374bb00d3 Merge branch 'master' into multi-process-version2 2018-07-26 14:07:06 +08:00
wangbin579
de9e9299e0 Fix read AGAIN related problems 2018-07-26 10:11:23 +08:00
wangbin579
8620fc8ef5 Close listen fd without event del when creating new workers 2018-07-25 17:07:42 +08:00
jingxiaobing
0bd76905fe fix auth switch response duplication, it happens on PHP malformed handshake 2018-07-25 16:28:50 +08:00
wangbin579
7b657f139b Merge master and admin processes 2018-07-25 14:49:28 +08:00
wangbin579
bd8fa43055 Optimize log 2018-07-24 18:17:20 +08:00
wangbin579
3ec1805498 Fix more problems for two workers 2018-07-19 11:00:33 +08:00
wangbin579
b6e144c58c Fix some problems for two workers 2018-07-19 09:25:06 +08:00
wangbin579
b92a4dbc85 Add config for worker's admin conn 2018-07-18 18:42:15 +08:00
wangbin579
a612c07ef3 Fix some problems related admin sql resp merging 2018-07-18 17:38:40 +08:00
wangbin579
4a8bafb621 Fix packet id problems for admin merging 2018-07-17 13:01:52 +08:00
wangbin579
eb288a08cb This version could do admin login 2018-07-17 10:52:20 +08:00
wangbin579
5779dadbf5 Add framework for retrieving resp info 2018-07-16 18:37:36 +08:00
wangbin579
023acf7634 Merge branch 'master' into multi-process 2018-07-10 09:17:46 +08:00
wangbin579
debbaa4166 Do not close admin client prematurely when maintained 2018-07-09 15:48:34 +08:00
wangbin579
66a0f3fba5 Add admin worker_channel 2018-07-05 16:20:04 +08:00
wangbin579
809b0608f9 Change channel to parent_child_channel 2018-07-05 15:19:53 +08:00
wangbin579
f1a2934f73 Add code for admin process 2018-07-04 17:07:11 +08:00
wangbin579
5743ea5441 Add code for sending sql to workers 2018-07-04 14:13:50 +08:00
wangbin579
323f1e46f9 Merge branch 'master' into multi-process 2018-07-03 10:09:55 +08:00
wangbin579
72e9565780 Fix segfault problems revealed by tcpcopy 2018-07-03 09:27:40 +08:00
wangbin579
3516a8abe6 merge master 2018-06-22 16:02:03 +08:00
wangbin579
54268b7afd Add log for debug 2018-06-22 11:33:28 +08:00
wangbin579
862bc135d6 Add signal processing for multi-process 2018-06-21 11:14:54 +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
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
4742b9c90b admin: discriminate shard/rw mode 2018-05-31 18:36:31 +08:00
liuyanlei25
82b49864d5 fix cetus-shard and cetus-rw admin display 2018-05-25 20:55:36 +08:00
liuyanlei25
a5d964adc5 fix ip interception feature 2018-05-25 10:47:58 +08:00
wangbin579
f01cd5b16e Compatible with pymysql 2018-05-25 09:25:15 +08:00
jingxiaobing
cbd0e2b1e6 admin-plugin implemented with lex&parser 2018-05-24 20:37:21 +08:00
tsthght
aec4b411ca fix bug: config set key=val may be wrong 2018-05-18 09:04:56 +08:00
wangbin579
2536c633a1 Optimize code hinted by coverity scan and cppcheck 2018-05-17 18:01:41 +08:00
jingxiaobing
913b6a8987 compatible with mysql5.1 authentication 2018-05-17 14:24:42 +08:00
tsthght
e7cc024441 fix bug:'set maintain' command is no correct effected rows 2018-05-17 10:16:15 +08:00
jingxiaobing
c0fa3f3128 Merge branch 'auth-switch', #44 mysql8 client can login after switch to mysql_native_password
Conflicts:
	plugins/admin/admin-plugin.c
2018-05-16 18:19:59 +08:00
jingxiaobing
dea8ae911d implement server-side auth switch, now mysql8 client can login 2018-05-16 17:57:23 +08:00
wangbin579
2549cc5abd Fix warnings 2018-05-16 17:30:56 +08:00
wangbin579
6b21ee9062 Disable transaction for admin 2018-05-16 17:11:23 +08:00