dragondriver
f6ab3c81df
Add channelsMgr to proxy ( #5323 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-05-21 01:52:20 +00:00
yukun
f18dfb4ff6
Add RetrieveTask implementation ( #5313 )
...
Resolves : #5257
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-05-20 07:02:31 +00:00
yukun
a7bb701f73
Add Retrieve method grpc definition ( #5294 )
...
See also: #5253
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-05-19 10:45:15 +00:00
godchen
e224d1e725
Add SessionManager ( #5288 )
...
Add SessionManager.
Resolves : #5174
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-05-19 10:36:05 +00:00
godchen
b74afd7a0e
Add service registration ( #5189 )
...
Add service registration.
Part of Issue #5174 .
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-05-14 02:05:18 +00:00
dragondriver
64ab4d740b
Add row_count to partition statistics ( #5162 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-05-10 09:39:08 +00:00
dragondriver
b7977698a8
Change the codec style of expr plan from text to binary ( #5129 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-05-07 11:27:17 +00:00
dragondriver
e5d4963ba0
Distinguish the dsl and expr in proxy and query node ( #5118 )
...
Pass a parameter `IsExpr` from proxy to query node, so query
node can create search plan according to the variable `IsExpr`.
It makes `segcore` unnecessary to distinguish `dsl` or `expr`
using dynamic exception. When `IsExpr` is set to true, query
node will call `CreatePlanByExpr` according to the passed
information about expression. Otherwise query node will keep
still to use `CreatePlan` according to the `dsl` information. At
the same time, this pr adds some unittests to `CreatePlanByExpr`,
these unittests translate already exist case with `dsl` to case with
`expr`.
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-05-07 07:20:47 +00:00
FluorineDog
396b3f33e9
Support TermExpr, NotExpr, LogicalExpr ( #5096 )
...
1. Support Term, like `A in [1, 2, 3]`
2. Support Not, like `! A < 3`
3. Support logical combination, like `A < 3 && B > 5 or C == 0`
Type: Feature
Signed-off-by: fluorinedog <fluorinedog@gmail.com>
2021-04-30 07:19:52 +00:00
FluorineDog
88f5642603
Add plan proto and support basic boolean expr parser ( #5088 )
...
**What type of PR is this?**
- [x] Feature
**What this PR does / why we need it:**
This PR supports boolean expression as DSL.
1. The goal of this PR is to support predicates
like `A > 3 && not B < 5 or C in [1, 2, 3]`.
2. Defines `plan.proto`, as Intermediate Representation (IR)
used between go and cpp.
3. Support expr parser, convert predicate expr to IR
in proxynode, while doing static check there
4. Support IR to AST in cpp, enable the execution
2021-04-29 08:48:06 +00:00
godchen
004598f796
Remove field in desc index interface. ( #5080 )
...
* remove field in desc index interface
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
* trigger GitHub actions
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-04-28 09:48:38 +00:00
godchen
94f0966225
Add get index build progress interface implementation ( #5067 )
...
Add get index build progress interface implementation.
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-04-28 03:15:28 +00:00
godchen
060f7ca0d2
Add get index build progress proto ( #5049 )
...
Add get index build progress proto.
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-04-27 07:46:45 +00:00
godchen
4f7e393bfd
Remove useless config ( #4997 )
...
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-04-23 10:10:46 +08:00
bigsheeper
dadb02db75
Remove unused params in query node ( #4987 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-04-23 10:07:45 +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
sunby
fad94fb576
Remove unsed configs ( #4990 )
...
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-04-22 03:04:59 +00:00
dragondriver
dc7db73251
Add copyright annotations to proxynode and proxyservice
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-04-19 10:09:43 +08:00
XuanYang-cn
e281f6a4a1
Remove useless configs in config files
...
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-04-13 10:04:39 +08:00
sunby
751c9d4e81
Refactor meta.go
...
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-04-09 09:55:04 +08:00
dragondriver
57831b9978
Add unittest to insertChannelsMap in proxy
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-04-08 15:41:28 +08:00
dragondriver
846fd8a154
Add unittest to conf adapter in proxy
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-04-08 09:51:04 +08:00
dragondriver
bfb7ca0df6
Add unittest to time tick logic in proxy service
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-04-07 10:06:17 +08:00
dragondriver
decc80a525
Add unittest to proxy service
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-04-06 14:12:57 +08:00
zhenshan.cao
c6950eb7eb
Add log for allocator
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-04-01 13:37:18 +08:00
xige-16
c10b36f188
fix getting wrong offset when segment preinsert
...
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-03-31 16:16:58 +08:00
zhenshan.cao
efbf4452c5
Add log for port changed or proto unmarshal error
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-03-30 20:19:30 +08:00
sunby
ff8ebd5f42
Fix bug of estimating record size
...
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-03-29 15:14:51 +08:00
cai.zhang
c4a58d259a
Add deploy mode env variable
...
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-03-27 11:56:57 +08:00
dragondriver
41e1975611
Parallelize the processing of loading binlog and saving index files
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-03-26 11:19:02 +08:00
quicksilver
7ad9b36207
Update reviewdog/action-hadolint github action version to v1.16.1
...
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-03-25 14:41:46 +08:00
dragondriver
1b743e5c6c
Parallelize the processing of SearchTask.PostExecute
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-03-25 10:14:09 +08:00
zhenshan.cao
21ffc660b0
Get rid of memory panic
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-03-23 19:55:00 +08:00
dragondriver
49c6eeb052
Add useful debug log in proxy
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-03-22 19:28:43 +08:00
zhenshan.cao
c2734fa55f
Fix bug and enchance system
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-03-22 16:36:10 +08:00
groot
2280791128
Add memory message stream for search
...
Signed-off-by: groot <yihua.mo@zilliz.com>
2021-03-19 20:16:04 +08:00
bigsheeper
ba65c38d40
Fix Deadline Exceeded
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-03-19 17:50:26 +08:00
zhenshan.cao
ec8ad89900
Delete uncessary print
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-03-15 19:47:13 +08:00
sunby
7bb806b5f6
Log msgID and role when log collection
...
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-03-13 11:59:24 +08:00
dragondriver
dd20ab44b8
Add interface of check param util
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-03-13 09:57:22 +08:00
cai.zhang
012f5f360e
Add init log logic for index and proxy
...
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-03-12 19:47:37 +08:00
godchen
f3649f0419
Refactor interface and proto
...
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-03-12 14:22:09 +08:00
ThreadDao
ca916a5c47
Add ci nightly
...
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2021-03-11 14:14:29 +08:00
dragondriver
0f2a377b62
Delete redundant insert log
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-03-11 11:27:42 +08:00
xige-16
09ae985daa
Fix wrong error code in master_service_test.go
...
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-03-10 22:06:22 +08:00
del-zhenwu
b1763c3690
Disable xdist in test cases
...
Signed-off-by: del-zhenwu <zhenxiang.li@zilliz.com>
2021-03-10 15:27:26 +08:00
neza2017
7b2d67242d
Fix describe segment if index not exist
...
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-03-10 14:45:35 +08:00
dragondriver
af32f442bb
Split big insert message into serveral smaller
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-03-09 16:18:58 +08:00
quicksilver
455cc59dbb
Update publish-test-images.yaml
...
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-03-09 13:55:35 +08:00
cai.zhang
aa5ecbdc02
Use the project log instead of standard log of proxyservice and proxynode
...
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-03-08 19:39:36 +08:00
Cai Yudong
c795cdbe2a
Change minSegmentSizeToEnableIndex default to 1024
...
Signed-off-by: Cai Yudong <yudong.cai@zilliz.com>
2021-03-07 13:37:25 -06:00
neza2017
014c4fe8ce
Add config of minSegmentSizeToEnableIndex
...
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-03-08 15:46:51 +08:00
XuanYang-cn
403212c5fa
Fix describe_index test cases
...
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-03-08 15:00:08 +08:00
FluorineDog
ec0407d5f1
Support schema verifier
...
Signed-off-by: FluorineDog <guilin.gou@zilliz.com>
2021-03-08 12:41:46 +08:00
ThreadDao
7a3223dc81
tags collection stats
...
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2021-03-08 10:09:48 +08:00
dragondriver
c68a8d35bf
Remove timeout controlled by server, use timeout client passed instead
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-03-05 20:43:19 +08:00
Xiangyu Wang
e5d595564a
Add log for singlenode
...
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-03-05 18:16:50 +08:00
quicksilver
74154a11a4
Fix deploy error during regression stage
...
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-03-05 16:52:45 +08:00
XuanYang-cn
a5c6f40c60
Enable tests in test_index.py
...
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-03-05 15:21:33 +08:00
sunby
ddddd65d10
Delete internal/errors package
...
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-03-05 10:15:27 +08:00
dragondriver
801396e3ef
Disable register link logic, use proxy node directly
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-03-04 22:27:12 +08:00
sunby
6dc938e6f4
Refactor code
...
1. add error as return value
2. check assertion success
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-03-04 18:58:16 +08:00
godchen
3ba0dc2f44
Change doc
...
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-03-04 10:35:28 +08:00
godchen
7b9fdd7f29
Add opentracing
...
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-02-26 17:44:24 +08:00
cai.zhang
f5977a1302
Change retry times and add retry logic
...
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-02-26 15:17:47 +08:00
zhenshan.cao
bbc65e0b14
Remove checking of VectorFieldMetricType in create_collection
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-24 18:14:59 +08:00
bigsheeper
08a020798e
Release collection and partitions
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-24 17:24:51 +08:00
XuanYang-cn
fd562f9f9c
Update doc: add proxy graph
...
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-02-24 09:48:17 +08:00
sunby
ea1d9ea99a
Replace log in dataservice
...
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-23 09:58:06 +08:00
yukun
e786ad6aa8
Fix inconsistency of produce msg and consume msg with rmq
...
Signed-off-by: yukun <kun.yu@zilliz.com>
2021-02-22 16:34:15 +08:00
sunby
b07a371f25
Create a goroutine to receive msg for every consumer
...
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-22 09:58:34 +08:00
xige-16
861576f77a
Checkout field ids when load segment in query node
...
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-02-22 10:44:38 +08:00
BossZou
7ac1821cf1
Add RocksMQ throughout test
...
Signed-off-by: BossZou <yinghao.zou@zilliz.com>
2021-02-20 18:30:37 +08:00
BossZou
ae0e8b1a19
Init data service param before new DataServive
...
Signed-off-by: BossZou <yinghao.zou@zilliz.com>
2021-02-20 16:45:49 +08:00
cai.zhang
5c8747cf40
Make proxy retry time more frequently
...
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-02-20 16:14:10 +08:00
yukun
346b0a9549
Add unittest for RmqTtMsgStream
...
Signed-off-by: yukun <kun.yu@zilliz.com>
2021-02-20 15:58:19 +08:00
neza2017
1d3fdebcf4
Add drop index for proxy
...
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-02-20 15:38:44 +08:00
zhenshan.cao
d404d87633
Fix bug of getindexstate
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-19 09:52:06 +08:00
groot
dc3736281a
Integrate message stream
...
Signed-off-by: groot <yihua.mo@zilliz.com>
2021-02-08 14:30:54 +08:00
zhenshan.cao
faa23fde86
Fix getindexstate failed to fetch indexstate
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-08 14:20:29 +08:00
zhenshan.cao
2c9e226703
Add log for segment logic in proxy
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-07 16:44:11 +08:00
sunby
eba5b9ae27
Fix queryservice client init bug
...
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-07 13:53:40 +08:00
bigsheeper
b07b2484dc
Fix error when loading
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-07 10:29:58 +08:00
dragondriver
8f4995dab5
Fix DropCollection task in Proxy
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-07 09:56:39 +08:00
zhenshan.cao
39161cac9a
Add collectonScheam when calling load_collection and load_partition
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-06 21:17:18 +08:00
groot
b034740c6c
Make paramstable initialize once by using do_once
...
Signed-off-by: groot <yihua.mo@zilliz.com>
2021-02-06 13:39:15 +08:00
dragondriver
6ef82a59e5
Fix the bug when close the message stream of InsertTask
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-05 13:49:51 +08:00
godchen
0f620ab149
Fix invalidate metacache error
...
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-02-05 11:49:13 +08:00
dragondriver
e384222803
Fix the logic of node id allocator
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-05 11:25:52 +08:00
bigsheeper
1578c13224
Refactor collection replica
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-05 10:53:11 +08:00
bigsheeper
2ee54541aa
Fix query node address
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-05 10:25:47 +08:00
sunby
9c3ea487f6
Fix close insert msg stream bug
...
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-05 10:19:52 +08:00
godchen
c2ca2c276f
Fix response check error
...
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-02-04 19:34:35 +08:00
cai.zhang
4f2a1e7912
Fix bug for dataservice dockerfile
...
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-02-04 18:11:19 +08:00
dragondriver
e0e8e1605e
Implement the release-related task and load-related task in Proxy
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-04 17:47:19 +08:00
XuanYang-cn
560d2350ae
Fix datanode watchDmChannel bug
...
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-02-04 16:09:34 +08:00
godchen
d6200a5196
Fix meta cache error
...
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-02-04 15:54:16 +08:00
cai.zhang
55634dc5f3
Add interface of load and release collection and partition
...
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-02-04 15:31:02 +08:00
zhenshan.cao
b89e5a3240
Add GetQuerySegmentInfo
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-04 14:37:12 +08:00
sunby
71b6c88c6e
Defer lock's unlock in meta::DropSegment
...
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-04 11:52:10 +08:00