Commit Graph

61 Commits

Author SHA1 Message Date
cai.zhang
745d5f5a8a
[skip e2e]Add comment for newGrpcClient (#15144)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2022-01-12 11:13:37 +08:00
Cai Yudong
f8f61fb116
Use BaseParams etcd configuration for all components (#15012)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-01-07 16:15:26 +08:00
cai.zhang
47e19fdeab
[skip e2e]Reorder head files for indexcoord/client.go (#14729)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2022-01-04 10:55:18 +08:00
cai.zhang
9baa6e84c3
[skip e2e]Reorder head files for indexcoord/service.go (#14663)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-12-31 16:13:19 +08:00
Xiaofan
69087ff8dd
Support embedded etcd (#14333)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-12-29 14:35:21 +08:00
shaoyue
017f04aea1
[skip e2e] Add comment for indexcoord.Params (#14438)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-28 19:36:51 +08:00
Cai Yudong
891c202b73
Use GlobalParamTable for all components (#13885)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-23 18:39:11 +08:00
Cai Yudong
a101d1d3c5
[skip e2e] Unify component import alias (#13765)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-20 16:43:05 +08:00
Cai Yudong
966119526a
Rename Params to ClientParams for all component clients (#13743)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-20 14:25:25 +08:00
Cai Yudong
cf50e9ac55
Use GrpcServerConfig and GrpcClientConfig for distributed components (#13469)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-17 10:23:15 +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
jaime
263e22fe66
[skip ci] Add graceful stop grpc server log in indexcoord (#12922)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
2021-12-08 14:59:56 +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
Xiaofan
1d9f4e0a5c
Add log when server is stopped (#12233)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-11-30 10:59:42 +08:00
dragondriver
3850979308
Show stack trace info when rpc fail (#12290)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-29 14:29:24 +08:00
zhenshan.cao
6831589b0b
Enable keepalive on the grpc (#12328)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-11-29 14:25:17 +08:00
zhenshan.cao
543c4891b3
Prevent the client from closing grpc connection by mistake (#11918)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-11-18 11:17:12 +08:00
cai.zhang
da0e5b7b0b
[skip ci]Fix golint for initPort in indexcoord (#12045)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-11-18 10:43:20 +08:00
cai.zhang
732cb95339
[skip ci]Fix golint for LoadFromEnv in indexcoord (#12044)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-11-18 10:41:25 +08:00
Xiaofan
71e814f796
Remove common.yaml and component.yaml (#11661)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-11-12 21:25:08 +08:00
groot
6496b624d9
Add log (#10716)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-10-27 14:53:15 +08:00
XuanYang-cn
b2bb5fc004
[skip ci]Update license on distributed ic.client (#10300)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-20 19:43:28 +08:00
XuanYang-cn
0c75101289
[skip ci]Update licens on distributed ic (#10297)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-20 19:39:49 +08:00
groot
95502ce0ca
Rename test object (#9887)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-10-14 18:48:56 +08:00
groot
7205fd3d9b
Remove unused interface (#9877)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-10-14 17:42:35 +08:00
cai.zhang
e6eff2dfea
[skip ci]Fix golint in indexcoord/prama_table.go (#9298)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-05 22:42:18 +08:00
cai.zhang
325dbc59cf
[skip ci]Fix golint in indexcoord/prama_table.go (#9229)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-04 21:36:01 +08:00
cai.zhang
a441e29c82
[skip ci]Fix golint in indexcoord/prama_table.go (#9227)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-04 21:34:12 +08:00
cai.zhang
a5408be308
[skip ci]Fix golint in indexcoord/prama_table.go (#9228)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-04 21:32:10 +08:00
cai.zhang
35aa54dcd9
[skip ci]Fix golint in indexcoord/prama_table.go (#9125)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-03 10:28:09 +08:00
cai.zhang
efabe9ecd1
[skip ci]Fix golint in indexcoord/server.go (#9123)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-03 10:26:07 +08:00
cai.zhang
ef244bd9c0
[skip ci]Fix golint in indexcoord/client/client.go (#8973)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-30 19:01:21 +08:00
groot
b17d253db1
Add unittest for distributed/querynode (#8834)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-30 10:02:02 +08:00
groot
a7a6ff1236
Remove unnecessary connection of indexcoord (#8874)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-29 18:50:00 +08:00
cai.zhang
85cf0624ac
[skip ci]Fix golint in indexcoord/client (#8784)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-09-28 21:56:32 +08:00
Xiaofan
34157a4943
Unify Param Table name (#8491)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-24 21:35:57 +08:00
cai.zhang
459174d78a
Fix golint for distributed indexcoord (#8496)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-24 20:39:56 +08:00
cai.zhang
d308661f63
Add comment for indexcoord server (#8416)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-23 21:35:55 +08:00
Xiaofan
f5173b595f
Add a channel prefix for all channels (#8166)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-23 10:53:53 +08:00
dragondriver
4f9d124ed4
Fix data race of proxy ut (#8119)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-17 19:45:42 +08:00
cai.zhang
4814f9cb1c
Add opentrace log for index component (#7946)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-16 10:07:48 +08:00
groot
ed322cfd8e
Add unittest for distributed indexcoord (#7990)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-15 22:12:02 +08:00
cai.zhang
e6e03fc93f
Add unittest for index component (#7475)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-06 17:54:41 +08:00
godchen
bf2c427609
Fix connection timeout (#7203)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-08-20 17:52:11 +08:00
dragondriver
648d22ee40
Expose metrics of IndexCoord and IndexNodes (#7157)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-08-19 10:28:10 +08:00
cai.zhang
382fa6f274
IndexNode dose not need to wait for IndexCoord to start to comlete (#7074)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-08-13 18:12:08 +08:00
dragondriver
b3f10ae5cc
Fix 6990, enhance the log when parsing grpc recv/send parameters (#6993)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-08-12 16:16:09 +08:00
godchen
7557616fea
Change client timeout (#6982)
* Change client timeout

Signed-off-by: godchen <qingxiang.chen@zilliz.com>

* change timeout

Signed-off-by: godchen <qingxiang.chen@zilliz.com>

* fix error

Signed-off-by: godchen <qingxiang.chen@zilliz.com>

* change timeout time

Signed-off-by: godchen <qingxiang.chen@zilliz.com>

* fix conflicts

Signed-off-by: godchen <qingxiang.chen@zilliz.com>

* fix ut

Signed-off-by: godchen <qingxiang.chen@zilliz.com>

* remove ut

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-08-06 14:09:26 +08:00
dragondriver
ad77a6e0d4
Fix #6859, increase the MaxCallRecvMsgSize and MaxCallSendMsgSize of grpc client (#6861)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-08-04 13:03:24 +08:00
cai.zhang
f469a315d6
Refactor the logic of assign tasks in IndexCoord (#6328)
* Refactor the logic of assign tasks in IndexCoord

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Fix bugs

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Fix bug for unittest

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Add lock for map

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Improve code

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Fix unittest bug

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Reduce duriation for timetick

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Update orm version

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Reset sdk version

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Fix bug

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Reset orm version

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Reset test ip

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Fix bug

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Fix bug for unissued

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Rename some variables

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Fix bug

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Use break instead of continue in select::case

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>
2021-07-14 14:15:55 +08:00