35 Commits

Author SHA1 Message Date
groot
f6b72d9605 #977 Server crash when create tables concurrently (#991)
* #766 If partition tag is similar, wrong partition is searched

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

* reorder changelog id

* typo

* #977 Server crash when create tables concurrently
2020-01-13 13:59:08 +08:00
BossZou
a0faf1a786 Add http server (#956)
* 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

* add web server

* [skip ci] add license in web module

* modify header include & comment oatpp environment config

* add port configure & create table in handler

* modify web url

* simple url complation done & add swagger

* make sure web url

* web functionality done. debuging

* add web unittest

* web test pass

* add web server port

* add web server port in template

* update unittest cmake file

* change web server default port to 19121

* rename method in web module & unittest pass

* add search case in unittest for web module

* rename some variables

* fix bug

* unittest pass

* web prepare

* fix cmd bug(check server status)

* update changlog

* add web port validate & default set

* clang-format pass

* add web port test in unittest

* add CORS & redirect root to swagger ui

* add web status

* web table method func cascade test pass

* add config url in web module

* modify thirdparty cmake to avoid building oatpp test

* clang format

* update changlog

* add constants in web module

* reserve Config.cpp

* fix constants reference bug

* replace web server with async module

* modify component to support async

* format

* developing controller & add test clent into unittest

* add web port into demo/server_config

* modify thirdparty cmake to allow build test

* remove  unnecessary comment

* add endpoint info in controller

* finish web test(bug here)

* clang format

* add web test cpp to lint exclusions

* check null field in GetConfig

* add macro RETURN STATUS DTo

* fix cmake conflict

* fix crash when exit server

* remove surplus comments & add http param check

* add uri /docs to direct swagger

* format

* change cmd to system

* add default value & unittest in web module

* add macros to judge if GPU supported

* add macros in unit & add default in index dto & print error message when bind http port fail

* format (fix #788)

* fix cors bug (not completed)

* comment cors

* change web framework to simple api

* comments optimize

* change to simple API

* remove comments in controller.hpp

* remove EP_COMMON_CMAKE_ARGS in oatpp and oatpp-swagger

* add ep cmake args to sqlite

* clang-format

* change a format

* test pass

* change name to

* fix compiler issue(oatpp-swagger depend on oatpp)

* add & in start_server.h

* specify lib location with oatpp and oatpp-swagger

* add comments

* add swagger definition

* [skip ci] change http method options status code

* remove oatpp swagger(fix #970)

* remove comments

* check Start web behavior

* add default to cpu_cache_capacity

* remove swagger component.hpp & /docs url

* remove /docs info

* remove /docs in unittest

* remove space in test rpc

* remove repeate info in CHANGLOG

* change cache_insert_data default value as a constant

* [skip ci] Fix some broken links (#960)

* [skip ci] Fix broken link

* [skip ci] Fix broken link

* [skip ci] Fix broken link

* [skip ci] Fix broken links

* fix issue 373 (#964)

* fix issue 373

* Adjustment format

* Adjustment format

* Adjustment format

* change readme

* #966 update NOTICE.md (#967)

* remove comments

* check Start web behavior

* add default to cpu_cache_capacity

* remove swagger component.hpp & /docs url

* remove /docs info

* remove /docs in unittest

* remove space in test rpc

* remove repeate info in CHANGLOG

* change cache_insert_data default value as a constant

* adjust web port cofig place

* rename web_port variable

* set advanced config name add DEFAULT

Co-authored-by: jielinxu <52057195+jielinxu@users.noreply.github.com>
Co-authored-by: JackLCL <53512883+JackLCL@users.noreply.github.com>
Co-authored-by: Cai Yudong <yudong.cai@zilliz.com>
2020-01-13 13:55:48 +08:00
yukun
a92a43e282 Add push mode for prometheus monitor (#905)
* Add push mode for prometheus monitor

* format code

* fix for comments

* fix test_MetricBase bug

* Change ip to address in config
2020-01-06 18:35:10 +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
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
Yukikaze-CZR
c018bf0a08 Merge remote-tracking branch 'upstream/0.6.0' into 0.6.0 2019-12-03 14:41:44 +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
groot
1da5ad48a1 modify insert log 2019-12-03 10:38:35 +08:00
Jin Hai
51e8be0130
Merge pull request #607 from yhmo/ongoing
#596 Frequently insert operation cost too much disk space
2019-12-02 15:06:19 +08:00
groot
62b6db567d add more logs 2019-12-02 11:57:43 +08:00
wxyu
b12f861b51 Add a new rpc command to get milvus build version whether cpu or gpu close#644 2019-12-02 11:17:24 +08:00
groot
844feab926 more log 2019-11-29 19:15:11 +08:00
JinHai-CN
97807df0af Fix lint 2019-11-22 20:30:44 +08:00
zerowe-seven
e9a1b36231
Merge pull request #2 from milvus-io/0.6.0
Merge 0.6.0
2019-11-21 23:13:22 -08:00
zerowe-seven
91c33882b5 #329 The error message in TableNotExistMsg has a grammatical error 2019-11-22 06:56:53 -08:00
groot
15dcce417e #377 Create partition success if tag name only contains spaces 2019-11-20 12:24:18 +08:00
groot
661a60374e dont modify grpc generated code 2019-11-18 15:58:50 +08:00
groot
f3ae1bf155 #266 Rpc request source code refactor 2019-11-18 15:10:15 +08:00
fishpenguin
cd80cdba02 sdk_simple return empty result 2019-11-16 15:53:45 +08:00
groot
29586ba725 #353 Rename config.h.in to version.h.in 2019-11-15 19:06:14 +08:00
groot
a57bfae626 merge 0.5.3 to 0.6.0 2019-11-14 16:16:11 +08:00
fishpenguin
105b98499b #258 - Bytes type in proto cause big-endian/little-endian problem 2019-11-08 18:52:56 +08:00
groot
dbe90c7abc support table partition 2019-11-07 16:46:31 +08:00
fishpenguin
07dfe09aed #204 - improve grpc performance in search 2019-11-07 15:23:28 +08:00
youny626
4ca6b59b91 add CPU version 2019-11-05 10:23:59 +08:00
yudong.cai
f49d23badd #168 improve result reduce
Former-commit-id: 21887800b9afe47b759a09c1f9fbed97b467cab1
2019-11-02 21:54:01 +08:00
starlord
e7876f6343 avoid relative header path
Former-commit-id: d4a01b720ac7011e17076b7c36a20af0ebe2b58a
2019-10-23 15:05:22 +08:00
starlord
bcc4bbde03 format code
Former-commit-id: 993b88487da976f809fdb29ffb07cdb0188a16f7
2019-10-18 14:41:32 +08:00
starlord
92a21ec3da #30 Some troubleshoot messages in Milvus do not provide enough information
Former-commit-id: 49b03511fc7abbc323c511fad28a568d71b518d5
2019-10-18 14:40:15 +08:00
JinHai-CN
3d21f05f7d Format code
Former-commit-id: 052c197f7678f5828580487fb98ab978659c59bf
2019-10-15 16:26:45 +08:00
yudong.cai
dda4fc258f clang-format
Former-commit-id: bc02ded285190b79eb9012151fdd67fe46525556
2019-10-15 16:22:42 +08:00
starlord
4c945ae5bc MS-624 Describe index timeout when building index
Former-commit-id: 09c30bbc9718c1fc7305c8ba0eb205c5428ccd3a
2019-10-15 11:33:42 +08:00
starlord
3b73e99b28 check insert vector count and id count
Former-commit-id: bc2c5bd8e01271fb4f043d53e9c634e42b31ee64
2019-10-14 15:36:54 +08:00
starlord
41d37f9648 re-organize project
Former-commit-id: 898c2c8b0b2cfdc1b8664062aa0ea910a93566dd
2019-10-14 09:51:48 +08:00