Commit Graph

64 Commits

Author SHA1 Message Date
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
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
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
xige-16
1a8e2e5e85
Establish a grpc connection When init queryNode client (#12236)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-24 19:27:15 +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
godchen
09f8fa1040
Add query coord watch delta channel (#11218)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-05 14:47:19 +08:00
cai.zhang
8d38adc7a3
[skip ci]Fix golint error for GetMetrics in QueryNode (#10555)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-25 18:07:24 +08:00
cai.zhang
96e89a9d4c
[skip ci]Fix golint error for GetSegmentInfo in QueryNode (#10554)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-25 18:05:34 +08:00
cai.zhang
fb7d1271a4
[skip ci]Fix golint error for ReleaseSegments in QueryNode (#10553)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-25 17:59:30 +08:00
cai.zhang
6ea7340dd5
[skip ci]Fix golint error for ReleaseCollection in QueryNode (#10510)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-23 18:27:27 +08:00
cai.zhang
7669075ae3
[skip ci]Fix golint error for ReleaseCollection in QueryNode (#10509)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-23 18:21:38 +08:00
cai.zhang
dc4ea15339
[skip ci]Fix golint error for LoadSegments in QueryNode (#10508)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-23 18:19:45 +08:00
cai.zhang
bf10fc6e7c
[skip ci]Fix golint error for WatchDmChannels in QueryNode (#10476)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-22 19:37:30 +08:00
cai.zhang
ebd7b4eee1
[skip ci]Fix golint error for AddQueryChannel in QueryNode (#10474)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-22 19:33:40 +08:00
cai.zhang
edf0d0bb27
[skip ci]Fix golint error for RemoveQueryChannel in QueryNode (#10475)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-22 19:31:42 +08:00
XuanYang-cn
64d0a2d37e
[skip ci]Update license for distributed qn.client (#10420)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-22 14:15:33 +08:00
cai.zhang
ecfca29adb
[skip ci] Fix golint for GetTimeTickChannel in QueryNode (#10395)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-21 21:59:23 +08:00
cai.zhang
51b9a9cd5c
[skip ci] Fix golint for GetComponentStates in QueryNode (#10394)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-21 21:57:33 +08:00
cai.zhang
331c630947
[skip ci] Fix golint for GetStatisticsChannel in QueryNode (#10396)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-21 21:49:25 +08:00
cai.zhang
e27c5357db
[skip ci]Fix golint error for Stop in QueryNode (#10306)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-20 19:58:49 +08:00
cai.zhang
505d3a51df
[skip ci]Fix golint error for Start in QueryNode (#10305)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-20 19:56:55 +08:00
cai.zhang
063c7859f5
[skip ci]Fix golint error for Init in QueryNode (#10304)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-20 19:55:07 +08:00
cai.zhang
a6ce06de6f
[skip ci]Fix golint error for NewClient in QueryNode (#10220)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-19 20:42:35 +08:00
cai.zhang
1d0e9dc6d7
[skip ci]Fix golint error for Client in QueryNode (#10219)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-19 20:40:40 +08:00
cai.zhang
62c65d234a
[skip ci]Fix golint error in distributed/querynode/client/param_table.go (#9645)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-11 21:38:49 +08:00
groot
cd03da2a9d
Add unittest for distributed/querynode (#8648)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-27 14:12:08 +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
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
groot
8fb961a0b0
Add unittest for distributed querynode (#7996)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-15 22:15:53 +08:00
xige-16
af574d17d5
Fix querycoord panic when stop nil conn of querynoClient (#7346)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-08-28 12:51:57 +08:00
xige-16
055d94ede1
Add ut for queryCoord (#7212)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-08-26 14:17:54 +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
7eb8a665b2
Expose metrics of QueryCoord and QueryNodes (#7113)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-08-17 10:06:11 +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
neza2017
8b89744c6b
search with exp (#6409)
* process float vector and binary vector field
on the search result

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

* add more debug info on etcd

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

* add debug info when grpc failed

Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
2021-07-10 10:21:52 +08:00
godchen
2a07124885
Change default grpc retry config (#6233)
* Change default grpc retry config

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

* fix error

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>

* add retry code

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

* change time

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-07-01 15:24:17 +08:00
godchen
1c1ffc8b32
Add connect err log (#6186)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-06-29 14:30:17 +08:00
godchen
73996aba91
Change client init timeout (#6107)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-06-25 15:50:23 +08:00
godchen
3785bb6330
Change retry times (#6083)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-06-24 19:05:06 +08:00
godchen
fd07a44dba
Fix error in retry refactor (#6000)
* Fix error in retry refactor

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

* fix error

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-06-23 11:48:06 +08:00
godchen
99be4c09a5
change retry (#5996)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-06-23 09:24:10 +08:00
xige-16
7039fb7c82
Fix the problem of stuck after loadBalance and loadFieldData error (#5960)
* delete nodeInfo after nodeDown

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix load balance can's stop

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix load field data error

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* contiue task loop after error in queryService

Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-06-22 14:10:09 +08:00
godchen
8643127e99
Change grpc retry (#5925)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-06-22 09:46:06 +08:00
godchen
b7bf26b486
Update grpc trace (#5817)
* Update grpc trace

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

* go fmt

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

* remove useless code in mod

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-06-17 14:17:56 +08:00
zhenshan.cao
33a43f48c8 [skip ci] Fix bug: Search timeout and refactor client init logic (#5735)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-06-15 16:24:48 +08:00
congqixia
7d9f299ff6 Change default unregister policy (#5710)
* Change default unassign policy

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>

* Fix gofmt

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-06-15 16:06:13 +08:00