提交 a3c369c0 编写于 作者: W wxyu

solve conflicts


Former-commit-id: c92330680d95525afd2b11f3dbeb9db051dfc751
...@@ -12,8 +12,10 @@ Please mark all change in change log and use the ticket from JIRA. ...@@ -12,8 +12,10 @@ Please mark all change in change log and use the ticket from JIRA.
- \#80 - Print version information into log during server start - \#80 - Print version information into log during server start
- \#82 - Move easyloggingpp into "external" directory - \#82 - Move easyloggingpp into "external" directory
- \#92 - Speed up CMake build process - \#92 - Speed up CMake build process
- \#96 - Remove .a file in milvus/lib for docker-version
- \#118 - Using shared_ptr instead of weak_ptr to avoid performance loss - \#118 - Using shared_ptr instead of weak_ptr to avoid performance loss
>>>>>>> main/0.5.1
## Feature ## Feature
- \#115 - Using new structure for tasktable - \#115 - Using new structure for tasktable
......
![Milvuslogo](https://github.com/milvus-io/docs/blob/master/assets/milvus_logo.png) ![Milvuslogo](https://github.com/milvus-io/docs/blob/master/assets/milvus_logo.png)
![LICENSE](https://img.shields.io/badge/license-Apache--2.0-brightgreen) ![LICENSE](https://img.shields.io/badge/license-Apache--2.0-brightgreen)
![Language](https://img.shields.io/badge/language-C%2B%2B-blue) ![Language](https://img.shields.io/badge/language-C%2B%2B-blue)
[![codebeat badge](https://codebeat.co/badges/e030a4f6-b126-4475-a938-4723d54ec3a7?style=plastic)](https://codebeat.co/projects/github-com-jinhai-cn-milvus-master) [![codebeat badge](https://codebeat.co/badges/e030a4f6-b126-4475-a938-4723d54ec3a7?style=plastic)](https://codebeat.co/projects/github-com-jinhai-cn-milvus-master)
![Release](https://img.shields.io/badge/release-v0.5.0-orange)
![Release_date](https://img.shields.io/badge/release_date-October-yellowgreen)
- [Slack Community](https://join.slack.com/t/milvusio/shared_invite/enQtNzY1OTQ0NDI3NjMzLWNmYmM1NmNjOTQ5MGI5NDhhYmRhMGU5M2NhNzhhMDMzY2MzNDdlYjM5ODQ5MmE3ODFlYzU3YjJkNmVlNDQ2ZTk) - [Slack Community](https://join.slack.com/t/milvusio/shared_invite/enQtNzY1OTQ0NDI3NjMzLWNmYmM1NmNjOTQ5MGI5NDhhYmRhMGU5M2NhNzhhMDMzY2MzNDdlYjM5ODQ5MmE3ODFlYzU3YjJkNmVlNDQ2ZTk)
- [Twitter](https://twitter.com/milvusio) - [Twitter](https://twitter.com/milvusio)
...@@ -21,7 +24,7 @@ Milvus is an open source similarity search engine for massive feature vectors. D ...@@ -21,7 +24,7 @@ Milvus is an open source similarity search engine for massive feature vectors. D
Milvus provides stable Python, Java and C++ APIs. Milvus provides stable Python, Java and C++ APIs.
Keep up-to-date with newest releases and latest updates by reading Milvus [release notes](https://milvus.io/docs/en/Releases/v0.5.0/). Keep up-to-date with newest releases and latest updates by reading Milvus [release notes](https://milvus.io/docs/en/release/v0.5.0/).
- Heterogeneous computing - Heterogeneous computing
...@@ -89,7 +92,7 @@ Use Docker to install Milvus is a breeze. See the [Milvus install guide](https:/ ...@@ -89,7 +92,7 @@ Use Docker to install Milvus is a breeze. See the [Milvus install guide](https:/
```shell ```shell
$ cd [Milvus sourcecode path]/core $ cd [Milvus sourcecode path]/core
./ubuntu_build_deps.sh $ ./ubuntu_build_deps.sh
``` ```
##### Step 2 Build ##### Step 2 Build
...@@ -167,7 +170,7 @@ Refer to [this link](https://github.com/milvus-io/milvus-sdk-java/tree/master/ex ...@@ -167,7 +170,7 @@ Refer to [this link](https://github.com/milvus-io/milvus-sdk-java/tree/master/ex
## Contribution guidelines ## Contribution guidelines
Contributions are welcomed and greatly appreciated. If you want to contribute to Milvus, please read our [contribution guidelines](CONTRIBUTING.md). This project adheres to the [code of conduct](CODE_OF_CONDUCT.md) of Milvus. By participating, you are expected to uphold this code. Contributions are welcomed and greatly appreciated. Please read our [contribution guidelines](CONTRIBUTING.md) for detailed contribution workflow. This project adheres to the [code of conduct](CODE_OF_CONDUCT.md) of Milvus. By participating, you are expected to uphold this code.
We use [GitHub issues](https://github.com/milvus-io/milvus/issues/new/choose) to track issues and bugs. For general questions and public discussions, please join our community. We use [GitHub issues](https://github.com/milvus-io/milvus/issues/new/choose) to track issues and bugs. For general questions and public discussions, please join our community.
...@@ -196,5 +199,6 @@ Please read our [roadmap](https://milvus.io/docs/en/roadmap/) to learn about upc ...@@ -196,5 +199,6 @@ Please read our [roadmap](https://milvus.io/docs/en/roadmap/) to learn about upc
## License ## License
[Apache 2.0 license](LICENSE) [Apache License 2.0](LICENSE)
String cron_string = BRANCH_NAME == "master" ? "H 0 * * *" : "" String cron_timezone = "TZ=Asia/Shanghai"
cron_string = BRANCH_NAME == "0.5.1" ? "H 1 * * *" : cron_string String cron_string = BRANCH_NAME == "master" ? "H 0 * * * " : ""
cron_string = BRANCH_NAME == "0.5.1" ? "H 1 * * * " : cron_string
pipeline { pipeline {
agent none agent none
triggers { cron(cron_string) } triggers {
cron """${cron_timezone}
${cron_string}"""
}
options { options {
timestamps() timestamps()
......
...@@ -3,7 +3,7 @@ sh 'helm repo update' ...@@ -3,7 +3,7 @@ sh 'helm repo update'
dir ('milvus-helm') { dir ('milvus-helm') {
checkout([$class: 'GitSCM', branches: [[name: "0.5.0"]], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: "${params.GIT_CREDENTIALS_ID}", url: "https://github.com/milvus-io/milvus-helm.git", name: 'origin', refspec: "+refs/heads/0.5.0:refs/remotes/origin/0.5.0"]]]) checkout([$class: 'GitSCM', branches: [[name: "0.5.0"]], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: "${params.GIT_CREDENTIALS_ID}", url: "https://github.com/milvus-io/milvus-helm.git", name: 'origin', refspec: "+refs/heads/0.5.0:refs/remotes/origin/0.5.0"]]])
dir ("milvus-gpu") { dir ("milvus-gpu") {
sh "helm install --wait --timeout 300 --set engine.image.tag=${DOCKER_VERSION} --set expose.type=clusterIP --name ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu -f ci/values.yaml -f ci/filebeat/values.yaml --namespace milvus ." sh "helm install --wait --timeout 300 --set engine.image.tag=${DOCKER_VERSION} --set expose.type=clusterIP --name ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu -f ci/db_backend/sqlite_values.yaml -f ci/filebeat/values.yaml --namespace milvus ."
} }
} }
...@@ -4,19 +4,21 @@ timeout(time: 60, unit: 'MINUTES') { ...@@ -4,19 +4,21 @@ timeout(time: 60, unit: 'MINUTES') {
sh "pytest . --alluredir=\"test_out/dev/single/sqlite\" --level=1 --ip ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu-milvus-gpu-engine.milvus.svc.cluster.local" sh "pytest . --alluredir=\"test_out/dev/single/sqlite\" --level=1 --ip ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu-milvus-gpu-engine.milvus.svc.cluster.local"
} }
// mysql database backend test // mysql database backend test
load "${env.WORKSPACE}/ci/jenkins/jenkinsfile/cleanupSingleDev.groovy" // load "${env.WORKSPACE}/ci/jenkins/jenkinsfile/cleanupSingleDev.groovy"
if (!fileExists('milvus-helm')) { // Remove mysql-version tests: 10-28
dir ("milvus-helm") {
checkout([$class: 'GitSCM', branches: [[name: "0.5.0"]], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: "${params.GIT_CREDENTIALS_ID}", url: "https://github.com/milvus-io/milvus-helm.git", name: 'origin', refspec: "+refs/heads/0.5.0:refs/remotes/origin/0.5.0"]]]) // if (!fileExists('milvus-helm')) {
} // dir ("milvus-helm") {
} // checkout([$class: 'GitSCM', branches: [[name: "0.5.0"]], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: "${params.GIT_CREDENTIALS_ID}", url: "https://github.com/milvus-io/milvus-helm.git", name: 'origin', refspec: "+refs/heads/0.5.0:refs/remotes/origin/0.5.0"]]])
dir ("milvus-helm") { // }
dir ("milvus-gpu") { // }
sh "helm install --wait --timeout 300 --set engine.image.tag=${DOCKER_VERSION} --set expose.type=clusterIP --name ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu -f ci/db_backend/mysql_values.yaml -f ci/filebeat/values.yaml --namespace milvus ." // dir ("milvus-helm") {
} // dir ("milvus-gpu") {
} // sh "helm install --wait --timeout 300 --set engine.image.tag=${DOCKER_VERSION} --set expose.type=clusterIP --name ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu -f ci/db_backend/mysql_values.yaml -f ci/filebeat/values.yaml --namespace milvus ."
dir ("tests/milvus_python_test") { // }
sh "pytest . --alluredir=\"test_out/dev/single/mysql\" --level=1 --ip ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu-milvus-gpu-engine.milvus.svc.cluster.local" // }
} // dir ("tests/milvus_python_test") {
// sh "pytest . --alluredir=\"test_out/dev/single/mysql\" --level=1 --ip ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu-milvus-gpu-engine.milvus.svc.cluster.local"
// }
} }
...@@ -81,27 +81,6 @@ target_link_libraries( ...@@ -81,27 +81,6 @@ target_link_libraries(
${depend_libs} ${depend_libs}
) )
INSTALL(TARGETS
knowhere
SPTAGLibStatic
DESTINATION
lib)
INSTALL(FILES
${ARROW_STATIC_LIB}
${ARROW_PREFIX}/lib/libjemalloc_pic.a
${FAISS_STATIC_LIB}
${LAPACK_STATIC_LIB}
${BLAS_STATIC_LIB}
DESTINATION
lib
)
INSTALL(FILES ${OPENBLAS_REAL_STATIC_LIB}
RENAME "libopenblas.a"
DESTINATION lib
)
set(INDEX_INCLUDE_DIRS set(INDEX_INCLUDE_DIRS
${INDEX_SOURCE_DIR}/knowhere ${INDEX_SOURCE_DIR}/knowhere
${INDEX_SOURCE_DIR}/thirdparty ${INDEX_SOURCE_DIR}/thirdparty
...@@ -112,17 +91,4 @@ set(INDEX_INCLUDE_DIRS ...@@ -112,17 +91,4 @@ set(INDEX_INCLUDE_DIRS
${LAPACK_INCLUDE_DIR} ${LAPACK_INCLUDE_DIR}
) )
set(INDEX_INCLUDE_DIRS ${INDEX_INCLUDE_DIRS} PARENT_SCOPE) set(INDEX_INCLUDE_DIRS ${INDEX_INCLUDE_DIRS} PARENT_SCOPE)
\ No newline at end of file
#INSTALL(DIRECTORY
# ${INDEX_SOURCE_DIR}/include/knowhere
# ${ARROW_INCLUDE_DIR}/arrow
# ${FAISS_PREFIX}/include/faiss
# ${OPENBLAS_INCLUDE_DIR}/
# DESTINATION
# include)
#
#INSTALL(DIRECTORY
# ${SPTAG_SOURCE_DIR}/AnnService/inc/
# DESTINATION
# include/SPTAG/AnnService/inc)
此差异已折叠。
requests>=2.22.0
markdown>=3.1.1
beautifulsoup4>=4.8.1
...@@ -5,7 +5,6 @@ import threading ...@@ -5,7 +5,6 @@ import threading
from multiprocessing import Process from multiprocessing import Process
from utils import * from utils import *
__version__ = '0.5.0'
CONNECT_TIMEOUT = 12 CONNECT_TIMEOUT = 12
......
...@@ -301,7 +301,7 @@ class TestIndexBase: ...@@ -301,7 +301,7 @@ class TestIndexBase:
vectors = gen_vectors(nq, dim) vectors = gen_vectors(nq, dim)
table_list = [] table_list = []
for i in range(10): for i in range(10):
table_name = gen_unique_str('test_create_index_multi_tables') table_name = gen_unique_str()
table_list.append(table_name) table_list.append(table_name)
param = {'table_name': table_name, param = {'table_name': table_name,
'dimension': dim, 'dimension': dim,
...@@ -769,7 +769,7 @@ class TestIndexIP: ...@@ -769,7 +769,7 @@ class TestIndexIP:
vectors = gen_vectors(nq, dim) vectors = gen_vectors(nq, dim)
table_list = [] table_list = []
for i in range(10): for i in range(10):
table_name = gen_unique_str('test_create_index_multi_tables') table_name = gen_unique_str()
table_list.append(table_name) table_list.append(table_name)
param = {'table_name': table_name, param = {'table_name': table_name,
'dimension': dim, 'dimension': dim,
......
import logging import logging
import pytest import pytest
__version__ = '0.5.0' __version__ = '0.5.1'
class TestPing: class TestPing:
......
...@@ -806,7 +806,7 @@ def create_index(connect, **params): ...@@ -806,7 +806,7 @@ def create_index(connect, **params):
return status return status
func_map = { func_map = {
0:has, # 0:has,
1:show, 1:show,
10:create_table, 10:create_table,
11:describe, 11:describe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册