Commit Graph

51 Commits

Author SHA1 Message Date
edward.zeng
4660edaaf4
[skip e2e] Refine querynode impl comment (#14137)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-24 13:26:30 +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.zhang
b16bbb1ed2
Add log for GetComponentStates in querynode (#12713)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-06 15:25:35 +08:00
XuanYang-cn
5071035701
[skip ci]Update license for qn impl (#12726)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-12-03 19:25:45 +08:00
godchen
3f060f4028
Remove querynode grpc error (#12532)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-12-01 22:13:37 +08:00
bigsheeper
496f3d0009
Move AddQueryChannel to taskScheduler in query node (#12294)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-30 10:29:43 +08:00
bigsheeper
db3ad2bc5f
Disable log print in GetSgementInfo (#12139)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-25 17:49:19 +08:00
bigsheeper
d2dae89f4c
Return success if query node is unhealthy in GetComponentStates (#12202)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-25 15:03:16 +08:00
Xiaofan
0aaa87a79a
Fix MsgStream inconsistent seek (#12042)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-11-24 10:25:15 +08:00
Xiaofan
f654621650
Remove the etcd deletion of segment data path on querynode (#11863)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-11-17 12:13:10 +08:00
xige-16
98ad823666
[skip ci] Fix golint for GetMetrics (#11596)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-10 23:56:10 +08:00
godchen
639800241d
Make flow graph for delta channel (#11379)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-09 09:27:04 +08:00
xige-16
82c199227c
Add execute logic for balancing sealed segments (#11343)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-06 15:22:56 +08:00
xige-16
b7644c0c03
[skip ci] Add comments for GetMetrics (#11347)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-05 22:01:03 +08:00
xige-16
9fcfbde368
Add getNodeInfoByID and getSegmentInfoByNode function for cluster (#11247)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-05 16:00:55 +08:00
Xiaofan
d81b15163f
Seek Query/Query Result channel to Latest (#10985)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-11-05 14:57:44 +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
xige-16
48fb8174fa
[skip ci] Add comments for ReleaseSegments (#11192)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-03 23:13:26 +08:00
xige-16
4df2c23780
[skip ci] Add comments for WatchDmChannels (#11119)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-02 22:00:38 +08:00
xige-16
7c588e5652
[skip ci] Add comments for LoadSegments (#11118)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-02 21:58:22 +08:00
xige-16
aa64b64214
[skip ci] Add comments for GetSegmentInfo (#11117)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-02 21:56:34 +08:00
xige-16
90ceca8bb5
[skip ci] Add comments for ReleasePartitions (#11049)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-01 22:58:53 +08:00
xige-16
4f8083c48d
[skip ci] Add comments for RemoveQueryChannel (#11048)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-01 22:57:07 +08:00
xige-16
b632de8dd2
[skip ci] Add comments for AddQueryChannel (#11047)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-01 22:32:33 +08:00
xige-16
7c9cab042b
[skip ci] Add comments for ReleaseCollection (#10959)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-30 19:02:41 +08:00
xige-16
74b6107f5e
[skip ci] Add comments for GetStatisticsChannel (#10958)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-30 19:00:52 +08:00
xige-16
ba40193d69
[skip ci] Add comments for GetComponentStates (#10957)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-30 18:58:59 +08:00
xige-16
95159ec53c
[skip ci] Add comments for GetTimeTickChannel (#10924)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-29 20:10:43 +08:00
xige-16
80215eb2f0
Retruen segment state when get query segment info (#10730)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-27 19:28:21 +08:00
xige-16
a06dab29d7
Fix query coord set seek position error (#10651)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-26 19:24:23 +08:00
bigsheeper
2d984ba0d1
Fix getSegmentInfo in query node (#9549)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-20 19:47:35 +08:00
bigsheeper
ae5d2ee9ba
Init global sealed segments and seek query channel when AddQueryChannel (#9543)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-15 20:35:05 +08:00
bigsheeper
52126f2d5a
Dynamic add tSafe watcher, use sync.Cond instead of selectCase, add ref count (#8050)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-24 13:57:54 +08:00
bigsheeper
b465e8f9a4
Remove redundant check and add addQueryChannel unittest for query node (#7944)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-16 09:47:48 +08:00
bigsheeper
3c01839d0d
Add impl and plan unittests for query node (#7712)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-11 17:22:01 +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
bigsheeper
4123deef9e
Return error message in grpc.LoadSegment in query node (#6908)
* return load error

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>

* init streaming meta in loadSegment

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>

* fix excluded init

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>

* improve impl

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-08-03 22:01:27 +08:00
bigsheeper
e8ea8b51d5
improve query node log (#6897)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-07-31 10:47:22 +08:00
xige-16
2b720fd2f7
Fix load hang when restart querynode many time in short time (#6351)
* fix load hang when restart querynode many time in short time

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

* add multi queryNode ut

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

* add ut for restart querynode

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

* set queryCoord contex to load collection

Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-07-13 14:16:00 +08:00
yukun
b72e4c6372
Merge search_collection and retrieve_colletion into query_collection (#6037)
* Merge search_collection and retrieve_colletion into query_collection

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Fix static-check

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-23 20:26: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
bigsheeper
cdbc6d2c94
Refactor query node and query service (#5751)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>

Co-authored-by: xige-16 <xi.ge@zilliz.com>
Co-authored-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-15 12:41:40 +08:00
zhenshan.cao
7dac20c35c
Add log for poxynode transform data and querynode segment insert (#5627)
* Add log for poxynode transform data and querynode segment insert

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>

* Decrease print times

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-06-05 16:21:36 +08:00
zhenshan.cao
b0b8f58192
Fix bug: search timeout (#5557)
* Fix bug: search timeout

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>

* Add log and fix unittest bug

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-06-03 14:58:34 +08:00
yukun
dcb4161c9f
Fix retrieve_service (#5531)
* Fix retrieve_service

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Fix retrieve_collection

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-02 19:18:33 +08:00
xige-16
fce792b8bf
Add historical and streaming module in querynode (#5469)
* add historical and streaming

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>

* fix GetSegmentInfo

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>

* pass regression test

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

Co-authored-by: bigsheeper <yihao.dai@zilliz.com>
2021-05-28 10:26:30 +08:00
Xiangyu Wang
82ccd4cec0
Rename module (#4988)
* Rename module

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-04-22 14:45:57 +08:00
bigsheeper
71b8f309b2 Add licence to query node and query service
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-04-19 13:47:10 +08:00
bigsheeper
08c5134286 Fix collection cannot be found when searching
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-04-16 17:37:50 +08:00
bigsheeper
9e7559b865 Make query node asynchronously load and release collection
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-04-16 14:40:33 +08:00