From 26508c7964b3535948591a4d606a5b2e8905961f Mon Sep 17 00:00:00 2001 From: PahudPlus Date: Fri, 19 Jun 2020 16:13:45 +0800 Subject: [PATCH] Prepared 0.8.1 documentation. --- site/en/Variables.json | 6 +- site/en/reference/milvus_config.md | 145 ++++++++++--------- site/en/release/release_notes.md | 212 +--------------------------- site/zh-CN/Variables.json | 6 +- site/zh-CN/release/release_notes.md | 211 ++------------------------- version.json | 4 +- 6 files changed, 99 insertions(+), 485 deletions(-) diff --git a/site/en/Variables.json b/site/en/Variables.json index 5583adfbb..2565ee7c3 100644 --- a/site/en/Variables.json +++ b/site/en/Variables.json @@ -1,7 +1,7 @@ { - "release_version": "0.10.0", - "cpu_milvus_docker_image_version": "0.10.0-cpu-d061620-5f3c00", - "gpu_milvus_docker_image_version": "0.10.0-gpu-d061620-5f3c00", + "release_version": "0.8.1", + "cpu_milvus_docker_image_version": "0.8.1-cpu-d061620-5f3c00", + "gpu_milvus_docker_image_version": "0.8.1-gpu-d061620-5f3c00", "milvus_python_sdk_version": "0.2.13", "milvus_java_sdk_version": "0.8.2" diff --git a/site/en/reference/milvus_config.md b/site/en/reference/milvus_config.md index d7582e09a..006e1ac00 100644 --- a/site/en/reference/milvus_config.md +++ b/site/en/reference/milvus_config.md @@ -35,15 +35,17 @@ You can update parameters in `server_config.yaml` from a Milvus client. See [Cli Updates to the following parameters take effect immediately. - - section `cache` - - `cache_size` - - `insert_buffer_size` - - section `gpu` - - `enable` - - `cache_size` + - section `cache_config` + - `cpu_cache_capacity` + - `cache_insert_data` + - section `engine_config` + - `use_blas_threshold` - `gpu_search_threshold` - - `search_devices` - - `build_index_devices` + - section `gpu_resource_config` + - `enable` + - `cache_capacity` + - `search_resources` + - `build_index_resources` For other parameters, you still need to restart Milvus for the changes to take effect. @@ -51,124 +53,137 @@ For other parameters, you still need to restart Milvus for the changes to take e Before changing these settings, welcome to consult Milvus team on [GitHub issues](https://github.com/milvus-io/milvus/issues/new/choose) or [our Slack channel](https://join.slack.com/t/milvusio/shared_invite/enQtNzY1OTQ0NDI3NjMzLWNmYmM1NmNjOTQ5MGI5NDhhYmRhMGU5M2NhNzhhMDMzY2MzNDdlYjM5ODQ5MmE3ODFlYzU3YjJkNmVlNDQ2ZTk). -### Section `cluster` +### Section `server_config`
-| Parameter | Description | Type | Default | -| ------------------------ | ------------------------------------------------------------ | ------- | --------------- | -| `enable` | If running with Mishards, set it as `true`, otherwise set it as `false`. | Boolean | `false` | -| `role` | Milvus deployment role: `rw` / `ro` | Role | `rw` | +| Parameter | Description | Type | Default | +| ----------- | ------------------------------------------------------------ | ------- | ---------- | +| `address` | IP address that Milvus server monitors. | String | `0.0.0.0` | +| `port` | Port that Milvus server monitors. Port range: (1024, 65535). | Integer | `19530` | +| `deploy_mode` | Milvus deployment type. Options are `single`, `cluster_readonly` and `cluster_writable`. | DeployMode | `single` | +| `time_zone` | Use the UTC-x or UTC+x to specify a time zone. For example, use `UTC+8` for China Standard Time. | Timezone | `UTC+8` | +| `web_enable` | Whether to enable web server. | Boolean | `true` | +| `web_port` | Port that Milvus web server monitors. Port range: (1024, 65535). You can use the Milvus web server to communicate with the [Milvus RESTful API](sdk.md). | Integer | `19121` |
-### Section `general` +### Section `db_config`
| Parameter | Description | Type | Default | | ------------------------ | ------------------------------------------------------------ | ------- | --------------- | -| `timezone` | Uses UTC-x or UTC+x to specify a time zone. | Timezone | `UTC+8` | -| `meta_uri` | URI for metadata storage, using SQLite (for single server Milvus) or MySQL (for distributed cluster Milvus). Format: `dialect://username:password@host:port/database`. Keep `dialect://:@:/`, `dialect` can be either `sqlite` or `mysql`. Replace the other fields with the real values. | URI | `sqlite://:@:/` | - +| `backend_url` | URL for metadata storage. Use SQLite (for single server Milvus) or MySQL (for distributed cluster) to store the metadata.
The format of `backend_url` is: `dialect://username:password@host:port/database`. (`dialect` can be either `mysql` or `sqlite`, depending on which database you use. | String | `sqlite://:@:/` | +| `preload_collection` | Determines how to preload collections into memory after Milvus server restarts. Collections can be selected for fully or partially preloading.
To preload all the existing collections, use `'*'` (quote included); To preload some collections, list the specific collection names, separated by comma. If you choose not to preload any collection, keep it empty ( ` ` ). | StringList | ` ` | +| `auto_flush_interval` | The interval, in seconds, at which Milvus automatically flushes inserted data in the cache to disk. If `auto_flush_interval` is 0, automatic flushing at a fixed interval is disabled. However, when the cache is full, Milvus always flushes data to disk, regardless of the value of `auto_flush_interval`. | Integer | 1 (s) |
-### Section `network` +### Section `storage_config`
| Parameter | Description | Type | Default | | ------------------------ | ------------------------------------------------------------ | ------- | --------------- | -| `bind.address` | IP address that Milvus server monitors. | IP | `0.0.0.0` | -| `bind.port` | Port that Milvus server monitors. Port range (1024, 65535) | Integer | `19530` | -| `http.enable` | Whether to enable HTTP server. | Boolean | `true` | -| `http.port` | Port that Milvus HTTP server monitors. Port range (1024, 65535). | Integer | `19121` | +| `primary_path` | Primary directory used for the vector data files, index files, and the metadata. | Path | `/var/lib/milvus` | +| `secondary_path` | A semicolon-separated list of secondary directories used vector data files and index files. Set this parameter when the data size is too much to fit in the `primary_path`.
Each file, whether in `primary_path` or `secondary_path`, is assigned an equal part of the imported data. Data Size per Directory = Total Data Size / Number of Directories. So make sure the available storage space in these files are enough. | Path | ` ` | +| `file_cleanup_timeout` | The time gap in seconds between marking a file as `deleted` and physically deleting it from the disk. Range: [0,3600]. | Integer | `10` (s) | +
-### Section `storage` +### Section `metric_config`
-| Parameter | Description | Type | Default | -| ------------------------ | ------------------------------------------------------------ | ------- | --------------- | -| `path` | Directory holding the vector data files, index files, and the metadata. | Path | `/var/lib/milvus` | -| `auto_flush_interval` | The interval, in seconds, at which Milvus automatically flushes data to disk. 0: Disables the regular flush.| Integer | `1` (s) | - +| Parameter | Description | Type | Default | +| ---------------- | ------------------------------------------------ | ------- | ------------ | +| `enable_monitor` | Set to `true` to enable the monitoring function. | Boolean | `false` | +| `address` | IP address of the Pushgateway. | IP | `127.0.0.1` | +| `port` | Port of the Pushgateway. | Integer | `9091` |
-### Section `wal` +### Section `cache_config`
-| Parameter | Description | Type | Default | -| -------------------- | ------------------------------------------------------------ | ------------ | ------- | -| `enable` | Whether to enable write-ahead logging (WAL) in Milvus. If WAL is enabled, Milvus writes all data changes to log files in advance before implementing data changes. WAL ensures the atomicity and durability for Milvus operations. | Boolean | true | -| `recovery_error_ignore` | Whether to ignore logs with errors that happens during WAL recovery. If true, when Milvus restarts for recovery and there are errors in WAL log files, log files with errors are ignored. If false, Milvus fails to restart when there are errors in WAL log files. | Boolean | true | -| `buffer_size` | Sum total of the read buffer and the write buffer in Bytes. `buffer_size` must be in range `[64MB, 4096MB]`. If the value you specified is out of range, Milvus automatically uses the boundary value closest to the specified value. It is recommended you set `buffer_size` to a value greater than the inserted data size of a single insert operation for better performance. | String | `256MB` | -| `wal_path` | Location of WAL log files. | String | `/var/lib/milvus/wal` | +| Parameter | Description | Type | Default | +| -------------------- | ------------------------------------------------------------ | ------- | --------- | +| `cpu_cache_capacity` | The size of the CPU memory for caching data for faster query. The sum of `cpu_cache_capacity` and `insert_buffer_size` must < the total CPU memory size. | Integer | `4` (GB) | +| `insert_buffer_size` | The maximum memory size used by the buffer for data insertion. The sum of `insert_buffer_size` and `cpu_cache_capacity` must < the total memory size. | Integer | `1` (GB) | +| `cache_insert_data` | If set to `true` , the inserted data will be loaded to the cache immediately for hot query. | Boolean | `false` | +
-### Section `cache` +### Section `engine_config`
-| Parameter | Description | Type | Default | -| -------------------- | ------------------------------------------------------------ | ------- | --------- | -| `cache_size` | The size of the CPU memory for caching data for faster query. The sum of `cache_size` and `insert_buffer_size` must be less than the system memory size. | String | `4GB` | -| `insert_buffer_size` | Buffer size used for data insertion. The sum of `insert_buffer_size` and `cache_size` must be less than the system memory size. | String | `1GB` | -| `preload_collection` | A comma-separated list of collection names that need to be pre-loaded when Milvus server starts up. '*' means preload all existing tables (single-quote or double-quote required). | StringList | N/A | - +| Parameter | Description | Type | Default | +| -------------------- | ------------------------------------------------------------ | ------- | ------- | +| `use_blas_threshold` | A Milvus performance tuning parameter. The threshold value must be compared with `nq` to decide whether the usage of OpenBLAS library will be triggered.
If `nq` >= `use_blas_threshold` , OpenBLAS will be used. The search response times do not fluctuate, but the search speed is relatively slow.
If `nq` < `use_blas_threshold` , AVX or SSE will be used. The search speed will be enhanced, however with slight fluctuation of search response times. The value should be >= 0. | Integer | `1100` | +| `gpu_search_threshold` | A Milvus performance tuning parameter. The threshold value must be compared with `nq` to decide if the search computation will be executed on GPUs only.
If `nq` >= `gpu_search_threshold` , the search computation will be executed on GPUs only.
If `nq` < `gpu_search_threshold` , the search computation will be executed on both CPUs and GPUs. | Integer | `1000` |
-### Section `gpu` +### Section `gpu_resource_config` This section determines whether to enable GPU support/usage in Milvus. GPU support, which uses both CPU and GPUs for optimized resource utilization, can achieve accelerated search performance on very large datasets. +To switch to CPU-only mode, just set `enable` to `false`.
| Parameter | Description | Type | Default | | -------------------- | ------------------------------------------------------------ | ------------ | ------- | -| `enable` | Whether to enable GPU usage in Milvus. | Boolean | `false` | -| `cache_size` | Size of the GPU memory for caching data. | String | `1GB` | -| `gpu_search_threshold` | A Milvus performance tuning parameter. This value will be compared with 'nq' to decide if the search computation will be executed on GPUs only. If nq >= `gpu_search_threshold`, the search computation will be executed on GPUs only; otherwise, the search computation will be executed on both CPUs and GPUs. | Integer | `1000` | -| `search_devices` | A list of GPU devices used for search computation. Must be in format: `gpux`, where `x` is the GPU number, such as `gpu0`. | DeviceList | `gpu0` | -| `build_index_devices` | A list of GPU devices used for index building. Must be in format: `gpux`, where `x` is the GPU number, such as `gpu0`. | DeviceList | `gpu0` | +| `enable` | Whether to enable GPU usage in Milvus. | Boolean | `true` | +| `cache_capacity` | Size of the GPU memory for caching data for faster query. The size must be less than the total GPU memory size. | Integer | `1` (GB) | +| `search_resources` | GPU devices used for search computation in Milvus. Must be in format: `gpux`, where `x` is the GPU number, such as `gpu0`. You can use multiple GPUs for search computation. | DeviceList | `gpu0` | +| `build_index_resources` | GPU devices used for index building in Milvus. Must be in format: `gpux`, where `x` is the GPU number, such as `gpu0`. You can use multiple GPUs for search computation. | DeviceList | `gpu0` |
-> Note: In Milvus, index building and search computation are separate processes, which can be executed on `cpu`, `gpu`, or both. You can assign multiple GPUs to index building and search computation by adding GPUs under `search_devices` or `build_index_devices`. The following YAML code shows an example: +> Note: In Milvus, index building and search computation are separate processes, which can be executed on `cpu`, `gpu`, or both. You can assign multiple GPUs to index building and search computation by adding GPUs under `search_resources` or `build_index_resources`. The following YAML code shows an example: -```yaml - search_devices: + ```yaml + search_resources: - gpu0 - gpu1 - build_index_devices: + build_index_resources: - gpu0 - gpu1 -``` + ``` -### Section `logs` +### Section `tracing_config`
| Parameter | Description | Type | Default | | -------------------- | ------------------------------------------------------------ | ------------ | ------- | -| `level` | Log level in Milvus. Must be one of `debug`, `info`, `warning`, `error`, `fatal`. | String | `debug` | -| `trace.enable` | Whether to enable trace level logging. | Boolean | `true` | -| `path` | Absolute path to the folder holding the log files. | String | `/var/lib/milvus/logs` | -| `max_log_file_size` | The maximum size of each log file. Range: [512MB, 4096MB] | String | `1024MB` | -| `log_rotate_num` | The maximum number of log files that Milvus keeps for each logging level. Range: [0, 1024]. `0` means that the number does not have an upper limit. | Integer | `0` | +| `json_config_path` | Absolute path for tracing config file. Milvus creates a no-op tracer if the value is empty. | Path | ` ` |
-### Section `metric` +### Section `wal_config`
-| Parameter | Description | Type | Default | -| ---------------- | ------------------------------------------------ | ------- | ------------ | -| `enable` | Whether to enable the monitoring function. | Boolean | `false` | -| `address` | IP address of the Pushgateway. | IP | `127.0.0.1` | -| `port` | Port of the Pushgateway. Port range (1024, 65535). | Integer | `9091` | +| Parameter | Description | Type | Default | +| -------------------- | ------------------------------------------------------------ | ------------ | ------- | +| `enable` | Whether to enable write-ahead logging (WAL) in Milvus. If WAL is enabled, Milvus writes all data changes to log files in advance before implementing data changes. WAL ensures the atomicity and durability for Milvus operations. | Boolean | true | +| `recovery_error_ignore` | Whether to ignore logs with errors that happens during WAL recovery. If true, when Milvus restarts for recovery and there are errors in WAL log files, log files with errors are ignored. If false, Milvus fails to restart when there are errors in WAL log files. | Boolean | true | +| `buffer_size` | Sum total of the read buffer and the write buffer in MBs. `buffer_size` must be in range `[64, 4096]` (MB) . If the value you specified is out of range, Milvus automatically uses the boundary value closest to the specified value. It is recommended you set `buffer_size` to a value greater than the inserted data size of a single insert operation for better performance. | Integer | `256` (MB) | +| `wal_path` | Location of WAL log files. | String | ` ` |
+### Section `logs` +
+| Parameter | Description | Type | Default | +| -------------------- | ------------------------------------------------------------ | ------------ | ------- | +| `trace.enable` | Whether to enable trace level logging. | Boolean | `true` | +| `debug.enable` | Whether to enable debug level logging. | Boolean | `true` | +| `info.enable` | Whether to enable info level logging. | Boolean | `true` | +| `warning.enable` | Whether to enable warning level logging. | Boolean | `true` | +| `error.enable` | Whether to enable error level logging. | Boolean | `true` | +| `fatal.enable` | Whether to enable fatal level logging. | Boolean | `true` | +| `path` | Absolute path to the folder holding the log files. | String | ` ` | +| `max_log_file_size` | The maximum size of each log file. Range: [1024, 4096] | Integer | `1024` (MB) | +| `logrotate` | The maximum number of log files that Milvus keeps for each logging level. Range: [0, 1024]. `0` means that the number does not have an upper limit. | Integer | `0` | +
\ No newline at end of file diff --git a/site/en/release/release_notes.md b/site/en/release/release_notes.md index af4ee788b..ed33229a1 100644 --- a/site/en/release/release_notes.md +++ b/site/en/release/release_notes.md @@ -6,15 +6,15 @@ sidebar_label: Release Notes # Release notes -## v0.10.0 +## v0.8.1 -**Release date**:2020-6-15 +**Release date**:2020-6-22 #### Compatibility | Milvus version | Python SDK version | Java SDK version | Go SDK version | | :------------- | :----------------- | :--------------- | :------------- | -| 0.10.0 | 0.2.13 | 0.8.2 | 0.4.2 | +| 0.8.1 | 0.2.xx | 0.8.xx | 0.4.xx | #### Compatibility changes @@ -33,212 +33,6 @@ sidebar_label: Release Notes > See [CHANGELOG](https://github.com/milvus-io/milvus/blob/0.10.0/CHANGELOG.md) for more information. -## v0.9.1 - -**Release date**:2020-5-29 - -#### Compatibility - -| Milvus version | Python SDK version | Java SDK version | Go SDK version | -| :------------- | :----------------- | :--------------- | :------------- | -| 0.9.1 | 0.2.12 | 0.8.1 | 0.4.1 | - -#### Fixed issues - -- In a multi-partition situation, data is inserted twice after the server reboots. [#2378](https://github.com/milvus-io/milvus/issues/2378) -- A `cudaMalloc` failure occurs with GPU IVF index when nq (number of queries) is high. [#2395](https://github.com/milvus-io/milvus/issues/2395). -- Deleted vectors are still found in GPU-enabled Milvus. [#2450](https://github.com/milvus-io/milvus/issues/2450) - -> See [CHANGELOG](https://github.com/milvus-io/milvus/blob/0.9.1/CHANGELOG.md) for more information. - -## v0.9.0 - -**Release date**:2020-5-15 - -#### Compatibility - -| Milvus version | Python SDK version | Java SDK version | Go SDK version | -| -------------- | ------------------ | ---------------- | -------------- | -| 0.9.0 | 0.2.11 | 0.8.0 | 0.4.0 | - -#### New features - - -- Checks the CPU instruction set, GPU driver version, and CUDA version, when Milvus starts up. [#2054](https://github.com/milvus-io/milvus/issues/2054) [#2111](https://github.com/milvus-io/milvus/issues/2111) -- Prevents multiple Milvus instances from accessing the same Milvus database at the same time. [#2059](https://github.com/milvus-io/milvus/issues/2059) -- Supports log file rotating. [#2206](https://github.com/milvus-io/milvus/issues/2206) -- Suspends index building when a search request comes in. [#2283](https://github.com/milvus-io/milvus/issues/2283) - -#### Improvements - -- Refactors log output. [#221](https://github.com/milvus-io/milvus/issues/221) -- Upgrades OpenBLAS to improve Milvus' performance. [#1796](https://github.com/milvus-io/milvus/issues/1796) -- Unifies the vector distance calculation algorithms among FAISS, NSG, HNSW, and ANNOY. [#1965](https://github.com/milvus-io/milvus/issues/1965) -- Supports SSE4.2 instruction set. [#2039](https://github.com/milvus-io/milvus/issues/2039) -- Refactors the configuration files. [#2149](https://github.com/milvus-io/milvus/issues/2149) [#2167](https://github.com/milvus-io/milvus/issues/2167) -- Uses Elkan K-means algorithm to improve the IVF index performance. [#2178](https://github.com/milvus-io/milvus/issues/2178) - -#### Fixed issues - -> See [CHANGELOG](https://github.com/milvus-io/milvus/blob/master/CHANGELOG.md) for more information. - -#### API changes - -##### Added methods - - - -| C++ | Python | Java | Go | -| -------------- | ------------------ | -------------------- | ------------------------ | -| `HasPartition` |`has_partition`|`hasPartition`|`HasPartition`| - -##### Changed methods - - - -| | C++ | Python | Java | Go | -| -------------- | -------------- | ------------------ | -------------------- | ------------------------ | -| Earlier than v0.9.0 | `DescribeCollection` |`describe_collection`|`describeCollection`|`DescribeCollection`| -| v0.9.0 | `GetCollectionInfo` |`get_collection_info`|`getCollectionInfo`|`GetCollectionInfo`| - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------------- | ------------------ | ----------------------- | ----------------- | -| Earlier than v0.9.0 | `CountCollection` | `count_collection` | `getCollectionRowCount` | `CountCollection` | -| v0.9.0 | `CountEntities` | `count_entities` | `countEntities` | `CountEntities` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------------- | ------------------ | ----------------- | ----------------- | -| Earlier than v0.9.0 | `ShowCollections` | `show_collections` | `showCollections` | `ShowCollections` | -| v0.9.0 | `ListCollections` | `list_collections` | `listCollections` | `ListCollections` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | -------------------- | ---------------------- | -------------------- | -------------------- | -| Earlier than v0.9.0 | `ShowCollectionInfo` | `collection_info` | `showCollectionInfo` | `ShowCollectionInfo` | -| v0.9.0 | `GetCollectionStats` | `get_collection_stats` | `getCollectionStats` | `GetCollectionStats` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | --------------- | ---------------- | --------------- | --------------- | -| Earlier than v0.9.0 | `DescribeIndex` | `describe_index` | `describeIndex` | `DescribeIndex` | -| v0.9.0 | `GetIndexInfo` | `get_index_info` | `getIndexInfo` | `GetIndexInfo` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ---------------- | ----------------- | ---------------- | ---------------- | -| Earlier than v0.9.0 | `ShowPartitions` | `show_partitions` | `showPartitions` | `ShowPartitions` | -| v0.9.0 | `ListPartitions` | `list_partitions` | `listPartitions` | `ListPartitions` | - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------------- | -------------------- | ----------------- | ---------------- | -| Earlier than v0.9.0 | `GetEntitiesByID` | `get_vectors_by_ids` | `getVectorsByIds` | `GetVectorsByID` | -| v0.9.0 | `GetEntityByID` | `get_entity_by_id` | `getEntityByID` | `GetEntityByID` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------------- | -------------------- | ----------------- | ----------------- | -| Earlier than v0.9.0 | `GetIDsInSegment` | `get_vector_ids` | `getVectorIds` | `GetEntityIDs` | -| v0.9.0 | `ListIDInSegment` | `list_id_in_segment` | `listIDInSegment` | `ListIDInSegment` | - - - -| | C++ | Python | Java | Go | -| ------------------- | ----- | ------------------- | --------------- | ----- | -| Earlier than v0.9.0 | *N/A* | `search_in_files` | `searchInFiles` | *N/A* | -| v0.9.0 | *N/A* | `search_in_segment` | *DELETED* | *N/A* | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ------------------ | --------------------- | ------------------ | ------------------ | -| Earlier than v0.9.0 | `DeleteByID` | `delete_by_id` | `deleteByIds` | `DeleteByID` | -| v0.9.0 | `DeleteEntityByID` | `delete_entity_by_id` | `deleteEntityByID` | `DeleteEntityByID` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ------------------- | -------------------- | ------------------- | ------------------- | -| Earlier than v0.9.0 | `PreloadCollection` | `preload_collection` | `preloadCollection` | `PreloadCollection` | -| v0.9.0 | `LoadCollection` | `load_collection` | `loadCollection` | `LoadCollection` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------------------------- | ----------- | ------------------------ | ----------- | -| Earlier than v0.9.0 | `FlushCollection` and `Flush` | `flush` | `flush` and `flushAsync` | `Flush` | -| v0.9.0 | `Flush` | *UNCHANGED* | *UNCHANGED* | *UNCHANGED* | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | --------------------------------- | ----------- | ---------------------------- | ----------- | -| Earlier than v0.9.0 | `CompactCollection` and `Compact` | `compact` | `compact` and `compactAsync` | `Compact` | -| v0.9.0 | `Compact` | *UNCHANGED* | *UNCHANGED* | *UNCHANGED* | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------- | --------- | ----------- | ----------- | -| Earlier than v0.9.0 | `Connect` | `connect` | `connect` | `Connect` | -| v0.9.0 | *UNCHANGED* | *DELETED* | *UNCHANGED* | *UNCHANGED* | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------- | ----------- | ------------- | ------------- | -| Earlier than v0.9.0 | `Connected` | `connected` | `isConnected` | `IsConnected` | -| v0.9.0 | *UNCHANGED* | *DELETED* | *UNCHANGED* | *UNCHANGED* | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ------------ | ------------ | ------------ | ------------ | -| Earlier than v0.9.0 | `Disconnect` | `disconnect` | `disconnect` | `Disconnect` | -| v0.9.0 | *UNCHANGED* | *DELETED* | *UNCHANGED* | *UNCHANGED* | - - - - - - - - - - ## v0.8.0 diff --git a/site/zh-CN/Variables.json b/site/zh-CN/Variables.json index 5583adfbb..2565ee7c3 100644 --- a/site/zh-CN/Variables.json +++ b/site/zh-CN/Variables.json @@ -1,7 +1,7 @@ { - "release_version": "0.10.0", - "cpu_milvus_docker_image_version": "0.10.0-cpu-d061620-5f3c00", - "gpu_milvus_docker_image_version": "0.10.0-gpu-d061620-5f3c00", + "release_version": "0.8.1", + "cpu_milvus_docker_image_version": "0.8.1-cpu-d061620-5f3c00", + "gpu_milvus_docker_image_version": "0.8.1-gpu-d061620-5f3c00", "milvus_python_sdk_version": "0.2.13", "milvus_java_sdk_version": "0.8.2" diff --git a/site/zh-CN/release/release_notes.md b/site/zh-CN/release/release_notes.md index 8bbc4e614..fb21d1f0b 100644 --- a/site/zh-CN/release/release_notes.md +++ b/site/zh-CN/release/release_notes.md @@ -6,15 +6,15 @@ sidebar_label: 发版说明 # 发版说明 -## v0.10.0 +## v0.8.1 -**发布时间**:2020-6-15 +**发布时间**:2020-6-22 #### 版本兼容 | Milvus 版本 | Python SDK 版本 | Java SDK 版本 | Go SDK 版本 | | :------------- | :----------------- | :--------------- | :------------- | -| 0.10.0 | 0.2.13 | 0.8.2 | 0.4.2 | +| 0.8.1 | 0.2.xx | 0.8.xx | 0.4.xx | #### 兼容性改动 @@ -26,56 +26,6 @@ sidebar_label: 发版说明 - 将 FAISS 升级至 1.6.3。 [#2381](https://github.com/milvus-io/milvus/issues/2381) - 降低了系统在存在大量分区时删除集合需要的时间。[#2394](https://github.com/milvus-io/milvus/issues/2394) - 在 GPU 版 Milvus 上优化了 k-selection 算法的实现。[#2466](https://github.com/milvus-io/milvus/issues/2466) - -#### 问题修复 - -- 修复了一个搜索性能降低的问题。[#2429](https://github.com/milvus-io/milvus/issues/2429) - -> 详见 [CHANGELOG](https://github.com/milvus-io/milvus/blob/0.10.0/CHANGELOG.md) 了解更多已修复问题。 - - -## v0.9.1 - -**发布时间**:2020-5-29 - -#### 版本兼容 - -| Milvus 版本 | Python SDK 版本 | Java SDK 版本 | Go SDK 版本 | -| :---------- | :-------------- | :------------ | :---------- | -| 0.9.1 | 0.2.12 | 0.8.1 | 0.4.1 | - -#### 问题修复 - -- 多分区情况下,服务器重启后数据会被重复插入两次。[#2378](https://github.com/milvus-io/milvus/issues/2378) - -- 使用 GPU IVF 索引时,如果查询次数 nq 过高,系统会报 `cudaMalloc` 错误。 [#2395](https://github.com/milvus-io/milvus/issues/2395) -- 向量删除后依然会被 GPU 加速版 Milvus 找到。 [#2450](https://github.com/milvus-io/milvus/issues/2450) - -> 详见 [CHANGELOG](https://github.com/milvus-io/milvus/blob/master/CHANGELOG.md) 了解更多已修复问题。 - - - - -## v0.9.0 - -**发布时间**:2020-5-15 - -#### 版本兼容 - -| Milvus 版本 | Python SDK 版本 | Java SDK 版本 | Go SDK 版本 | -| -------------- | ------------------ | ---------------- | -------------- | -| 0.9.0 | 0.2.11 | 0.8.0 | 0.4.0 | - -#### 新增功能 - - -- 支持在 Milvus 启动时检查 CPU 指令集、GPU 驱动版本 和 CUDA 版本。 [#2054](https://github.com/milvus-io/milvus/issues/2054) [#2111](https://github.com/milvus-io/milvus/issues/2111) -- 避免多个 Milvus 实例同时操作同一 Milvus 数据。 [#2059](https://github.com/milvus-io/milvus/issues/2059) -- 支持日志文件轮转。 [#2206](https://github.com/milvus-io/milvus/issues/2206) -- 处理搜索请求时暂停创建索引。[#2283](https://github.com/milvus-io/milvus/issues/2283) - -#### 主要改进 - - 重构了日志输出。 [#221](https://github.com/milvus-io/milvus/issues/221) - 升级了 OpenBLAS 版本以提高 Milvus 性能。 [#1796](https://github.com/milvus-io/milvus/issues/1796) - 统一了 FAISS、NSG、HNSW 和 ANNOY 的向量距离计算方法。[#1965](https://github.com/milvus-io/milvus/issues/1965) @@ -85,158 +35,13 @@ sidebar_label: 发版说明 #### 问题修复 -> 详见 [CHANGELOG](https://github.com/milvus-io/milvus/blob/master/CHANGELOG.md) 了解更多已修复问题。 - -#### API 变更 - -##### 新增方法 - - - -| C++ | Python | Java | Go | -| -------------- | --------------- | -------------- | -------------- | -| `HasPartition` | `has_partition` | `hasPartition` | `HasPartition` | - -##### 变更方法 - - - -| | C++ | Python | Java | Go | -| ------------------- | -------------------- | --------------------- | -------------------- | -------------------- | -| v0.9.0 之前版本 | `DescribeCollection` | `describe_collection` | `describeCollection` | `DescribeCollection` | -| v0.9.0 | `GetCollectionInfo` | `get_collection_info` | `getCollectionInfo` | `GetCollectionInfo` | - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------------- | ------------------ | ----------------------- | ----------------- | -| v0.9.0 之前版本 | `CountCollection` | `count_collection` | `getCollectionRowCount` | `CountCollection` | -| v0.9.0 | `CountEntities` | `count_entities` | `countEntities` | `CountEntities` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------------- | ------------------ | ----------------- | ----------------- | -| v0.9.0 之前版本 | `ShowCollections` | `show_collections` | `showCollections` | `ShowCollections` | -| v0.9.0 | `ListCollections` | `list_collections` | `listCollections` | `ListCollections` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | -------------------- | ---------------------- | -------------------- | -------------------- | -| v0.9.0 之前版本 | `ShowCollectionInfo` | `collection_info` | `showCollectionInfo` | `ShowCollectionInfo` | -| v0.9.0 | `GetCollectionStats` | `get_collection_stats` | `getCollectionStats` | `GetCollectionStats` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | --------------- | ---------------- | --------------- | --------------- | -| v0.9.0 之前版本 | `DescribeIndex` | `describe_index` | `describeIndex` | `DescribeIndex` | -| v0.9.0 | `GetIndexInfo` | `get_index_info` | `getIndexInfo` | `GetIndexInfo` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ---------------- | ----------------- | ---------------- | ---------------- | -| v0.9.0 之前版本 | `ShowPartitions` | `show_partitions` | `showPartitions` | `ShowPartitions` | -| v0.9.0 | `ListPartitions` | `list_partitions` | `listPartitions` | `ListPartitions` | - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------------- | -------------------- | ----------------- | ---------------- | -| v0.9.0 之前版本 | `GetEntitiesByID` | `get_vectors_by_ids` | `getVectorsByIds` | `GetVectorsByID` | -| v0.9.0 | `GetEntityByID` | `get_entity_by_id` | `getEntityByID` | `GetEntityByID` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------------- | -------------------- | ----------------- | ----------------- | -| v0.9.0 之前版本 | `GetIDsInSegment` | `get_vector_ids` | `getVectorIds` | `GetEntityIDs` | -| v0.9.0 | `ListIDInSegment` | `list_id_in_segment` | `listIDInSegment` | `ListIDInSegment` | - - - -| | C++ | Python | Java | Go | -| ------------------- | ----- | ------------------- | --------------- | ----- | -| v0.9.0 之前版本 | *N/A* | `search_in_files` | `searchInFiles` | *N/A* | -| v0.9.0 | *N/A* | `search_in_segment` | *DELETED* | *N/A* | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ------------------ | --------------------- | ------------------ | ------------------ | -| v0.9.0 之前版本 | `DeleteByID` | `delete_by_id` | `deleteByIds` | `DeleteByID` | -| v0.9.0 | `DeleteEntityByID` | `delete_entity_by_id` | `deleteEntityByID` | `DeleteEntityByID` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ------------------- | -------------------- | ------------------- | ------------------- | -| v0.9.0 之前版本 | `PreloadCollection` | `preload_collection` | `preloadCollection` | `PreloadCollection` | -| v0.9.0 | `LoadCollection` | `load_collection` | `loadCollection` | `LoadCollection` | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------------------------- | ----------- | ------------------------ | ----------- | -| v0.9.0 之前版本 | `FlushCollection` 和 `Flush` | `flush` | `flush` 和 `flushAsync` | `Flush` | -| v0.9.0 | `Flush` | *不变* | *不变* | *不变* | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | --------------------------------- | ----------- | ---------------------------- | ----------- | -| v0.9.0 之前版本 | `CompactCollection` 和 `Compact` | `compact` | `compact` 和 `compactAsync` | `Compact` | -| v0.9.0 | `Compact` | *不变* | *不变* | *不变* | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------- | --------- | ----------- | ----------- | -| v0.9.0 之前版本 | `Connect` | `connect` | `connect` | `Connect` | -| v0.9.0 | *不变* | *删除* | *不变* | *不变* | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ----------- | ----------- | ------------- | ------------- | -| v0.9.0 之前版本 | `Connected` | `connected` | `isConnected` | `IsConnected` | -| v0.9.0 | *不变* | *删除* | *不变* | *不变* | - - - - - -| | C++ | Python | Java | Go | -| ------------------- | ------------ | ------------ | ------------ | ------------ | -| v0.9.0 之前版本 | `Disconnect` | `disconnect` | `disconnect` | `Disconnect` | -| v0.9.0 | *不变* | *删除* | *不变* | *不变* | - +- 修复了一个搜索性能降低的问题。[#2429](https://github.com/milvus-io/milvus/issues/2429) +- 多分区情况下,服务器重启后数据会被重复插入两次。[#2378](https://github.com/milvus-io/milvus/issues/2378) +- 使用 GPU IVF 索引时,如果查询次数 nq 过高,系统会报 `cudaMalloc` 错误。 [#2395](https://github.com/milvus-io/milvus/issues/2395) +- 向量删除后依然会被 GPU 加速版 Milvus 找到。 [#2450](https://github.com/milvus-io/milvus/issues/2450) +> 详见 [CHANGELOG](https://github.com/milvus-io/milvus/blob/0.10.0/CHANGELOG.md) 了解更多已修复问题。 diff --git a/version.json b/version.json index b7706ca7f..4c809f986 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "v0.10.0", - "released": "yes" + "version": "v0.8.1", + "released": "no" } \ No newline at end of file