Commit Graph

5330 Commits

Author SHA1 Message Date
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
xge-zilliz
42b1983625
Delete useless boolean (#2107)
Signed-off-by: xge-zilliz <xi.ge@zilliz.com>
2020-04-25 15:49:43 +08:00
FluorineDog
d3daa0d3ea
Remove import TopKQueryResult (#2100)
Signed-off-by: fluorinedog <fluorinedog@gmail.com>
2020-04-25 15:47:31 +08:00
dd-He
c33df2ee20
Use emplace_back instead of push_back (#2103)
Signed-off-by: dd-He <1843757857@qq.com>
2020-04-25 15:37:23 +08:00
ashyshyshyman
3c53ee2700
Remove unused utilities (#2104)
Signed-off-by: ashyshyshyman <1204034196@qq.com>
2020-04-25 15:35:43 +08:00
zhenshan.cao
8a63d27612
Remove unused settings (#2095)
Signed-off-by: czs007 <czs@alumni.hust.edu.cn>
2020-04-25 15:31:44 +08:00
weishuo
c4290271ca
Remove unused defaultdict in shards/mishards/service_handler.py. (#2092)
Signed-off-by: weishuo <2411602273@qq.com>
2020-04-25 15:30:13 +08:00
chengpu
6d2c50ac21
Use std::copy to replace forloop assignment (#2087)
Signed-off-by: chengpu <chengpu@live.com>
2020-04-25 15:28:31 +08:00
Murpphy
87fc760416
Remove unsed datetime (#2094)
Signed-off-by: Murpphy <31717785+Murpphy@users.noreply.github.com>
2020-04-25 15:27:38 +08:00
binbin12580
2247d58cc4
Unused variable: ids (#2088)
Signed-off-by:  binbin12580 <1565196967@qq.com>
2020-04-25 15:26:16 +08:00
Cross
7deef8029f
Update GrpcRequestHandler.cpp (#2085)
Signed-off-by: Cross <xinyuanm9@gmail.com>
2020-04-25 14:53:49 +08:00
SwaggySong
d8b1b54bd6
Remove unused enum (#2089)
Signed-off-by: SwaggySong 36157116+SwaggySong@users.noreply.github.com
2020-04-25 14:50:47 +08:00
groot
82f4c289eb
New api HasPartition, SearchByID, GetVectorsByID (#2056)
* modify proto

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

* modify c sdk

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

* rewrite search by id

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

* change cases

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

* fix cases

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

* fix wal case

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

* fix search by id

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

* modify sdk

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

* refine code

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

* refine code

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

* changelog

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

* add search_by_ids case

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

* disable test_search)by_ids

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

Co-authored-by: zw <zw@zilliz.com>
Co-authored-by: del-zhenwu <56623710+del-zhenwu@users.noreply.github.com>
2020-04-25 14:49:32 +08:00
lwglgy
7e52815fb6
DBImpl.cpp::ExecWalRecord need to process error status in case wal::MXLogType::Entity (#2083)
Signed-off-by: lwglgy <1486111482@qq.com>
2020-04-25 13:24:24 +08:00
yukun
67d8a9b54c
Add http interface for hybrid search (#2079)
* Add http interface for hybrid search

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

* Add unittest for http hybrid interface

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

* clang format

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

* Fix codacy quality

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2020-04-25 13:19:17 +08:00
Jin Hai
6d87dc3c72
Merge pull request #2084 from lee-eve/master
Unused variable: offsets
2020-04-25 13:18:19 +08:00
water32
420d70dcc5
unused variable, just remove it. (#2082)
Signed-off-by:  water32 <miaochen@mail.ustc.edu.cn>

unused variable, just remove it.
2020-04-25 11:58:23 +08:00
lieve
6fea6a17de Unused variable: offsets
Signed-off-by: lieve <645417202@qq.com>
Signed-off-by: lizhengxie <zhengxie.li@zuolin.com>
2020-04-25 11:48:27 +08:00
JinHai-CN
fb85d8b3f0 Fix lint error
Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
2020-04-25 11:21:58 +08:00
PJZero
fedbb697e3
Update GrpcRequestHandler.cpp (#2069)
Signed-off-by: pengjian05 <pengjian05@baidu.com>

Co-authored-by: pengjian05 <pengjian05@baidu.com>
2020-04-25 11:19:30 +08:00
Jin Hai
54c9386bdc
#2076 CheckMetricConfigAddress error message (#2077)
Signed-off-by: jinhai <hai.jin@zilliz.com>
2020-04-25 10:04:04 +08:00
Jin Hai
723b10600b
#2073 Fix CheckDBConfigBackendUrl error message (#2074)
Signed-off-by: jinhai <hai.jin@zilliz.com>
2020-04-25 09:31:25 +08:00
Wang XiangYu
c0d5a47eba
rename optimizer to selector (#2067)
* rename

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

* fix clang-format

Signed-off-by: wxyu <xy.wang@zilliz.com>
2020-04-24 11:42:17 +00:00
格雷大大
bf4cea1d1f
add log 4 annoy if index has been built when BuildAll interface invoked (#2071)
* add log 4 annoy if index has been built when BuildAll interface invoked

Signed-off-by: grace <yan.gu@zilliz.com>

* fix lint error

Signed-off-by: grace <yan.gu@zilliz.com>
2020-04-24 19:38:21 +08:00
Wang XiangYu
67819be29b
warn when use sqlite as metadata management (#2065)
Signed-off-by: wxyu <xy.wang@zilliz.com>
2020-04-24 15:23:46 +08:00
Allen Zhang
44a384cfe7
Merge pull request #1 from Actknight/master
move http parser to http utils
2020-04-24 11:51:26 +08:00
Yhz
87778052f4 move http parser to http utils
Signed-off-by: Yhz <yinghao.zou@zilliz.com>
2020-04-23 23:16:04 +08:00
Jin Hai
2c2021c938
Merge pull request #2047 from AllenYu1987/AllenYu1987-patch-1
Use std::copy to replace forloop assignment
2020-04-23 15:13:36 +08:00
JinHai-CN
a41949f075 Merge remote-tracking branch 'main/master' into AllenYu1987-patch-1 2020-04-23 14:08:28 +08:00
del-zhenwu
db42b0bd94
fix case bug (#2049)
Signed-off-by: zw <zw@zilliz.com>
2020-04-23 06:06:42 +00:00
Jin Hai
9a3ae916a2
Merge pull request #2044 from Tlincy/Tlincy-patch-1
Update LogUtils.cpp: use switch ... case to replace if ... else
2020-04-23 14:03:54 +08:00
Jin Hai
3267ed406f
Merge pull request #2032 from ggaaooppeenngg/code-clean
Delete CommandDto class and remove file CmdDto.hpp
2020-04-23 14:01:48 +08:00