Skip to content

Releases: milvus-io/milvus

milvus-2.4.6

17 Jul 07:14
ce9ab52
Compare
Choose a tag to compare

v2.4.6

Release date: July 16, 2024

Milvus version Python SDK version Java SDK version Node.js SDK version
2.4.6 2.4.4 2.4.2 2.4.4

Milvus v2.4.6 is a bug-fix release that addresses critical issues such as panics, memory leaks, and data loss during deletions. It also introduces several optimizations, including enhancements to monitoring metrics, upgrading the Go version to 1.21, and improving the user experience for RESTful count(*) queries.

Improvements

  • Enhanced the user-friendliness of RESTful API queries (#34444).
  • Upgraded the Go version from 1.20 to 1.21 (#33940).
  • Optimized the histogram metric bucket for finer granularity in bucketing (#34592).

Bug fixes

  • Fixed an issue where the GetReplicas API returned a nil status (#34019).
  • Corrected a problem where queries could return deleted records (#34502).
  • Resolved an issue where IndexNode would get stuck during stopping due to incorrect lifetime control (#34559).
  • Fixed a memory leak of primary key oracle objects when a worker is offline (#34020).
  • Corrected ChannelManagerImplV2 to notify the correct Node, addressing parameter capture issues in loop closure (#34004).
  • Fixed a read-write data race in ImportTask segmentsInfo by implementing a deep copy (#34126).
  • Corrected version information for the "legacyVersionWithoutRPCWatch" configuration option to prevent errors during rolling upgrades (#34185).
  • Fixed the metric for the number of partitions loaded (#34195).
  • Passed the otlpSecure config when setting up segcore tracing (#34210).
  • Fixed an issue where DataCoord's properties were overwritten by mistake (#34240).
  • Resolved a data loss issue caused by erroneously merging two newly created message streams (#34563).
  • Fixed a panic caused by msgstream trying to consume an invalid pchannel (#34230).
  • Addressed an issue where imports could generate orphaned files (#34071).
  • Fixed incomplete query results due to duplicate primary keys in a segment (#34302).
  • Resolved an issue of missing sealed segments in L0 compaction (#34566).
  • Fixed the problem of dirty data in the channel-cp meta generated after garbage collection (#34609).
  • Corrected the metrics where database_num was 0 after restarting RootCoord (#34010).
  • Fixed a memory leak in SegmentManager in DataCoord by removing flushed segments generated through import (#34652).
  • Ensured compressBinlog to fill binlogs' logID after DataCoord restarts, ensuring proper reload from KV (#34064).

milvus-2.3.19

15 Jul 12:58
64dc848
Compare
Choose a tag to compare

v2.3.19

Release date: July 15, 2024

Milvus version Python SDK version Java SDK version Go SDK version Node.js SDK version
2.3.19 2.3.7 2.3.6 2.3.6 2.3.5

Milvus v2.3.19 introduces significant improvements and bug fixes to enhance memory management, error handling, and query performance. This release continues to bolster the robustness and functionality of Milvus, ensuring optimal performance and user experience.

Improvements

  • Preserved fixed-size memory in delegator node for growing segments (#34602).
  • Refined Prometheus Buckets at different scales to improve monitoring precision (#34627).
  • Avoided assigning too many segments/channels to new QueryNode, ensuring balanced load distribution (#34461).
  • Provided clearer error messages when the string/varchar exceeded its max length (#34324, #34034).
  • Prevented memory slice increase during queries, optimizing memory usage (#34256).
  • Sped up the loading process for small collections, reducing latency (#33863).

Bug fixes

  • Fixed error message when field name is invalid, improving user feedback (#33901).
  • Ensured Segment Manager filters flushed segments correctly during import (#34650).
  • Made knowhere-build-pool-size configurable on QueryNode for better resource management (#34647).
  • Eliminated unnecessary vchannels' merge when curTS is 0, optimizing performance (#34626).
  • Fixed issue where IndexNode couldn't be stopped due to a missing lifetime end (#34560).
  • Enhanced RESTful API query to be more user-friendly (#34447).
  • Checked load state of all partitions instead of just the first one, ensuring completeness (#34321).
  • Implemented singleflight for segcore chunkcache to avoid redundant operations (#34284).
  • Broadcasted collection's new properties to DataCoord, ensuring consistency (#34147).
  • DataCoord now returns checkpoint after successfully flushing segments (#34115).
  • Checked nodeid wildcard when removing pkoracle, preventing potential errors (#34022).
  • Ensured queries by primary key return the latest row rather than historical data, maintaining data accuracy (#34026).

milvus-2.4.5

20 Jun 09:41
60695bd
Compare
Choose a tag to compare

v2.4.5

Release date: June 18, 2024

Milvus version Python SDK version Java SDK version Node.js SDK version
2.4.5 2.4.4 2.4.1 2.4.3

The release of Milvus 2.4.5 introduces several improvements and bug fixes to enhance performance, stability, and functionality. Milvus 2.4.5 simplifies sparse, float16, and bfloat16 vector search with auto-indexing, speeds up searches, deletions, and compactions with Bloom filter optimizations, and tackles data management through faster loading times and import L0 segment support. It also introduces the sparse HNSW index for efficient high-dimensional sparse data search, enhances the RESTful API with sparse float vector support, and fixes critical bugs for better stability.

Improvements

  • Added RBAC support to describe/alter database API (#33804).
  • Supported building the HNSW index for sparse vectors (#33653, #33662).
  • Supported building the Disk index for binary vectors (#33575).
  • Supported sparse vector type on RESTful v2 (#33555).
  • Enabled flush rate limiter at the collection level (#33864).
  • Executed Bloom filter application in parallel to speed up segment prediction (#33793).
  • Used fastjson library for unmarshaling delete logs to speed up json.Unmarshal (#33802).
  • Used BatchPkExist to reduce Bloom filter function call cost (#33752).
  • Sped up the loading of small collections (#33746).
  • Supported importing delete data to L0 segment (#33712).
  • Skipped marking compaction tasks as timed out to avoid executing the same task repeatedly (#33833).
  • Handled float16 and bfloat16 vectors similarly to BinaryVector in numpy bulk insert (#33788).
  • Added the includeCurrentMsg flag for the seek method (#33743).
  • Added mergeInterval, targetBufSize, and maxTolerantLag of msgdispatcher to configurations (#33680).
  • Improved GetVectorByID for sparse vectors (#33652).
  • Removed StringPrimarykey to reduce unnecessary copy and function call costs (#33649).
  • Added autoindex mapping for binary/sparse data types (#33625).
  • Optimized some caches to reduce memory usage (#33560).
  • Abstracted execute interface for import/preimport tasks (#33607).
  • Used map PK to timestamp in buffer insert to reduce Bloom filter causes (#33582).
  • Avoided redundant meta operations during import (#33519).
  • Improved logs by logging better disk quota info, adding UseDefaultConsistency flag, and removing unnecessary logs (#33597, #33644, #33670).

Bug fixes

  • Fixed a bug that may cause Milvus to be unable to create AutoIndex on binary and sparse vectors (#33867).
  • Fixed a bug that may cause indexnode to retry creating index on invalid index parameters of all vectors (#33878).
  • Fixed a bug that may cause server crashes when loads and releases happen concurrently (#33699).
  • Improved cache consistency for configuration values (#33797).
  • Prevented possible data loss during deletion (#33821).
  • Ensured the DroppedAt field (likely deletion timestamp) is set after dropping collections (#33767).
  • Fixed an issue that might have caused Milvus to handle binary vector data sizes incorrectly (#33751).
  • Masked Kafka credentials from being printed in logs (#33747).
  • Prevented sensitive Kafka credentials from being logged in plain text (#33694).
  • Ensured Milvus can correctly import data with multiple vector fields (#33724).
  • Enhanced import reliability by checking if an import job exists before starting (#33673).
  • Improved handling of the sparse HNSW index (internal functionality) (#33714).
  • Cleaned vector memory to avoid memory leaks (#33708).
  • Ensured smoother asynchronous warmup by fixing a state lock issue (#33687).
  • Addressed a bug that might have caused missing results in query iterators (#33506).
  • Fixed a bug that might cause import segment size to be uneven (#33634).
  • Fixed incorrect data size handling for bf16, fp16, and binary vector types (#33488).
  • Improved stability by addressing potential issues with the L0 compactor (#33564).
  • Ensured dynamic configuration updates are reflected correctly in the cache (#33590).
  • Improved the accuracy of the RootCoordQuotaStates metric (#33601).
  • Ensured accurate reporting of the number of loaded entities in metrics (#33522).
  • Provided more complete information in exception logs (#33396).
  • Optimized query pipeline by removing unnecessary group checker (#33485).
  • Used the local storage path for a more accurate disk capacity check on the index node (#33505).
  • Corrected hasMoreResult to return false when hit number is larger than the limit (#33642).
  • Delayed loading Bloom filters in delegator to prevent them from being loaded repeatedly when the worker has no more memory (#33650).

milvus-2.3.18

19 Jun 05:55
578c38a
Compare
Choose a tag to compare

v2.3.18

Release date: June 18, 2024

Milvus version Python SDK version Java SDK version Go SDK version Node.js SDK version
2.3.18 2.3.7 2.3.6 2.3.6 2.3.5

Milvus v2.3.18 includes several bug fixes and improvements to enhance query result quality and maintainability. This release also backports improvements and fixes from the 2.4 branch, which enhance control over delete data amounts (according to rate limit configuration) and increase Bloom filter processing speed. As with previous releases, this update reinforces Milvus's commitment to functionality and robustness.

Improvements

  • Added RESTful APIs to trigger component stop (#33798).
  • Improved delete by expression to respect delete rate limit rules according to the matched data size instead of delete request size (#33794).
  • Accelerated Bloom filter processing by submitting in batch and working in parallel (#33870).
  • Enabled parallel processing for applydelete at the segment level (#33841).
  • Printed UseDefaultConsistency parameter in read requests (#33645).

Bug fixes

  • Fixed a bug where closure capture iteration variable caused delete data to fail to apply to the correct data (#33912).
  • Fixed a bug where filtered results could be less than topk by upgrading Knowhere to 2.2.10 (#33930).
  • Fixed a bug where insert rate was not limited when collection.insertrate.max.mb config was set to 0 (#33725).
  • Fixed a bug where old collections created before v2.2.8 could reappear and become zombies after being dropped and restarted (#33695).
  • Fixed a bug where upsert latency used the wrong unit, causing abnormal metrics (#33580).
  • Fixed a bug where Milvus exception info could not be passed outside of segcore (#33395).

milvus-2.4.4

31 May 11:12
8e7f36d
Compare
Choose a tag to compare

v2.4.4

Release date: May 31, 2024

Milvus version Python SDK version Java SDK version Node.js SDK version
2.4.4 2.4.3 2.4.1 2.4.2

Milvus v2.4.4 includes several critical bug fixes and improvements aimed at enhancing performance and stability. Notably, we've resolved a critical issue where bulk insert statistics logs were incorrectly garbage collected, potentially affecting data integrity. We strongly recommend all v2.4 users upgrade to this version to benefit from these fixes.

If you are using bulk insert, upgrade to v2.4.4 at the earliest opportunity for data integrity.

Critical bug fixes

  • Filled stats log ID and validated its correctness (#33478)

Improvements

  • Upgraded bitset for ARM SVE (#33440)
  • Enabled Milvus compilation with GCC-13 (#33441)

Bug fixes

  • Displayed empty collections when all privilege is granted (#33454)
  • Ensured CMake downloads and installs for the current platform, not just x86_64 (#33439)

milvus-2.3.17

31 May 13:41
cc1bf63
Compare
Choose a tag to compare

v2.3.17

Release date: May 31, 2024

Milvus version Python SDK version Java SDK version Go SDK version Node.js SDK version
2.3.17 2.3.7 2.3.6 2.3.6 2.3.5

Milvus version 2.3.17 primarily introduces several bug fixes to improve query accuracy, cluster reliability, and privilege maintenance. The most notable fix ensures that query iterators in Milvus return the correct number of results, rather than missing some data. This release reinforces Milvus's commitment to functionality and robustness.

Bug fixes

  • Fixed issue where query iterators missed some results when upserts and deletes were performed very frequently (#33468)
  • Fixed issue where the cluster could block during startup due to improper handling of standby status (#33371)
  • Fixed issue where specifying the database name when granting privileges failed (#33292)

milvus-2.4.3

29 May 07:35
7384bfe
Compare
Choose a tag to compare

v2.4.3

Release date: May 29, 2024

Milvus version Python SDK version Java SDK version Node.js SDK version
2.4.3 2.4.3 2.4.1 2.4.2

Milvus version 2.4.3 introduced a host of features, improvements, and bug fixes to elevate performance and reliability. Notable enhancements included support for sparse float vector bulk insert and optimized bloom filter acceleration. Improvements covered various areas, from dynamic configuration updates to memory usage optimization. Bug fixes addressed critical issues like panic scenarios and ensured smoother system operations. This release underscored Milvus's ongoing commitment to enhancing functionality, optimizing performance, and delivering a robust user experience.

Features

  • Supported sparse float vector bulk insert for binlog/json/parquet (#32649)

Improvements

  • Implemented Datacoord/node watch channel based on RPC (#32036)
  • Optimized bloom filter to accelerate delete filtering (#32642, #33329, #33284)
  • Loaded raw data via mmap if scalar index did not have raw data (#33317)
  • Synced milvus config to milvus.yaml (#33322, #32920, #32857, #32946)
  • Updated knowhere version (#33310, #32931, #33043)
  • Enabled dynamic updating of balancer policy in QueryCoord (#33272)
  • Used a pre-built logger in the write buffer to minimize logger allocation (#33304)
  • Improved parameter checking (#32777, #33271, #33218)
  • Added a parameter to ignore incorrect message IDs in the checkpoint (#33249)
  • Added config to control initialization failure handling for plugins (#32680)
  • Added score compute consistency config for knowhere (#32997)
  • Introduced a configuration option to control the initialization of public role permissions (#33174)
  • Optimized memory usage when reading fields (#33196)
  • Refined implementation of Channel Manager v2 (#33172, #33121, #33014)
  • Added feature to track the size of data in memory for binlog (#33025)
  • Added metrics for segment index files size (#32979, #33305)
  • Replaced Delete with DeletePartialMatch to remove metrics (#33029)
  • Got related data size according to segment type (#33017)
  • Cleaned channel node info in meta store (#32988)
  • Removed rootcoord from datanode broker (#32818)
  • Enabled batch uploading (#32788)
  • Changed default partition number to 16 when using partition key (#32950)
  • Improved reduce performance on very large top-k queries (#32871)
  • Utilized TestLocations ability to accelerate write & compaction (#32948)
  • Optimized plan parser pool to avoid unnecessary recycling (#32869)
  • Improved load speed (#32898)
  • Used collection default consistency level for restv2 (#32956)
  • Added cost response for the rest API (#32620)
  • Enabled channel exclusive balance policy (#32911)
  • Exposed describedatabase API in proxy (#32732)
  • Utilized coll2replica mapping when getting RG by collection (#32892)
  • Added more tracing for search & query (#32734)
  • Supported dynamic config for opentelemetry trace (#32169)
  • Avoided iteration over channel results when updating leaderview (#32887)
  • Optimized vector offsets handling for parquet (#32822)
  • Improved datacoord segment filtering with collection (#32831)
  • Adjusted log level and frequency (#33042, #32838, #33337)
  • Enabled stopping balance after balance had been suspended (#32812)
  • Updated shard leader cache when leader location changed (#32470)
  • Removed deprecated API and field (#32808, #32704)
  • Added metautil.channel to convert string compare to int (#32749)
  • Added type info for payload writer error message and log when querynode found new collection (#32522)
  • Checked partition number when creating collection with partition key (#32670)
  • Removed legacy l0 segment if watch failed (#32725)
  • Improved printing type of request (#33319)
  • Checked array field data was nil before getting the type (#33311)
  • Returned error when startup Delete/AddNode node operation failed (#33258)
  • Allowed datanode's server ID to be updated (#31597)
  • Unified querynode metrics cleanup in collection release (#32805)
  • Fixed scalar auto index config incorrect version (#32795)
  • Refined index param check for create/alter index (#32712)
  • Removed redundant replica recovery (#32985)
  • Enabled channel meta table to write more than 200k segments (#33300)

Bug fixes

  • Fixed panic when the database didn't exist in the rate limit interceptor (#33308)
  • Fixed quotacenter metrics collection failure due to incorrect parameters (#33399)
  • Fixed panic if processactivestandby returned an error (#33372)
  • Fixed search result truncation in restful v2 when nq > 1 (#33363)
  • Added database name field for role operations in restful v2 (#33291)
  • Fixed global rate limit not working (#33336)
  • Fixed panic caused by failure of building index (#33314)
  • Added validation for sparse vector in segcore to ensure legality (#33312)
  • Removed task from syncmgr after task completion (#33303)
  • Fixed partition key filtering failure during data import (#33277)
  • Fixed inability to generate traceID when using noop exporter (#33208)
  • Improved query results retrieval (#33179)
  • Marked channel checkpoint dropped to prevent checkpoint lag metrics leakage (#33201)
  • Fixed query node getting stuck during stopping progress (#33154)
  • Fixed missing segments in flush response (#33061)
  • Made submit operation idempotent (#33053)
  • Allocated new slice for each batch in streaming reader (#33360)
  • Cleaned offline node from resource group after QueryCoord restart ([#33233](https://github.com...
Read more

v2.3.16

23 May 03:54
653af71
Compare
Choose a tag to compare

v2.3.16

Release date: May 24, 2024

Milvus version Python SDK version Java SDK version Go SDK version Node.js SDK version
2.3.16 2.3.7 2.3.6 2.3.6 2.3.5

Milvus v2.3.16 focuses on stability, performance, and security. It includes bug fixes for auto-balancing, checkpoint handling, memory leaks, and transaction limits. Additionally, authentication for the REST v2 API has been strengthened, and query result retrieval has been optimized. Overall, this update aims to provide a more reliable, efficient, and secure platform for your needs.

Improvements

  • Enhanced authentication for the REST v2 API.(#33254)
  • Improved checkpoint handling for message failures.(#33159)(#33128)
  • Improved the triggering mechanism for segment sync tasks so that it will only be triggered once by flushts (#33034)
  • Improved the query result retrieval mechanism to get enough query results (#33177)

Bug fixes

  • Fixed a bug that when suspending auto balance querynode will unexpectedly exit stopping balance (#32941)
  • Resolved an issue leading to endless binlog path downloads during compaction (#33246)
  • Addressed memory leaks in rendezvousflushmanager (#33112)
  • Prevented system panics related to nil array field data (#33119)
  • Fixed "SegmentNotLoaded" errors triggered by concurrent segment tasks in search (#33087)
  • Fixed a bug that Etcd txn exceeds limit due to too many fields (#33049)
  • Fixed a bug related to the incorrect calculation of the milvus_rootcoord_indexed_entity_num metric (#33002)

milvus-2.3.15

11 May 08:41
39b07ad
Compare
Choose a tag to compare

v2.3.15

Release date: May 11, 2024

Milvus version Python SDK version Java SDK version Go SDK version Node.js SDK version
2.3.15 2.3.7 2.3.6 2.3.6 2.3.5

This release comes with several enhancements and bug fixes to improve security and stability. One of the improvements is the inclusion of the channel checkpoint in the flush response. Another enhancement is the ability to check whether autoID is enabled during data insertion, which optimizes the data migration using Milvus-CDC.

The bug fixes address issues such as empty segments in meta, and incorrect data types during data insertion according to the schema. A critical patch has also been implemented to solve the consistent failure and retries of the syncDistribution request to the delegator. We highly recommend updating to the latest version to benefit from these fixes.

Improvements

  • Supported return channel checkpoint info in flush response (#32683)
  • Add config to check id during inserting data when autoID enabled (#32840)

Critical Bug Fixes

  • Fixing a bug where the syncDistribution request to the delegator consistently fails and retries persistently. (#32923)

Other Bug Fixes

  • Fixed a bug where the system could generate empty segments. Added support for the compactor to clean up empty segments. (#32690)
  • Fixed a bug that involved validating whether the input data types match the schema. (#32790, #32845)

milvus-2.4.1

06 May 12:00
15b7874
Compare
Choose a tag to compare

v2.4.1

Release date: May 6, 2024

Milvus version Python SDK version Java SDK version Node.js SDK version
2.4.1 2.4.1 2.4.0 2.4.2

Milvus version 2.4.1 brings numerous improvements and bug fixes that aim to enhance the software's performance, observability, and stability. These improvements include a declarative resource group API, enhanced bulk insert functionality that supports Float16/BFloat16 vector data types, a refined garbage collection (GC) mechanism that reduces list operations for object storage, and other changes related to performance optimizations. Additionally, bug fixes address issues such as compilation errors, failed fuzzy matches on newline characters, incorrect parameter datatypes for RESTful interfaces, and BulkInsert raising errors on numpy files when dynamic fields are enabled.

Breaking changes

  • Discontinued support for delete with an empty filter expression. (#32472)

Features

  • Added support for Float16/BFloat16 vector data types in bulk insert (#32157)
  • Enhanced sparse float vector to support brute force iterator search and range search (#32635)

Improvements

  • Added declarative resource group api (#31930 #32297 #32536 #32666)
  • Rewrote the collection observer in QueryCoord to make it task-driven(#32441)
  • Refactored the data structure used in the SyncManager of DataNode to reduce memory usage and prevent errors (#32673)
  • Revised the implementation of garbage collection to minimize list operations associated with object storage(#31740)
  • Reduced the cpu usage when collection number is high (#32245)
  • Enhanced the management of milvus.yaml by automatically generating relevant configuration items in the milvus.yaml file through code(#31832 #32357)
  • Enhanced the performance of the Query by retrieving the data after performing local reduction (#32346)
  • Added WithBlock option for etcd client creation (#32641)
  • Used client_request_id specified by the client as the TraceID if client provided(#32264)
  • Added db label to the metrics for the delete and bulk insert operations(#32611)
  • Added logic to skip the verification through configuration for AutoID and PartitionKey columns(#32592)
  • Refined errors related to authentication (#32253)
  • Refined error logs for AllocSegmentID in DataCoord(#32351 #32335)
  • Removed duplicate metrics(#32380 #32308) and clean up unused metrics(#32404 #32515)
  • Added configuration option to control whether to enforce the activation of the partitionKey feature(#32433)
  • Added configuration option to control the maximum amount of data that can be inserted in a single request(#32433)
  • Parallelize the applyDelete operation at the segment level to accelerate the processing of Delete messages by the Delegator(#32291)
  • Used index (#32232 #32505 #32533 #32595) and add cache (#32580) to accelerate frequent filtering operations in QueryCoord.
  • Rewrote the data structure(#32273) and refactor code(#32389 ) to accelerate common operations in DataCood.
  • Removed openblas from conan(#32002)

Bug fixes

  • Fixed build milvus in rockylinux8 (#32619)
  • Fixed compilation errors for SVE on ARM (#32463 #32270)
  • Fixed the crash issue on ARM-based GPU images(#31980).
  • Fixed regex query can't handle text with newline (#32569)
  • Fixed search get empty result caused by GetShardLeaders return empty node list (#32685)
  • Fixed BulkInsert raised error when encountering dynamic fields in numpy files(#32596)
  • Fixed bugs related to the RESTFulV2 interface, including an important fix that allows numeric parameters in requests to accept numerical input instead of string type(#32485 #32355)
  • Fixed memory leak in proxy by remove watching config event in rate limiter(#32313)
  • Fixed the issue where the rate limiter incorrectly reports that the partition cannot be found when partitionName is not specified(#32647)
  • Added detection between the cases of Collection being in the recovery state and not being loaded in the error type.(#32447
  • Corrected the negative queryable num entities metric (#32361)