Commit Graph

7073 Commits (41794ec3a6fd2bafef35946becf8b00461fce0a7)

Author SHA1 Message Date
congqixia 38f5b0826f
Add SaveBinlogPaths grpc in dataservice ()
* Add SaveBinlogPaths grpc in dataservice

* fix merged compile error

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-05-20 11:34:45 +08:00
ThreadDao 613cf21950
add cases for collection with data ()
- add cases for collection with data
- cancel import *

See also:   

Signed-off-by: ThreadDao yufen.zong@zilliz.com
2021-05-20 03:03:45 +00:00
XuanYang-cn 1c779f3efd
Refactor ddl binlog flush ()
DDL won't auto-flush now

See also:  ,  

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-05-19 11:42:07 +00:00
yukun a7bb701f73
Add Retrieve method grpc definition ()
See also:  

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-05-19 10:45:15 +00:00
godchen e224d1e725
Add SessionManager ()
Add SessionManager.
Resolves:  

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-05-19 10:36:05 +00:00
quicksilver 3db653f2d0
Update cpp thirdparty source URL ()
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>

Resolves: 
2021-05-19 09:39:29 +00:00
congqixia d5ab8ac345
Restore flush and stats stream pos ()
Restore segment flush stream & statistic stream to last success pos

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-05-19 06:13:53 +00:00
XuanYang-cn 4b712284f2
Add ddl flush design ()
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-05-19 04:06:16 +00:00
ThreadDao 9b37cab922
Add cases for creating collections ()
- add cases for creating collections
- change unique str from var to function
- improve coding standards

See also:   

Signed-off-by: ThreadDao yufen.zong@zilliz.com
2021-05-19 03:34:52 +00:00
XuanYang-cn fc630bc1c8
Correct auto-flush behaviour ()
Before this PR, DataNode considered auto-flush a valid flush
complete. It's wrong. So I open this PR to correct this behaviour
in DataNode.

Now binlog paths from auto-flush will be buffered in replica,
waiting until the manul flush to save into etcd all together.

See also: , 
A follow up job of  

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-05-18 11:45:00 +00:00
sunby 6dba0fd9cf
Add dataservice recover design docs ()
This document includes changes about dataservice and new features 
to support the recovery after it crashed.

Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-05-18 11:20:26 +00:00
godchen ccc0130bb4
Add exclusive parameter ()
Add exclusive parameter.
Issue  

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-05-18 11:07:27 +00:00
neza2017 d68ee3fbc2
query base on timeline ()
query base on timeline, add timestamp on these queries:
- ShowCollections
- HasCollection
- DescribeCollection

Resolves: 

Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
2021-05-18 09:12:17 +00:00
XuanYang-cn c3ac1375d8
Add buffer function for auto flush ()
Auto-flush of a segment is not considered flush-completed.
So we need to buffer binlog paths generated by auto-flush.

See also:   

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-05-18 08:33:05 +00:00
neza2017 49f6542b1d
query master service's with timestamp ()
let meta support snapshot
so collection could query meta with timestamp

Resolves: 

Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
2021-05-18 06:18:02 +00:00
Xiangyu Wang c775744136
Add the design doc of retrieve entity ()
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-05-18 03:44:04 +00:00
godchen cca75583a6
Add session util ()
Add session util.
Issue  

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-05-18 03:39:21 +00:00
XuanYang-cn ca03488c83
Update design about O1-1 ()
Signed-off-by: yangxuan <xuan.yang@zilliz.com>

The design procedure can be seen: 
2021-05-18 03:17:38 +00:00
Cai Yudong e8ceb37f81
Add ShardsNum when create collection ()
Updata PhysicalChannelNames and VirtualChannelNames based
on ShardsNum when create collection, and update collVChan2Chan
map.

Resolves:  

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-05-17 11:15:01 +00:00
ThreadDao 5d0aab05b9
add collection cases level and change get_connection to create_collection ()
- update get_connection to create_connection
- add case level for collection
- optimize collection cases


Signed-off-by: ThreadDao yufen.zong@zilliz.com
2021-05-17 09:37:17 +00:00
quicksilver 689f750c1a
Fix run pytest bug ()
* Change volumes with pytest docker-compose

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>

* Fix run pytest bug

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-05-17 16:05:04 +08:00
quicksilver 16ad186874
Change volumes with pytest docker-compose ()
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-05-17 15:29:50 +08:00
ThreadDao 1dabbfc835
Add collection cases ()
Add a part of the test case for the Collection interface

