Commit Graph

202 Commits

Author SHA1 Message Date
Zhang Jiajun
fb26451f0c [REV] When manage node is less one, can not execute offline operation. 2018-08-03 09:31:55 +08:00
Zhang Jiajun
b120bac241 [REV] Optimize node disable scheduling logic. 2018-08-02 23:19:10 +08:00
zhoujunhao
5325f8eac5 [ADD] add Get alarm rules and modify status display styles in grctl 2018-08-01 12:29:06 +08:00
Zhang Jiajun
f65fc72672 [REV] Optimize time interval for check node status. 2018-07-31 16:18:44 +08:00
Zhang Jiajun
41c89a4360 [REV] Optimize log output for node master. 2018-07-31 14:57:02 +08:00
zhoujunhao
b9d8e4d24f [FIX] Fix null pointer error 2018-07-31 14:50:46 +08:00
zhoujunhao
431b895a33 [FIX] fix bug 2018-07-31 14:45:30 +08:00
zhoujunhao
178fff7590 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-31 14:39:48 +08:00
zhoujunhao
46442d2ebf [FIX] fix node status bug 2018-07-31 14:39:40 +08:00
Zhang Jiajun
55e2850f9d [REV] Add check node status and automatic disableSchedul. 2018-07-31 14:38:34 +08:00
zhoujunhao
f4afdde88f [FIX] fix node status bug 2018-07-31 14:26:47 +08:00
zhoujunhao
613ccf5d60 [REV] Optimize the state of the node 2018-07-30 19:56:51 +08:00
zhoujunhao
f67d40138f Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-30 17:41:53 +08:00
zhoujunhao
4129b43221 [FIX] Fix node status judgment bug 2018-07-30 17:41:37 +08:00
Zhang Jiajun
cd92d978cf [REV] Optimize service start check. 2018-07-30 17:29:50 +08:00
zhoujunhao
1debccb5c8 [FIX] fix health check Judge logic error 2018-07-30 17:20:55 +08:00
zhoujunhao
1a983ff258 [FIX] fix bug 2018-07-28 02:01:07 +08:00
zhoujunhao
cea804bf2d Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-27 19:10:24 +08:00
zhoujunhao
ba12d437ad [ADD] add grctl cluster info 2018-07-27 19:10:15 +08:00
Zhang Jiajun
f87d433ffe [REV] Add option for node controller. 2018-07-27 18:52:09 +08:00
Zhang Jiajun
39feeb97d3 [REV] Optimize service start check. 2018-07-27 18:12:52 +08:00
Zhang Jiajun
b47f24b63c [REV] Optimize node start logic. 2018-07-27 17:41:21 +08:00
Zhang Jiajun
294dc9fce5 [REV] Optimize log output for node controller. 2018-07-27 16:44:20 +08:00
Zhang Jiajun
2d68aafc0c [REV] Optimize log output for node controller. 2018-07-27 16:38:48 +08:00
Zhang Jiajun
085311033a [REV] Optimize service restart policy when status is unhealthy. 2018-07-27 16:16:23 +08:00
Zhang Jiajun
2889772611 [REV] Optimize service restart policy when status is unhealthy. 2018-07-27 15:59:12 +08:00
Zhang Jiajun
1701c19e4c [REV] Optimize service restart policy when status is unhealthy. 2018-07-27 15:51:04 +08:00
Zhang Jiajun
0a123d2657 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-27 15:22:42 +08:00
Zhang Jiajun
4a37e55f37 [REV] Optimize service restart policy when status is unhealthy. 2018-07-27 15:22:39 +08:00
zhoujunhao
8fd3fea4bf [ADD] Add enable stop acquisition status 2018-07-27 14:59:12 +08:00
zhoujunhao
b3211e87a2 [FMT] Optimized structure catalog 2018-07-27 12:55:18 +08:00
Zhang Jiajun
5747755164 [ADD] Add sub command grctl conf gen <file>. 2018-07-27 10:05:25 +08:00
Zhang Jiajun
84e62db52e [REV] When service status is death then start it. 2018-07-26 19:12:48 +08:00
Zhang Jiajun
5476b1698c [REV] When service status is death then start it. 2018-07-26 19:00:29 +08:00
Zhang Jiajun
51c02cf6db [REV] When service status is death then start it. 2018-07-26 18:36:29 +08:00
zhoujunhao
c836e57fed Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-26 17:06:06 +08:00
zhoujunhao
06158c4c7d [ADD] add builder service monitor 2018-07-26 17:05:50 +08:00
Zhang Jiajun
fa374310bd [REV] When service status is death then start it. 2018-07-26 15:54:30 +08:00
Zhang Jiajun
0a602a481f [REV] When service status is death then start it. 2018-07-26 14:48:03 +08:00
Zhang Jiajun
32461aa924 Optimize online offline logic and add rest api of node healthy. 2018-07-26 14:28:51 +08:00
Zhang Jiajun
fb18f8b066 [REV] Optimize online and offline logic by command. 2018-07-26 14:28:46 +08:00
zhoujunhao
40b74f974b [ADD] add service health status api 2018-07-26 14:17:54 +08:00
zhoujunhao
f4e983f4ba [FMT] Add locks to modify data operations, increase log printing 2018-07-26 11:10:39 +08:00
zhoujunhao
9ec3c9d206 [FMT] Optimize node state judgment 2018-07-25 19:07:08 +08:00
zhoujunhao
6e05cb74b1 [FIX] fix bug 2018-07-25 18:39:27 +08:00
zhoujunhao
0aa91a64df [FIX] fix bug 2018-07-25 18:08:17 +08:00
zhoujunhao
b649baa416 [FIX] fix bug 2018-07-25 18:06:40 +08:00
zhoujunhao
05502740ef [FIX] fix bug 2018-07-25 17:35:53 +08:00
zhoujunhao
793509eb44 [FIX] fix bug 2018-07-25 17:33:01 +08:00
zhoujunhao
5c0649bfdc Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7
# Conflicts:
#	node/masterserver/node/cluster.go
2018-07-25 17:04:01 +08:00
zhoujunhao
5433d75593 [ADD] add node status 2018-07-25 17:00:17 +08:00
Zhang Jiajun
937c3b9973 [REV] Fix import error. 2018-07-25 16:57:48 +08:00
Zhang Jiajun
a58ef58841 [REV] Add sync node status logic in node controller. 2018-07-25 16:42:29 +08:00
Zhang Jiajun
195ca60633 [REV] Add online and offline node by command. 2018-07-25 16:31:43 +08:00
zhoujunhao
b50ea7265c [ADD] Define constant 2018-07-25 16:25:15 +08:00
zhoujunhao
0388635b63 [FMT] Delete extra print operations 2018-07-25 15:56:59 +08:00
zhoujunhao
72ddcb3e6a [FIX] fix bug 2018-07-25 15:20:58 +08:00
zhoujunhao
a71990c3af [ADD] Add debug output 2018-07-25 14:05:25 +08:00
zhoujunhao
e7d15d333f Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-25 12:36:19 +08:00
zhoujunhao
612c72da4b [REV] remove lock 2018-07-25 12:36:10 +08:00
Zhang Jiajun
07483bc7a0 [REV] Add online and offline node by command. 2018-07-25 12:35:37 +08:00
zhoujunhao
3bdc9c36fc [FIX] fix bug 2018-07-25 12:25:06 +08:00
zhoujunhao
b8f2c851fb [REV] Optimize the lock problem 2018-07-25 12:15:58 +08:00
zhoujunhao
26bb7177ea [FIX] fix bug 2018-07-25 10:49:28 +08:00
zhoujunhao
51aea582d8 [FIX] fix bug 2018-07-24 18:24:00 +08:00
zhoujunhao
35b2d72595 [REV] update management node status judgment 2018-07-24 17:41:46 +08:00
zhoujunhao
ded8c2b3f0 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-24 17:10:58 +08:00
zhoujunhao
54e3712df2 [FIX] fix bug 2018-07-24 17:10:48 +08:00
Zhang Jiajun
6a87332dff [REV] Add watcher for add service for node controller. 2018-07-24 16:33:38 +08:00
zhoujunhao
f9c1db3970 [ADD] add node status judgment 2018-07-24 16:09:51 +08:00
zhoujunhao
d384bd685b Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7
# Conflicts:
#	node/nodem/node_manager.go
2018-07-23 19:02:00 +08:00
zhoujunhao
d4e715dc7b [REV] Optimized implementation 2018-07-23 18:57:34 +08:00
barnettZQG
e1290ac562 [REV] merge code 2018-07-23 17:39:56 +08:00
barnettZQG
6fb246f6e3 [ADD] add svn support (#85) 2018-07-23 17:39:01 +08:00
zhoujunhao
8350807392 [FIX] fix bug 2018-07-23 16:39:15 +08:00
zhoujunhao
1b6521f1a0 [FIX] fix bug 2018-07-23 16:30:33 +08:00
zhoujunhao
4ea17ff1e6 [ADD] add node status update 2018-07-23 16:25:59 +08:00
Zhang Jiajun
e8d2081059 [REV] Optimize all service start sequence. 2018-07-20 18:56:07 +08:00
zhoujunhao
4c28f068e0 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-20 18:01:32 +08:00
zhoujunhao
4237c1be93 [ADD] add shell prober 2018-07-20 18:01:24 +08:00
Zhang Jiajun
1bb9d2ebc4 [ADD] Support automatic inject dependence parameters when node start service. 2018-07-20 16:00:37 +08:00
Zhang Jiajun
e9b3090fa1 [REV] Optimize service dependence process logic. 2018-07-20 13:19:01 +08:00
zhoujunhao
c34dbb8efd Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-20 12:38:09 +08:00
zhoujunhao
fb90bc719f [ADD] add tcp prober 2018-07-20 12:37:52 +08:00
Zhang Jiajun
8ed4c13b29 [REV] Optimize service restart policy when status is non healthy. 2018-07-20 12:08:59 +08:00
zhoujunhao
6f449e08b6 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-20 12:06:20 +08:00
zhoujunhao
ab0b2ab284 [ADD] add tcp peobe 2018-07-20 12:06:05 +08:00
Zhang Jiajun
ee8c54fe46 [ADD] Add synchronize service logic in node controller module. 2018-07-20 11:13:03 +08:00
Zhang Jiajun
29b0ca7fc5 [ADD] Add synchronize service logic in node controller module. 2018-07-20 10:38:07 +08:00
zhoujunhao
d31f878dd1 [FIX] fix bug 2018-07-20 10:23:35 +08:00
zhoujunhao
46722d7b93 [REV] Optimize the node component health check module 2018-07-20 00:33:54 +08:00
zhoujunhao
d97bf95e42 [ADD] add node service health check 2018-07-19 17:40:17 +08:00
zhoujunhao
deb1113a20 Merge branch 'V3.7' of https://github.com/goodrain/rainbond into V3.7 2018-07-19 10:18:52 +08:00
zhoujunhao
57e4927468 [REV] Use status to identify service health status 2018-07-19 10:18:35 +08:00
Zhang Jiajun
b0a73b54dd [REV] Support specify muilti endpoint in service. 2018-07-18 21:17:30 +08:00
Zhang Jiajun
e8e3f836c6 [REV] Support specify muilti endpoint in service. 2018-07-18 20:37:22 +08:00
Zhang Jiajun
e4b4c92466 [REV] Add registry service endpoint logic after start controller. 2018-07-18 19:00:19 +08:00
Zhang Jiajun
1cba448d72 [REV] Add registry service endpoint logic after start controller. 2018-07-18 18:45:30 +08:00
Zhang Jiajun
8f7cfd896d [REV] Add registry service endpoint logic after start controller. 2018-07-18 18:34:56 +08:00
zhoujunhao
9b55338db1 [ADD] add node service health check test code 2018-07-18 15:39:12 +08:00