Commit Graph

5411 Commits (a7b7ca68da4404848681147d52ef9ae35fbe37cf)

Author SHA1 Message Date
zxf2017 14b3e95960
add head file to fix two build warnings (#2195)
* add head file to fix two build warnings

Signed-off-by: zxf <zhuxiaofeng07936@hellobike.com>

* fstream.h => fstream

Signed-off-by: zxf <zhuxiaofeng07936@hellobike.com>

Co-authored-by: zxf <zhuxiaofeng07936@hellobike.com>
2020-04-30 06:10:44 +00:00
Wang XiangYu be2feb1531
Log with request id (#2192)
* add function to get request id

Signed-off-by: wxyu <xy.wang@zilliz.com>

* update log in GrpcRequestHandler

Signed-off-by: wxyu <xy.wang@zilliz.com>

* update request id format

Signed-off-by: wxyu <xy.wang@zilliz.com>
2020-04-30 13:39:55 +08:00
feisiyicl e77fd12286
Feisiyicl 2190 memory usage (#2191)
* rename MILVUS_ENABLE_PROFILING to ENABLE_CPU_PROFILING, and add ENABLE_MEM_PROFILING

Signed-off-by: feisiyicl <7764126@qq.com>

* optimize ReadOnlyArrayInvertedLists

Signed-off-by: feisiyicl <7764126@qq.com>

* update changelog

Signed-off-by: feisiyicl <7764126@qq.com>

* retry ci

Signed-off-by: feisiyicl <7764126@qq.com>

* fix build issue

Signed-off-by: feisiyicl <7764126@qq.com>
2020-04-30 02:03:54 +00:00
del-zhenwu 6283ee1bed
Remove connect (#2193)
* remove disconnect test case

Signed-off-by: zw <zw@zilliz.com>

* stable case

Signed-off-by: zw <zw@zilliz.com>

* re-trigger

Signed-off-by: zw <zw@zilliz.com>

* update cases

Signed-off-by: zw <zw@zilliz.com>
2020-04-30 01:36:24 +00:00
BossZou 2c889636ab
Check Storage permission (#2174)
* add class storage checker

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* code format

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* code format

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* add cpu instruction sets check (#2055)

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* add more details for storage

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* Check storage path permission (fix #2173)

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* Fix logs path access fail issue

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

Co-authored-by: Jin Hai <hai.jin@zilliz.com>
2020-04-29 17:23:32 +00:00
del-zhenwu 45b835cc15
remove disconnect test case (#2183)
* remove disconnect test case

Signed-off-by: zw <zw@zilliz.com>

* stable case

Signed-off-by: zw <zw@zilliz.com>

* re-trigger

Signed-off-by: zw <zw@zilliz.com>
2020-04-29 13:54:11 +00:00
feisiyicl 9b2368016c
#1946 fix load index file CPU2GPU fail during searching (#2182)
Signed-off-by: feisiyicl <7764126@qq.com>
2020-04-29 20:01:52 +08:00
shengjun.li a76e705a92
Using elkan K-Means to improve IVF (#2180)
Signed-off-by: shengjun.li <shengjun.li@zilliz.com>
2020-04-29 19:58:50 +08:00
feisiyicl b3aa06fce1
add config simd_type (#2179)
* add config simd_type

Signed-off-by: feisiyicl <7764126@qq.com>

* update changelog

Signed-off-by: feisiyicl <7764126@qq.com>
2020-04-29 17:46:36 +08:00
quicksilver e881ccbd30
Fix #2175 (#2177)
* Wait for helm uninstall chart

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

* Wait for helm uninstall chart

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2020-04-29 04:22:39 +00:00
BossZou 0a2b77c363
Upgrade http thirdparty oatpp to v1.0.0 (fix #2153) (#2157)
* Upgrade thirdparty oatpp to v1.0.0 (fix #2153)

Signed-off-by: yhz <413554850@qq.com>

* adjust header order

Signed-off-by: Yhz <yinghao.zou@zilliz.com>
2020-04-28 15:57:51 +00:00
groot ebb01aa9b2
Fix failed to open file (#2138)
* file reference

Signed-off-by: groot <yihua.mo@zilliz.com>

* print info

Signed-off-by: groot <yihua.mo@zilliz.com>

* avoid metric crash

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* refine code

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* apply delete bug

Signed-off-by: groot <yihua.mo@zilliz.com>

* has partition check

Signed-off-by: groot <yihua.mo@zilliz.com>

* duplicate id search

Signed-off-by: groot <yihua.mo@zilliz.com>

* changelog

Signed-off-by: groot <yihua.mo@zilliz.com>
2020-04-28 21:10:01 +08:00
Wang XiangYu 3be8aad1af
Merge config file (#2168)
* Using el::Configurations Class init easylog

Signed-off-by: wxyu <xy.wang@zilliz.com>

* add logs config constant

Signed-off-by: wxyu <xy.wang@zilliz.com>

* add config check function

Signed-off-by: wxyu <xy.wang@zilliz.com>

* add config get function

Signed-off-by: wxyu <xy.wang@zilliz.com>

* logs config set function

Signed-off-by: wxyu <xy.wang@zilliz.com>

* update

Signed-off-by: wxyu <xy.wang@zilliz.com>

* update InitLog function

Signed-off-by: wxyu <xy.wang@zilliz.com>

* fix clang-format

Signed-off-by: wxyu <xy.wang@zilliz.com>

* update server_config.template

Signed-off-by: wxyu <xy.wang@zilliz.com>

* update changelog

Signed-off-by: wxyu <xy.wang@zilliz.com>
2020-04-28 20:21:21 +08:00
del-zhenwu 0ba67710c4
skip ubuntu-ci in regression (#2159)
* skip ubuntu-ci in regression

Signed-off-by: zw <zw@zilliz.com>

* Re-trigger ci

Signed-off-by: zw <zw@zilliz.com>

* Re-trigger ci

Signed-off-by: zw <zw@zilliz.com>

* Re-trigger ci

Signed-off-by: zw <zw@zilliz.com>

* Re-trigger ci

Signed-off-by: zw <zw@zilliz.com>

* Re-trigger ci

Signed-off-by: zw <zw@zilliz.com>

* Re-trigger ci

Signed-off-by: zw <zw@zilliz.com>

* Re-trigger ci

Signed-off-by: zw <zw@zilliz.com>

* Re-trigger ci

Signed-off-by: zw <zw@zilliz.com>

* debug jenkinsfile

Signed-off-by: zw <zw@zilliz.com>

* debug jenkinsfile

Signed-off-by: zw <zw@zilliz.com>

* debug jenkinsfile

Signed-off-by: zw <zw@zilliz.com>

* debug jenkinsfile

Signed-off-by: zw <zw@zilliz.com>
2020-04-28 19:41:40 +08:00
BossZou 4ab92f3032
Add config to switch off web server (#2137)
* Add a config parameter to switch off http server (fix #2057)

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* modify web enable config name

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* fix cmake bug & output exanption msg

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* rename web enbale config as web_enable

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* optimize code

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* log out errno

Signed-off-by: yhz <413554850@qq.com>
2020-04-28 17:04:04 +08:00
op-hunter 1b25bacee2
build openblas by source (#2154)
* build openblas by source

Signed-off-by: cmli <chengming.li@zilliz.com>

* remove openblas md5

Signed-off-by: cmli <chengming.li@zilliz.com>

Co-authored-by: cmli <chengming.li@zilliz.com>
Co-authored-by: Jin Hai <hai.jin@zilliz.com>
2020-04-27 22:48:14 +08:00
Wang XiangYu b65f5072f3
fix server start failed if wal directory exist (#2144)
* fix server start failed if wal directory exist

Signed-off-by: wxyu <xy.wang@zilliz.com>

* add wal_enable check

Signed-off-by: wxyu <xy.wang@zilliz.com>

* fix compile error

Signed-off-by: wxyu <xy.wang@zilliz.com>
2020-04-27 20:05:04 +08:00
BossZou bf42dbd5b6
Gpu check (#2129)
* add GpuCheck class

Signed-off-by: yhz <413554850@qq.com>

* Check gpu environment

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* add server checker unittest

Signed-off-by: Yhz <yinghao.zou@zilliz.com>
2020-04-27 16:56:12 +08:00
Wang XiangYu 1f0466708f
merge server_cpu_config.template and server_gpu_config.template (#2150)
Signed-off-by: wxyu <xy.wang@zilliz.com>
2020-04-27 16:27:44 +08:00
Jin Hai b6d681f458
Merge pull request #2139 from longer-is-better/patch-1
delete unused file
2020-04-27 16:17:15 +08:00
AzAz 2a7e116a67
remove uint64_t j from parameters (#2147)
Signed-off-by: talentAN <adam_an02@163.com>
2020-04-27 16:15:49 +08:00
AzAz b3028baed8
Add log for error status (#2148)
Signed-off-by: talentAN <adam_an02@163.com>
2020-04-27 16:13:11 +08:00
quicksilver ac2c25212f
Wait for helm uninstall chart (#2142)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2020-04-27 16:06:43 +08:00
Cai Yudong 1384484b7d
Caiyd 2039 avx sse (#2136)
* #2039 clean redundant compile options

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

* #2039 add distances_avx.h and distances_avx.cpp

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

* #2039 add ScalarQuantizerDC_avx.cpp, ScalarQuantizerDC_avx.h and ScalarQuantizerCodec_avx.h

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

* #2039 remove -mavx2 from default compile option

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

* update changelog

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

* #2039 clean code

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

* #2039 clean code

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2020-04-27 15:01:47 +08:00
Gracieeea 509b87f103
replace int with size_t (#2140)
Signed-off-by: Gracieeea <sly_freesoul@icloud.com>
2020-04-27 04:52:11 +00:00
JinHai-CN 7b1b75a90d Fix lint error
Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
2020-04-27 10:26:05 +08:00
JinHai-CN adc6dc38bf Fix compiling error
Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
2020-04-27 10:25:07 +08:00
dongwei 238967826c aaa 2020-04-26 23:53:48 +08:00
dongwei 2c6fcacdbd delete unused file
Signed-off-by: dongwei <d279617552@gmail.com>
2020-04-26 23:21:06 +08:00
quicksilver e1c49cc48b
When helm deploy failed, print the milvus container logs (#2130)
* When helm deploy failed, print the milvus container logs

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

* When helm deploy failed, print the milvus container logs

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

* When helm deploy failed, print the milvus container logs

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

* When helm deploy failed, print the milvus container logs

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

* When helm deploy failed, print the milvus container logs

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2020-04-26 12:08:07 +00:00
Cai Yudong 150cca6bbf
Caiyd 1946 cpu2gpu getres (#2124)
* #1946 use new log format in knowhere

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

* #1946 add more debug info for GPU device initialize

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

* retry CI

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

* retry CI

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2020-04-26 18:29:21 +08:00
Wang XiangYu 12b3bf0693
Add instance lock (#2060)
* Add instance lock

Signed-off-by: wxyu <xy.wang@zilliz.com>

* update message

Signed-off-by: wxyu <xy.wang@zilliz.com>

* update unittest CMakeLists.txt

Signed-off-by: wxyu <xy.wang@zilliz.com>

* update

Signed-off-by: wxyu <xy.wang@zilliz.com>

* update

Signed-off-by: wxyu <xy.wang@zilliz.com>

* update

Signed-off-by: wxyu <xy.wang@zilliz.com>

* update

Signed-off-by: wxyu <xy.wang@zilliz.com>

* fix clang-format

Signed-off-by: wxyu <xy.wang@zilliz.com>

* update

Signed-off-by: wxyu <xy.wang@zilliz.com>

Co-authored-by: Jin Hai <hai.jin@zilliz.com>
2020-04-26 08:31:18 +00:00
DanielHuang1983 7ecafbd93a
rename the variable name collection_schema (#2126)
Signed-off-by: DanielHuang1983 <huanghe888@hotmail.com>
2020-04-26 08:03:52 +00:00
shana0325 53133aafac
train func add catch excetpion (#2096)
* train func add catch excetpion

Signed-off-by: shana0325 <645842705@qq.com>

* Fix lint error

Signed-off-by: JinHai-CN <hai.jin@zilliz.com>

Co-authored-by: JinHai-CN <hai.jin@zilliz.com>
2020-04-26 11:29:20 +08:00
chen lu d22f3c2c5f
[skip ci] remove useless log (#2119)
Signed-off-by: yiuluchen 1093633856@qq.com
2020-04-26 10:19:31 +08:00
BossZou 8edb7b6a09
add cpu instruction sets check (#2055)
Signed-off-by: Yhz <yinghao.zou@zilliz.com>
2020-04-26 00:59:25 +08:00
XuPeng-SH 7e771c5356
Merge pull request #2118 from SkyYang/fix_2116
[skip ci](shards): fix issue #2116
2020-04-25 23:26:05 +08:00
SkyYang c754182a6f
[skip ci](shards): fix issue #2116
Signed-off-by: SkyYang <mooncity.sky@163.com>
2020-04-25 23:03:13 +08:00
groot 777c36a0ac
#1997 index file missed after compact (#2108)
* #1997 index file missed after compact

Signed-off-by: groot <yihua.mo@zilliz.com>

* changelog

Signed-off-by: groot <yihua.mo@zilliz.com>

* typo

Signed-off-by: groot <yihua.mo@zilliz.com>
2020-04-25 22:06:26 +08:00
Jin Hai c3f2765ff6
Merge pull request #2035 from natoka/master
Move http query parser
2020-04-25 22:04:25 +08:00
SkyYang 29a4d58432
[skip ci](shards): fix issue to show exception messages in error log (#2115)
Signed-off-by: SkyYang <mooncity.sky@163.com>
2020-04-25 20:40:30 +08:00
JinHai-CN 9db19a9a20 Merge remote-tracking branch 'main/master' 2020-04-25 18:58:59 +08:00
del-zhenwu fc96165817
Update case (#2113)
Signed-off-by: zw <zw@zilliz.com>
2020-04-25 18:56:52 +08:00
bigsheeper 35f74c41c1
fix jenkins (#2110)
* fix jenkins

Signed-off-by: bigsheeper <42060877+bigsheeper@users.noreply.github.com>

* fix

Signed-off-by: bigsheeper <42060877+bigsheeper@users.noreply.github.com>
2020-04-25 18:40:49 +08:00
wscxyey 618f7887b0
Update GItHub Action Workflow (#2112)
Signed-off-by: wscxyey <48882296+wscxyey@users.noreply.github.com>
2020-04-25 18:35:40 +08:00
GuoRentong fed865c7c9
Values of type 'const size_t' may not fit into the receiver type 'int' (#2109)
Signed-off-by: GuoRentong <rt.guo@outlook.com>

Co-authored-by: guo rentong <grt@guodeMacBook-Pro.local>
2020-04-25 18:35:04 +08:00
yxm1536 4c108c7578
Rename MemMenagerFactory.cpp/h to MemManagerFactory.cpp/h (#2093)
* Rename MemMenagerFactory.cpp to MemManagerFactory.cpp

Signed-off-by: yxm1536 <62009483+yxm1536@users.noreply.github.com>

* Rename MemMenagerFactory.h to MemManagerFactory.h

Signed-off-by: yxm1536 <62009483+yxm1536@users.noreply.github.com>

* Fix compilation error

Signed-off-by: JinHai-CN <hai.jin@zilliz.com>

Co-authored-by: JinHai-CN <hai.jin@zilliz.com>
2020-04-25 16:57:14 +08:00
czp b454f462c1
put error when call Flush (#2097)
Signed-off-by: beautifulpython <2426009680@qq.com>
2020-04-25 16:13:32 +08:00
grtoverflow 6fe2cf1580
Update ConfAdapter.cpp (#2106)
Signed-off-by: grtoverflow <grtoverflow@gmail.com>
2020-04-25 16:12:58 +08:00
xiaocai2333 e5dab2a43c
Remove unused ConnectionMgr (#2102)
Signed-off-by: xiaocai2333 <46207236+xiaocai2333@users.noreply.github.com>
2020-04-25 15:50:38 +08:00