115 Commits

Author SHA1 Message Date
Jin Hai
e1027e9e65
#1240 Update license declaration of each file (#1241)
* #1240 Update license declaration of each files

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

* #1240 Update CHANGELOG

Signed-off-by: jinhai <hai.jin@zilliz.com>
2020-02-17 23:40:58 +08:00
shengjh
4dee7dfac6
Improve codecov (#1095)
* Optimize config test. Dir src/config 99% lines covered

* add unittest coverage

* optimize cache&config unittest

* code format

* format

* format code

* fix merge conflict

* cover src/utils unittest

*  '#831 fix exe_path judge error'

* #831 fix exe_path judge error

* add some unittest coverage

* add some unittest coverage

* improve coverage of src/wrapper

* improve src/wrapper coverage

* *test optimize db/meta unittest

* fix bug

* *test optimize mysqlMetaImpl unittest

* *style: format code

* import server& scheduler unittest coverage

* handover next work

* *test: add some test_meta test case

* *format code

* *fix: fix typo

* feat(codecov): improve code coverage for src/db(#872)

* feat(codecov): improve code coverage for src/db/engine(#872)

* feat(codecov): improve code coverage(#872)

* fix config unittest bug

* feat(codecov): improve code coverage core/db/engine(#872)

* feat(codecov): improve code coverage core/knowhere

* feat(codecov): improve code coverage core/knowhere

* feat(codecov): improve code coverage

* feat(codecov): fix cpu test some error

* feat(codecov): improve code coverage

* feat(codecov): rename some fiu

* fix(db/meta): fix switch/case default action

* feat(codecov): improve code coverage(#872)
* fix error caused by merge code
* format code

* feat(codecov): improve code coverage & format code(#872)

* feat(codecov): fix test error(#872)

* feat(codecov): fix unittest test_mem(#872)

* feat(codecov): fix unittest(#872)

* feat(codecov): fix unittest for resource manager(#872)

* feat(codecov): code format (#872)

* feat(codecov): trigger ci(#872)

* fix(RequestScheduler): remove a wrong sleep statement

* test(test_rpc): fix rpc test

* Fix format issue

* Remove unused comments

* Fix unit test error

Co-authored-by: ABNER-1 <ABNER-1@users.noreply.github.com>
Co-authored-by: Jin Hai <hai.jin@zilliz.com>
2020-02-11 23:03:29 +08:00
groot
0f1aa5f8bb Tanimoto distance (#1016)
* Add log to debug #678

* Rename nsg_mix to RNSG in C++ sdk #735

* [skip ci] change __function__

* clang-format

* #766 If partition tag is similar, wrong partition is searched

* #766 If partition tag is similar, wrong partition is searched

* reorder changelog id

* typo

* define interface

* Define interface (#832)

* If partition tag is similar, wrong partition is searched  (#825)

* #766 If partition tag is similar, wrong partition is searched

* #766 If partition tag is similar, wrong partition is searched

* reorder changelog id

* typo

* define interface Attach files by dragging & dropping, selecting or pasting them. 

Co-authored-by: groot <yihua.mo@zilliz.com>

* faiss & knowhere

* faiss & knowhere (#842)

* Add log to debug #678

* Rename nsg_mix to RNSG in C++ sdk #735

* [skip ci] change __function__

* clang-format

* If partition tag is similar, wrong partition is searched  (#825)

* #766 If partition tag is similar, wrong partition is searched

* #766 If partition tag is similar, wrong partition is searched

* reorder changelog id

* typo

* faiss & knowhere

Co-authored-by: groot <yihua.mo@zilliz.com>

* support binary input

* code lint

* add wrapper interface

* add knowhere unittest

* sdk support binary

* support using metric tanimoto and hamming

* sdk binary insert/query example

* fix bug

* fix bug

* update wrapper

* format

* Improve unittest and fix bugs

* delete printresult

* fix bug

* #823 Support binary vector tanimoto metric

* fix typo

* dimension limit to 32768

* fix

* dimension limit to 32768

* fix describe index bug

* fix #886

* fix #889

* add jaccard cases

* hamming dev-test case

* change test_connect

* Add tanimoto cases

* change the output type of hamming

* add abs

* merge master

* rearrange changelog id

* modify feature description

Co-authored-by: Yukikaze-CZR <48198922+Yukikaze-CZR@users.noreply.github.com>
Co-authored-by: Tinkerrr <linxiaojun.cn@outlook.com>
2020-01-14 19:22:27 +08:00
aaronjin2010
c787b84daa refactor code and add error log (#976)
* refactor code and add error log

* remove the space

* refactor

* refactor
2020-01-13 09:30:14 +08:00
Zhiru Zhu
e99896ac62 Add Opentracing (#729)
* add TracerUtil

* Interceptor ok

* add handler

* add context

* minor update

* keep span in trace context

* add span in search okay

* Update Context.cpp

* refactor

* refactor

* refactor

* format

* add context in SearchJob

* trace search okay

* add back finish span in interceptor

* add namespace

* add tracing config in server config

* add random id

* debug mode okay

* update CMakeLists

* add opentracing to cmake

* update unittest

* add tracing namespace

* remove std::run_time error

* add lock when erasing context_map

* update tracing config

* lint

* update CHANGELOG

* small fix

* fix server unit test

* fix scheduler unit test

* fix db unit test

* lint

* fix db unit test gpu version

* rename to tracing_config

* fix

* update

* trigger ci
2019-12-10 15:24:54 +08:00
Wang XiangYu
4847e5027f Remove unused codes (#732)
* remove unused function and comments

* remove always-true parameter

* run on python2 explicitly

* fix clang-format
2019-12-09 19:09:14 +08:00
groot
564095fd8d #674 server down in stability test (#708)
* #670 Random failure of unittest db_test::SEARCH_TEST

* add an important log

* add an important log

* add an important log

* #674 server down in stability test

* add more log

* remove log
2019-12-05 16:50:53 +08:00
groot
20e0710661 Add important log (#694)
* #670 Random failure of unittest db_test::SEARCH_TEST

* add an important log

* add an important log

* add an important log
2019-12-04 16:19:52 +08:00
yudong.cai
f330d9f902 #658 Milvus error out when building SQ8H index without GPU resources 2019-12-03 15:50:27 +08:00
groot
07ac2e32c0 merge 0.6.0 2019-12-02 10:30:22 +08:00
Jin Hai
e705fa3007
Merge pull request #609 from cydrain/caiyd_handle_search_exception
handle search exception
2019-11-30 19:47:16 +08:00
groot
0b3f7e15c0 Merge remote-tracking branch 'source/0.6.0' into ongoing 2019-11-30 16:26:02 +08:00
fishpenguin
10d50d2fb7 IVF_PQ search on CPUs when using GPU-version 2019-11-30 14:57:35 +08:00
yudong.cai
93f2ce45f4 #331 add exception handle when search fail 2019-11-30 09:29:34 +08:00
groot
844feab926 more log 2019-11-29 19:15:11 +08:00
groot
bc2dba26a2 refine code 2019-11-29 18:15:28 +08:00
groot
736c348cfc add log 2019-11-29 17:20:16 +08:00
fishpenguin
a718c7c9bb Optimizer specify wrong gpu_id 2019-11-28 19:08:15 +08:00
Yukikaze-CZR
47abe4ff47 #504 The code coverage rate of core/src/scheduler/optimizer is too low 2019-11-27 14:21:53 +08:00
fishpenguin
f1f90ec3e0 fix conflict 2019-11-26 10:21:01 +08:00
fishpenguin
c07aa9a015 BuildIndex stop when do build index and search simultaneously 2019-11-26 10:19:49 +08:00
Jin Hai
04ab48f25d
Merge pull request #496 from yhmo/0.6.0
#485 Increase code coverage rate
2019-11-23 14:46:37 +08:00
fishpenguin
8a4cc9263e [skip ci]Add more log msg 2019-11-23 11:56:34 +08:00
groot
2b805489a1 #485 Increase code coverage rate 2019-11-23 11:34:45 +08:00
fishpenguin
288490f980 gpu no usage during index building 2019-11-23 11:07:42 +08:00
fishpenguin
b68f4f43c1 Add log in scheduler/optimizer 2019-11-23 10:29:11 +08:00
wxyu
a9bc655cfb Read gpu config only gpu_resource_config.enable=true fix #467 2019-11-21 17:26:11 +08:00
fishpenguin
29006f3cb5 fix conflict 2019-11-20 19:00:56 +08:00
fishpenguin
8a42c8759e Query API in customization still uses old version 2019-11-20 18:44:11 +08:00
JinHai-CN
7318786b58 Merge branch 'master' into 0.6.0 2019-11-20 15:37:53 +08:00
yudong.cai
c89bb6699e #306 Use int64 for all config integer 2019-11-20 14:26:39 +08:00
fishpenguin
a176eb94a2 clange format 2019-11-19 21:12:12 +08:00
fishpenguin
a13677b65f Refactor optimizer 2019-11-19 21:10:43 +08:00
fishpenguin
fdb7decdd3 Remove DefaultLabel 2019-11-19 20:30:43 +08:00
fishpenguin
c451f8cbf2 clange format and add FallbackPass 2019-11-19 19:40:17 +08:00
fishpenguin
30dcfa6719 fix conflict in SchedInst 2019-11-19 19:30:53 +08:00
fishpenguin
7f5c2fefd8 Remove OnlyGpuPass and add MILVUS_GPU_VERSION define 2019-11-19 19:18:54 +08:00
wxyu
9f063aa289 Add a Fallback pass in optimizer close #409
add Fallback pass condition
2019-11-19 17:11:14 +08:00
fishpenguin
caacf40ed2 fix for config change 2019-11-19 14:18:45 +08:00
wxyu
7ad5c51497 Add virtual method Init() in Pass abstract class close #404 2019-11-19 12:29:05 +08:00
fishpenguin
35f1796355 fix conflicts 2019-11-18 14:32:09 +08:00
fishpenguin
513ad3b842 Support build index with multiple gpu 2019-11-18 11:38:48 +08:00
wxyu
1b0ef89e07 fix flat search doesn't use gpu bug 2019-11-15 19:45:17 +08:00
wxyu
21c98a462a clang-tidy 2019-11-15 14:29:03 +08:00
erdustiggen
d53385caa7 clang format fix 2019-11-14 20:54:25 +01:00
erdustiggen
bc93735b18 Changed from std::cout to LOG for error messages 2019-11-14 18:48:02 +01:00
groot
dbe90c7abc support table partition 2019-11-07 16:46:31 +08:00
youny626
05dda4ab73 clang format 2019-11-05 13:42:12 +08:00
youny626
bede77751e clang format 2019-11-05 13:35:24 +08:00
youny626
4ca6b59b91 add CPU version 2019-11-05 10:23:59 +08:00