Commit Graph

243 Commits

Author SHA1 Message Date
xige-16
b404138ba7
[skip ci]Fix golint for chooseSegmentToBalance (#13303)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-15 22:19:10 +08:00
xige-16
42ac5f76ed
Add constraints to the combination of load and release (#13110)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-15 22:11:09 +08:00
xige-16
7c18be6e08
[skip ci]Fix golint for loadBalanceSegmentLoop (#13302)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-15 21:01:10 +08:00
xige-16
97d5231a0a
Reorganize querycoord proto (#13181)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-15 16:53:12 +08:00
cai.zhang
9f23fc7f2a
Register the service when the component state is healthy (#13248)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-15 11:47:10 +08:00
congqixia
322f0c5c5c
Remove unused variables (#13380)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-15 11:11:24 +08:00
xige-16
c68bae236e
[skip ci]Fix golint for watchHandoffSegmentLoop (#13301)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-15 07:01:09 +08:00
Xiangyu Wang
405b3cd932
Use the same lint rules with golint in revive (#13324)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-12-14 15:31:07 +08:00
congqixia
835e0985fd
Reduce queryNodeCluster range prevent blocking online/offline events (#13249)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-13 21:51:10 +08:00
xige-16
6f8ea8cc7b
Fix querycoord panic at getRecoveryInfo (#12983)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-13 10:29:27 +08:00
Cai Yudong
b7e97f67e5
Use typeutil.QueryCoordRole instead of Params.RoleName in querycoord (#13216)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-13 10:15:26 +08:00
dragondriver
255be8f4a8
Fix querycoord panic when close before init scheduler (#13051)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-11 10:15:13 +08:00
xige-16
9ccbffc4b1
[skip ci]Fix golint for watchNodeLoop (#13199)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-10 21:55:48 +08:00
xige-16
f85c1e8f1e
[skip ci]Fix golint for SetIndexCoord (#13198)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-10 21:54:01 +08:00
JackLCL
554b7918e9
[skip ci]Fix error log output format in task_scheduler.go (#13129)
Signed-off-by: JackLCL <chenglong.li@zilliz.com>
2021-12-10 10:16:03 +08:00
jaime
874c24862b
[skip ci] Fix a grammar mistake in querycoord task (#13127)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
2021-12-10 10:13:44 +08:00
jaime
4e538f9929
[skip ci] Fix a grammar mistake in querycoord task_scheduler (#13126)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
2021-12-10 10:11:59 +08:00
xige-16
63ead50544
[skip ci]fix golint for SetDataCoord (#13121)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-09 22:25:08 +08:00
xige-16
60d70e82fd
[skip ci]fix golint for SetRootCoord (#13120)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-09 22:23:22 +08:00
xige-16
1a83064d5a
[skip ci]fix golint for querycoord.start (#13119)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-09 22:21:43 +08:00
xige-16
00720f8dd6
[skip ci]Fix golint for ReleasePartitions (#13022)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-09 09:27:06 +08:00
xige-16
5dd0cb35bc
[skip ci]Fix golint for LoadPartitions (#13021)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-09 09:25:16 +08:00
congqixia
de454956fe
Refactor session WatchSessions to allow rewatch when Rev Compacted (#12880)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-08 10:11:04 +08:00
xige-16
03c27b17e2
[skip ci]Fix golint for LoadCollection (#12919)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-08 09:41:05 +08:00
jaime
7d02208d71
[skip ci] Add a comment for reloadFromKV in index_checker (#12921)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
2021-12-07 21:49:04 +08:00
xige-16
6050504d43
[skip ci]Fix golint for querycoord cluster (#12918)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-07 21:47:12 +08:00
xige-16
39557f1e4d
[skip ci]Fix golint for ReleaseCollection (#12920)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-07 21:33:04 +08:00
congqixia
615b23a7b3
Update querycoord state to unhealthy before stopping (#12905)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-07 21:27:29 +08:00
xige-16
c9fa6d6dd1
[skip ci]Fix golint for setCollectionInfo (#12833)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 21:51:45 +08:00
xige-16
52978273b5
[skip ci]Fix golint for node.start (#12831)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 21:49:53 +08:00
xige-16
d98b808f26
[skip ci]Fix golint for addCollection (#12832)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 21:47:58 +08:00
xige-16
9a208254d8
[skip ci] Fix golint of cluster (#12737)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 11:43:34 +08:00
xige-16
7d723abdff
Start balanceLoop when Params.autoBalance equal to true (#12660)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 10:19:41 +08:00
xige-16
e980516036
[skip ci] Fix golint of balanceLoop (#12736)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 10:07:35 +08:00
xige-16
6d9a93ef37
[skip ci] Fix golint of reloadFromKV (#12735)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 10:05:41 +08:00
congqixia
b009b39557
Fix zero length slice declaration in querycoord/channel_allocator.go (#12716)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-04 00:41:33 +08:00
edward.zeng
877bfdac58
[skip ci] Refine querycoord param table comment (#12722)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-03 18:51:33 +08:00
zhenshan.cao
af22977cd3
Fixbug: grpc connection is closed by mistake (#12307)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-12-03 15:15:32 +08:00
xige-16
567c657310
[skip ci]Fix golint for getComponentInfos (#12665)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-02 22:55:36 +08:00
xige-16
0e48ac19e9
[skip ci]Fix golint for isOnline (#12664)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-02 22:53:40 +08:00
xige-16
d237edd846
[skip ci]Fix golint for getOfflineNodes (#12663)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-02 22:51:46 +08:00
xige-16
6dd7afd1a4
[skip ci]Add comment for getOnlineNodes (#12575)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-01 22:41:33 +08:00
godchen
a76f490f12
Remove querycoord grpc error (#12535)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-12-01 22:15:37 +08:00
xige-16
e6d9be3dfa
[skip ci]Add comment for stopNode (#12574)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-01 22:01:33 +08:00
xige-16
d9af522af5
[skip ci]Add comment for removeNodeInfo (#12573)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-01 21:59:31 +08:00
godchen
b45d7baf97
Add logs for add delta channels (#12347)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-12-01 16:39:31 +08:00
xige-16
60831cae99
[skip ci]Add comment for getNodeInfoByID (#12493)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-30 21:23:34 +08:00
xige-16
0abc0ecf20
[skip ci]Add comment for registerNode (#12492)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-30 21:21:39 +08:00
xige-16
300027b0d2
[skip ci]Add comment for getNumDmChannels (#12491)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-30 21:19:43 +08:00
xige-16
b1da696767
[skip ci]Add comment for getSegmentInfoByNode (#12411)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-29 21:21:41 +08:00