See also:   

Signed-off-by: ThreadDao yufen.zong@zilliz.com
2021-05-17 02:14:35 +00:00
Cai Yudong 001795ee70
Optimize CreateIndex routine in master service ()
Remove CreateIndexTask struct and indexTaskQueue

Resolves:  

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-05-15 10:08:08 +00:00
Xiangyu Wang cd11c50932
[skip ci]Update mergify ()
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-05-15 13:02:31 +08:00
quicksilver b37861ad5f
Increase ephemeral storage size for jenkins slave ()
Signed-off-by: jeffoverflow zhifeng.zhang@zilliz.com
2021-05-15 02:13:17 +00:00
neza2017 a124568664
fix makefile ()
just remove standalone and milvus from $GOPATH/bin,
not every thing, on command of make clean

Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
2021-05-15 02:02:48 +00:00
quicksilver d17ed98fff
Allow jenkins slave pod to remain active for a while ()
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-05-14 14:09:40 +00:00
Cai Yudong 08bb1b2ec3
Resend unsuccessful ddMsg when master start ()
Resend unsuccessful ddMsg when master start

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-05-14 21:26:06 +08:00
quicksilver 9ffb42d448
Deny jenkins slave pod to remain active for a while ()
* Deny jenkins slave pod to remain active for a while

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-05-14 18:23:30 +08:00
quicksilver 0a21933d84
Specified Milvus Helm Chart path in E2E test ()
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-05-14 10:12:03 +00:00
godchen 168b917f5b
Add session util doc ()
Add session util doc.

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-05-14 09:09:14 +00:00
XuanYang-cn 9151e13480
Remove not using dependence and proto ()
- FlushMsg proto message is no longer in use

- We don't depend on "github.com/prometheus/common/log"

Signed-off-by: yangxuan xuan.yang@zilliz.com
2021-05-14 08:50:55 +00:00
XuanYang-cn aa9ed7e98f
add datanode design doc ()
* add datanode design doc
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-05-14 14:56:32 +08:00
neza2017 b1e95ccf28
[skip-ci] master service recovery on power failure ()
design doc about master service recover on power failure
Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
2021-05-14 06:25:46 +00:00
yukun 4e6e502df1
Add data sorter in storage ()
GetEntityByID needs the flushed segment to be sorted by RowID field, 
then do binary search to get the target id and entities.

See also:  

Signed-off-by: fishpenguin kun.yu@zilliz.com
2021-05-14 02:59:49 +00:00
godchen b74afd7a0e
Add service registration ()
Add service registration.
Part of Issue .

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-05-14 02:05:18 +00:00
紫晴 d35092cc09
Update check function ()
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
2021-05-14 01:27:41 +00:00
紫晴 ec3d8c98a4
update test code ()
update test code
2021-05-13 04:17:15 +00:00
quicksilver 8b7181c584
Update install_milvus.sh ()
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>

Delete milvus PVC does not affect E2E Test workflow
2021-05-13 01:47:26 +00:00
Cai Yudong 7b83b11e95
Save ddmsg info and type into ETCD ()
Save ddmsg info and type into ETCD to support re-send ddmsg 
when system restart or recover from failure ()

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-05-12 07:33:53 +00:00
Xiangyu Wang d543e2c6cc
[skip ci]Update mergify ()
Signed-off-by: scsven <wxyucs@gmail.com>
2021-05-12 10:36:00 +08:00
yanliang567 acc631d632
[skip ci] Change code owner for test folders ()
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2021-05-12 09:42:26 +08:00
quicksilver 9e848b184e
Add publish-krte-images.yaml ()
* Add publish-krte-images.yaml

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>

* Update publish-krte-images.yaml

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-05-11 19:28:29 +08:00
紫晴 1c8717c2a3
add refactor test codes ()
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
2021-05-11 17:59:29 +08:00
Xiangyu Wang 2ae529a673
[skip ci]Update mergify rules ()
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-05-11 10:50:17 +08:00
yanliang567 b9d3d965e4
[skip ci] Add new tests directories ()
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2021-05-11 10:18:13 +08:00
dragondriver 64ab4d740b
Add row_count to partition statistics ()
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-05-10 09:39:08 +00:00
sunby a00422bac2
Remove unused interfaces in dataservice ()
Remove unused interfaces in dataservice

Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-05-10 09:03:24 +00:00
Cai Yudong 6f3a460b4e
Add pulsar seek example in pulsar_client_test.go ()
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-05-10 02:32:10 +00:00