Commit Graph

658 Commits

Author SHA1 Message Date
Cai Yudong
608c86e8cb #758 enhance config description (#804) 2019-12-21 11:02:01 +08:00
yukun
79957330d7 Put C++ sdk out of milvus/core (#785)
* Put C++ sdk out of milvus/core

* Delete core/src/sdk

* Add clang-format for c++ sdk

* Add README.md for sdk

* Server unittest run failed on low-end server

* set gpu_cache_capacity to 1G
2019-12-20 14:08:45 +08:00
Cai Yudong
04bd700668 fix Milvus crash when searching and building index simultaneously using SQ8H (#794)
* #715 fix Milvus crash when searching and building index simultaneously using SQ8H

* #715 fix update
2019-12-19 21:45:14 +08:00
quicksilver
e1d20e4446
Merge pull request #790 from ZhifengZhang-CN/master
Add Codecov on Github Actions
2019-12-19 12:07:46 +08:00
XuPeng-SH
d316f18cbc Integrate libfiu for fault injection (#784)
* (feat): add libfiu for fault injection

* (feat): change libfiu from static to shared

* (feat): install libfiu
2019-12-18 18:11:18 +08:00
quicksilver
186cab364f add codecov github actions 2019-12-17 20:08:58 +08:00
quicksilver
bdc0239eba update GRPC url 2019-12-17 19:15:17 +08:00
quicksilver
c32f58d474 update GRPC url 2019-12-17 16:45:48 +08:00
Cai Yudong
7c02c3760e #771 add ProcessCommand() to process pre-defined commands (#777) 2019-12-17 10:48:28 +08:00
quicksilver
952f34352a enable build milvus on centos7 (#769)
* enable build milvus on centos7

* Update build enviroment Centos7 dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* add centos7_build_deps.sh

* add centos7 build cpu version enviroment

* add centos7 on github actions

* fix bug

* fix bug

* fix bug

* update ci/docker/centos-7-core.dockerfile

* fix github actions bug

* update centos7 case on github actions

* update docker-compose.yml

* debug centos case on github actions

* debug centos case on github actions

* add centos7 deploy dockerfile
2019-12-16 14:07:20 +08:00
Cai Yudong
21e986d130 support config cli (#742)
* #665 support get/set config via CLI

* #665 support get/set config via CLI

* #665 add unittest for config CLI

* #665 remove config_node_map_

* #665 remove config_node_map_

* #665 fix clang-format

* #665 fix clang-format

* #665 update changelog

* #665 code clean

* #665 update API interface

* #665 update API interface

* #665 handle server status

* #665 handle unknown command

* #665 update debug log

* #665 support get/set config via CLI

* #665 support get/set config via CLI

* #665 add unittest for config CLI

* #665 remove config_node_map_

* #665 remove config_node_map_

* #665 fix clang-format

* #665 fix clang-format

* #665 update changelog

* #665 code clean

* #665 update API interface

* #665 update API interface

* #665 handle server status

* #665 handle unknown command

* #665 update debug log
2019-12-14 17:01:56 +08:00
Cai Yudong
41d7500f61 support config cli test 2 (#764)
* #665 support get/set config via CLI

* #665 support get/set config via CLI

* #665 add unittest for config CLI

* #665 remove config_node_map_

* #665 remove config_node_map_

* #665 fix clang-format

* #665 fix clang-format

* #665 update changelog

* #665 code clean

* #665 update API interface

* #665 update API interface

* #665 handle server status

* #665 handle unknown command

* #665 update debug log

* #665 rollback CmdRequest.cpp
2019-12-14 15:11:02 +08:00
groot
86b83fb32a #744 do not return partition table for show_tables (#747) 2019-12-13 10:54:17 +08:00
BossZou
5e045af51f Refactor server module separating Grpc from server handler and scheduler (#757)
* refactoring(create_table done)

* refactoring

* refactor server delivery (insert done)

* refactoring server module (count_table done)

* server refactor done

* cmake pass

* refactor server module done.

* set grpc response status correctly

* format done.

* fix redefine ErrorMap()

* optimize insert reducing ids data copy

* optimize grpc request with reducing data copy

* clang format

* [skip ci] Refactor server module done. update changlog. prepare for PR

* remove explicit and change int32_t to int64_t
2019-12-12 14:13:22 +08:00
Yukikaze-CZR
47621f06fb clang-format (#743)
* Add log to debug #678

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

* [skip ci] change __function__

* clang-format
2019-12-11 14:06:04 +08:00
Yukikaze-CZR
f37509213b Add log to debug #678 (#733)
* Add log to debug #678

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

* [skip ci] change __function__
2019-12-10 16:47:35 +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
Cai Yudong
c11a4c594e #709 handle the case when git fail to get last commit id (#723) 2019-12-07 17:00:21 +08:00
groot
2b40ddbb27 fix unittest (#720)
* #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

* #696 metric_type changed from IP to L2

* #696 metric_type changed from IP to L2

* #696 metric_type changed from IP to L2

* #696 metric_type changed from IP to L2
2019-12-06 16:40:51 +08:00
Cai Yudong
1193526719 show last commit id when server start (#717)
* #709 show last commit id when server start

* #709 fix typo error
2019-12-06 14:31:53 +08:00
groot
5bec93bffa Set nlist to default after drop index (#719)
* #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

* #696 metric_type changed from IP to L2

* #696 metric_type changed from IP to L2

* #696 metric_type changed from IP to L2
2019-12-06 14:30:17 +08:00
groot
b6f22c7370 Fix unittest failure (#714) 2019-12-05 20:08:15 +08:00
groot
ebb4cedeb7 #696 metric_type changed from IP to L2 (#710)
* #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

* #696 metric_type changed from IP to L2
2019-12-05 17:32:41 +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
Cai Yudong
5970450d48 #705 fix search SQ8H crash without GPU resource (#706) 2019-12-05 11:42:09 +08:00
Yukikaze-CZR
8574b8b93f add code coverage rate and fix #670 (#693) 2019-12-04 19:37:13 +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
groot
3321a82c32 #670 Random failure of unittest db_test::SEARCH_TEST (#671) 2019-12-04 10:11:50 +08:00
Jin Hai
56e3b8feb1
Merge pull request #650 from Yukikaze-CZR/0.6.0
IP search metric_type shouldn't be supported by IVF_PQ index on GPU v…
2019-12-03 17:21:58 +08:00
yudong.cai
f330d9f902 #658 Milvus error out when building SQ8H index without GPU resources 2019-12-03 15:50:27 +08:00
Yukikaze-CZR
c018bf0a08 Merge remote-tracking branch 'upstream/0.6.0' into 0.6.0 2019-12-03 14:41:44 +08:00
Jin Hai
cb27794411
Merge pull request #657 from gaolizhou/0.6.0
use better names for timing MACROs milvus-io#556
2019-12-03 14:17:14 +08:00
Jin Hai
be8a3e2af1
Merge pull request #655 from yhmo/0.6.0
#654 Random crash when frequently insert vector one by one
2019-12-03 14:13:21 +08:00
Yukikaze-CZR
3b29e8dfce Merge remote-tracking branch 'upstream/0.6.0' into 0.6.0 2019-12-03 14:06:24 +08:00
Lizhou Gao
fab1bbc860 replace the missing D_SEC 2019-12-03 13:50:22 +08:00
Yukikaze-CZR
615d1ac2a6 fix build pq with empty table 2019-12-03 12:54:36 +08:00
groot
7a27e9d455 modify log 2019-12-03 11:57:52 +08:00
JinHai-CN
a320846606 Add a comment on readonly invertedlist and pin memory 2019-12-03 11:27:49 +08:00
groot
27f6166d50 fix typo 2019-12-03 10:59:30 +08:00
Lizhou Gao
6c14297a29 use better names for timing MACROs milvus-io#556 2019-12-03 10:49:00 +08:00
groot
1da5ad48a1 modify insert log 2019-12-03 10:38:35 +08:00
Yukikaze-CZR
d69e30ebfc remove wrapperexception 2019-12-02 21:48:49 +08:00
Yukikaze-CZR
fcc98ca183 IP search metric_type shouldn't be supported by IVF_PQ index on GPU version 2019-12-02 21:47:11 +08:00
groot
6b52973b04 #654 Random crash when frequently insert vector one by one 2019-12-02 19:51:33 +08:00
Yukikaze-CZR
4ff8e871ae changelog fix 2019-12-02 17:48:55 +08:00
Yukikaze-CZR
b1b086a03f remove change of db_test 2019-12-02 17:47:17 +08:00
Yukikaze-CZR
36d84f374b change for comment 2019-12-02 17:02:03 +08:00
Yukikaze-CZR
b5916b41bf Merge remote-tracking branch 'upstream/0.6.0' into 0.6.0 2019-12-02 16:08:09 +08:00
groot
3df535e11e #649 Typo partiton should be partition 2019-12-02 15:39:16 +08:00