Commit 7929ecd5 authored by 蔡宇东's avatar 蔡宇东
Browse files

Merge remote-tracking branch 'main/branch-0.5.0' into branch-0.5.0


Former-commit-id: 5a5be258db44c0ec29bcae2c55740f7e488abb47
parents 2b2a8140 fff91fc9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ container('milvus-build-env') {
                        withCredentials([usernamePassword(credentialsId: "${params.JFROG_USER}", usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
                            sh "./build.sh -l"
                            sh "export JFROG_ARTFACTORY_URL='${params.JFROG_ARTFACTORY_URL}' && export JFROG_USER_NAME='${USERNAME}' && export JFROG_PASSWORD='${PASSWORD}' && ./build.sh -t ${params.BUILD_TYPE} -j -u -c"
                            sh "./coverage.sh -u root -p Fantast1c -t 192.168.1.194"
                        }
                    }
                } catch (exc) {
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ container('milvus-build-env') {
                        withCredentials([usernamePassword(credentialsId: "${params.JFROG_USER}", usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
                            sh "./build.sh -l"
                            sh "export JFROG_ARTFACTORY_URL='${params.JFROG_ARTFACTORY_URL}' && export JFROG_USER_NAME='${USERNAME}' && export JFROG_PASSWORD='${PASSWORD}' && ./build.sh -t ${params.BUILD_TYPE} -j"
                            sh "./coverage.sh -u root -p Fantast1c -t 192.168.1.194"
                        }
                    }
                } catch (exc) {
+5 −1
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-587 - Count get wrong result after adding vectors and index built immediately
- MS-599 - Search wrong result when table created with metric_type: IP
- MS-601 - Docker logs error caused by get CPUTemperature error
- MS-605 - Server going down during searching vectors
- MS-620 - Get table row counts display wrong error code
- MS-622 - Delete vectors should be failed if date range is invalid
- MS-624 - Search vectors failed if time ranges long enough
@@ -19,9 +20,11 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-640 - Cache object size calculate incorrect
- MS-641 - Segment fault(signal 11) in PickToLoad
- MS-644 - Search crashed with index-type: flat
- MS-647 - [monitor] grafana display average cpu-temp
- MS-647 - grafana display average cpu-temp
- MS-652 - IVFSQH quantization double free
- MS-653 - When config check fail, Milvus close without message
- MS-654 - Describe index timeout when building index
- MS-658 - Fix SQ8 Hybrid can't search

## Improvement
- MS-552 - Add and change the easylogging library
@@ -43,6 +46,7 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-619 - Add optimizer class in scheduler
- MS-626 - Refactor DataObj to support cache any type data
- MS-648 - Improve unittest
- MS-655 - Upgrade SPTAG

## New Feature
- MS-627 - Integrate new index: IVFSQHybrid
+0 −4
Original line number Diff line number Diff line
@@ -125,10 +125,6 @@ set(MILVUS_SOURCE_DIR ${PROJECT_SOURCE_DIR})
set(MILVUS_BINARY_DIR ${PROJECT_BINARY_DIR})
set(MILVUS_ENGINE_SRC ${PROJECT_SOURCE_DIR}/src)

if (CUSTOMIZATION)
    add_definitions(-DCUSTOMIZATION)
endif (CUSTOMIZATION)

include(ExternalProject)
include(DefineOptions)
include(BuildUtils)
+13 −4
Original line number Diff line number Diff line
@@ -76,13 +76,13 @@ $ sudo ln -s /path/to/libmysqlclient.so /path/to/libmysqlclient_r.so
###### Step 2 Build

```shell
$ cd [Milvus sourcecode path]/cpp
$ cd [Milvus sourcecode path]/core
$ ./build.sh -t Debug
or 
$ ./build.sh -t Release
```

When the build is completed, all the stuff that you need in order to run Milvus will be installed under `[Milvus root path]/cpp/milvus`.
When the build is completed, all the stuff that you need in order to run Milvus will be installed under `[Milvus root path]/core/milvus`.

If you encounter the following error message,
`protocol https not supported or disabled in libcurl`
@@ -148,11 +148,20 @@ $ sudo apt-get install lcov
```shell  
$ ./build.sh -u -c
```
Run mysql docker
```shell 
docker pull mysql:latest
docker run -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 -d mysql:latest
```
Run code coverage
```shell  
$ ./coverage.sh -u root -p 123456 -t 127.0.0.1
```

##### Launch Milvus server

```shell
$ cd [Milvus root path]/cpp/milvus
$ cd [Milvus root path]/core/milvus
```

Add `lib/` directory to `LD_LIBRARY_PATH`
@@ -202,7 +211,7 @@ $ python3 example.py

```shell
 # Run Milvus C++ example
 $ cd [Milvus root path]/cpp/milvus/bin
 $ cd [Milvus root path]/core/milvus/bin
 $ ./sdk_simple
```

Loading