Releases: milvus-io/milvus
milvus-2.5.0-beta
Release note is coming soon...
milvus-2.4.17
v2.4.17
Release Date: November 22, 2024
Milvus version | Python SDK version | Java SDK version | Node.js SDK version |
---|---|---|---|
2.4.17 | 2.4.9 | 2.4.8 | 2.4.9 |
Milvus 2.4.17 was a minor release aimed at critical stability enhancements. This version addressed various bugs and implemented performance optimizations to bolster system reliability.
Improvements
- Enhanced: [2.4] Prevented the generation of "null" search parameters (#37811).
- Enhanced: [2.4] Removed unnecessary segment clone updates in distribution (#37797) (#37833).
- Enhanced: [2.4] Provided secondary index criteria for filtering
leaderview
(#37777) (#37802). - Used batch processing to speed up listing collections from meta kv (#37752).
- Removed collection queryable checks from health checks (#37731).
- [2.4] Removed segment-level tags from monitoring metrics (#37737).
- [2.4] Removed unnecessary cloning in
setstate
(#37736). - Added search parameters to search requests in RESTful API (#37673).
- Made Milvus images with AddressSanitizer (ASAN) available (#37682).
- [cp24] Tidied compaction logs (#37647).
- [2.4] Invalidated the collection cache when releasing collections (#37628).
- [2.4] Added CGO call metrics for load/write APIs (#37627).
- Enabled node assignment policies in resource groups (#37588).
- Optimized
describe collection
and index operations (#37605). - [2.4] Handled legacy proxy load fields requests (#37569).
- [2.4] Added context tracing for query coordination queryable checks (#37534).
- [2.4] Improved root coordination task scheduling policies (#37523).
- Refactored
createindex
in the RESTful API (#37237). - [2.4] Used cancel labels for context-canceled storage operations (#37491).
- [2.4] Updated the template expression proto to improve transmission efficiency (#37485).
Bug fixes
- Supported
upsert
with autoid=true in the RESTful API and fixed associated bugs (#37766). - Ensured L0 segments were loaded to workers during channel balancing (#37758).
- Fixed delegator stuck in unserviceable status (#37702).
- [2.4] Stored default values when
errkeynotfound
was returned (#37705). - [cp24] Changed memory check from write lock to read lock (#37526).
- Ensured
getshardleaders
retried only on retriable errors (#37687). - [cp24] Corrected varchar primary key size calculations (#37619).
- Fixed channel balancing that could get stuck when increasing replica numbers (#37642).
- Addressed issues where searches returned fewer results after query node recovery (#37610).
- [2.4] Fixed bugs retrieving data from the wrong field for L0 segments (#37599).
- Recovered loading collection's
updateTS
after query coordination restarts (#37580). - [2.4] Added IP address validation to
paramtable
(#37500). - Fixed search/query failures caused by segments not being loaded (#37544).
- Resolved watch channel issues due to timer reset misuse (#37542).
- Fixed subscription leaks (#37541).
- Resolved issues with excessively growing segments (#37540).
- [cp24] Corrected dropped segment metrics (#37471).
- Fixed repeated error codes in Milvus and Segcore (#37449).
- [cp24] Separated L0 and mixed trigger intervals (#37319).
milvus-2.4.16
Milvus v2.4.16 is deprecated, v2.4.17 is coming soon.
milvus-2.4.15
v2.4.15
Release Date: November 5, 2024
Milvus version | Python SDK version | Java SDK version | Node.js SDK version |
---|---|---|---|
2.4.15 | 2.4.9 | 2.4.8 | 2.4.9 |
Milvus 2.4.15 was a critical bug-fix release focused on enhancing system stability, performance, and compatibility. This version addressed a major deadlock issue that could occur during QueryNode crashes and introduced compatibility updates for the backup tool with the database feature. Additionally, Milvus 2.4.15 improved delete performance and stability through significant optimizations in L0 handling. Upgrading to v2.4.15 was strongly recommended to benefit from these critical enhancements.
Critical bug fixes
- Resolved a deadlock issue if the QueryNode crashed during shard client initialization (#37354).
- Reverted the enhancement to support databases for bulk insert (#37421).
Bug fixes
- Fixed a bug where certain expressions did not correctly parse values (#37342).
- Enhanced the Proxy to retry getting the shard leader on unloaded collections (#37326).
- Corrected an issue where the L0 row count metrics value was always empty (#37307).
- Skipped marking compaction timeout for mixed and L0 compaction scenarios (#37194).
- Rectified the containment logic of OffsetOrderedArray (#37309).
- Added a check for resources when loading delta logs (#37263).
Improvements
milvus-2.4.14
v2.4.14
Release Date: October 31, 2024
Milvus version | Python SDK version | Java SDK version | Node.js SDK version |
---|---|---|---|
2.4.14 | 2.4.9 | 2.4.7 | 2.4.9 |
Milvus 2.4.14 addresses a critical issue from version 2.4.13 that could cause collection information to be lost after snapshotKV
garbage collection. It also fixed a couple of resource leaks. Additionally, this release includes numerous enhancements focused on improving stability in large-scale delete operations and compaction performance.
Features
Improvements
- Delete/Compaction Optimization
- Enabled parallel execution of l0 compactions (#36985)
- Batched forward delete when using direct forward (#37107)
- Skipped loading delta data in delegater when using remoteload (#37112)
- Directly forwarded delta excluding l0 segments (#36914)
- Added prioritization of compaction tasks in DataCoord (#36979)
- Tracked complex delete rates (#36958)
- Refactored CreateCollection in RESTFul API (#36885)
- Fused multiple 'and' and 'or' operations into a single op (#36973)
- Made skip load work for all branches (#37161)
- Upgraded Minio dependency to support EKS Pod Identities (#37089)
- Tidied import options (#37078)
- Limited maximum number of import jobs (#36892)
- Preallocated data slice to avoid re-allocating memory (#37044)
- Prevented DataNode from loading the bf (#37027)
- Avoided limiting ddl operations repeatedly (#37011)
- Made the configuration item
datanode.import.maxconcurrenttasknum
dynamically adjustable (#37103) - Used
queryNode.mmap.growingMmapEnabled
to control the behavior of interim index (#36391) - Populated the
Level
andStartPosition
fields in segmentLoadInfo of growing segment (#36911) - Forced to stop buffer messages when receiving the drop collection message (#36917)
- Added metrics for querynode delete buffer info (#37097)
- Added collection name label for some metric (#37159)
- Used middleware to observe RESTful v2 in/out rpc stats (#37224)
- Changed GPU default memory pool size (#36969)
- Updated Knowhere version to 2.3.12 (#37132)
- Allowed deleting data when disk quota exhausted (#37139)
Bug fixes
- Fixed collection info that could not be recovered from metakv after restart if all snapshots were garbage collected (#36950)
- Corrected the rpc error code to avoid invalid retry in client (#37025)
- Ignored db not found error in quota center (#36850)
- Fixed goroutine leakage in QueryNode by using singleton delete pool (#37225)
- Fixed collection leak in querynode (#37079)
- Fixed leakage of clustering compaction task (#36803)
- Prohibited renaming a collection that had an alias (#37208)
- Made sure alias was cached (#36808)
- Search/query could have failed during updating delegator cache (#37174)
- Excluded l0 compaction when clustering was executing (#37142)
- Referenced collection meta when loading l0 segment meta only (#37179)
- Delegator might have become unserviceable after querycoord restart (#37100)
- Dynamic release partition might have failed search/query (#37099)
- Rectified delete buffer row count quota value (#37068)
- Passed full field list when partial load enabled (#37063)
- Query node panic occurred during sending rpc to worker (#36988)
- Datacoord got stuck at stopping progress (#36961)
- Fixed the out-of-bounds access in the growing segment when raw data was replaced by interim index (#36938)
- Rootcoord got stuck at graceful stop progress (#36881)
milvus-2.4.13-hotfix
v2.4.13-hotfix
Release Date: October 17, 2024
Milvus version | Python SDK version | Java SDK version | Node.js SDK version |
---|---|---|---|
2.4.13-hotfix | 2.4.8 | 2.4.5 | 2.4.9 |
Milvus v2.4.13-hotfix addresses a critical issue specific to v2.4.13, where Milvus may fail to retrieve collection information after a restart if all MetaKV snapshots were garbage-collected (#36933). Users currently running v2.4.13 are advised to upgrade to v2.4.13-hotfix at the earliest opportunity to avoid potential disruptions.
Critical fixes
- Load original key if timestamp is MaxTimestamp (#36935)
milvus-2.4.13
v2.4.13
Release Date: October 12, 2024
Milvus version | Python SDK version | Java SDK version | Node.js SDK version |
---|---|---|---|
2.4.13 | 2.4.8 | 2.4.5 | 2.4.9 |
Milvus 2.4.13 introduces dynamic replica load, allowing users to adjust the number of collection replicas without needing to release and reload the collection. This version also addresses several critical bugs related to bulk importing, expression parsing, load balancing, and failure recovery. Additionally, significant improvements have been made to MMAP resource usage and import performance, enhancing overall system efficiency. We highly recommend upgrading to this release for better performance and stability.
Features
- Dynamic replica adjustment for loaded collections (#36417)
- Sparse vector MMAP in growing segment types (#36565)
Bug fixes
- Fixed a flush performance issue (#36741)
- Fixed a bug with JSON expressions in "[]" (#36722)
- Removed neighbors if compact target is unindexed (#36694)
- Improved performance for Rocksmq when channel is full (#36618)
- Fixed an issue where errors during unpinning were not deferred (#36665)
- Resolved a memory leak for imported segments in the segment manager (#36631)
- Skipped unnecessary health checks for query nodes in the proxy (#36553)
- Fixed an overflow issue with term expressions (#36534)
- Recorded node ID before assigning tasks to prevent task misallocation (#36493)
- Resolved data race issues in clustering compaction (#36499)
- Added a check for string array max length after type matching (#36497)
- Addressed race conditions in mix or standalone mode (#36459)
- Fixed segment imbalance after repeated load and release operations (#36543)
- Corrected a corner case where segments couldn't be moved from a stopping node (#36475)
- Updated segment info properly even if some segments were missing (#36729)
- Prevented etcd transactions from exceeding the max limit in snapshot KV (#36773)
Improvements
- Enhanced MMAP resource estimation:
- Performance Enhancements:
- Improved expression parsing efficiency by converting Unicode to ASCII (#36676)
- Enabled parallel production of messages for multiple topics (#36462)
- Reduced CPU overhead when calculating index file size (#36580)
- Retrieved message type from header to minimize unmarshalling (#36454)
- Optimized workload-based replica selection policy (#36384)
- Split delete task messages to fit within max message size limits (#36574)
- Added new RESTful URL to describe import jobs (#36754)
- Optimized import scheduling and added a time cost metric (#36684)
- Added balance report log for query coordinator balancer (#36749)
- Switched to using common GC configuration (#36670)
- Added streaming forward policy switch for delegator (#36712)
- Enabled manual compaction for collections without indexes (#36581)
- Enabled load balancing on query nodes with varying memory capacities (#36625)
- Unified case for inbound labels using metrics.label (#36616)
- Made transfer channel/segment operations idempotent (#36552)
- Added metrics to monitor import throughput and imported row count (#36588)
- Prevented creation of multiple timer objects in targets (#36573)
- Updated expression version and formatted HTTP response for expressions (#36467)
- Enhanced garbage collection in snapshot KV (#36793)
- Added support to execute methods with context parameters (#36798)
milvus-2.3.22
v2.3.22
Release date: October 9, 2024
Milvus version | Python SDK version | Java SDK version | Go SDK version | Node.js SDK version |
---|---|---|---|---|
2.3.22 | 2.3.7 | 2.3.6 | 2.3.6 | 2.3.5 |
Milvus v2.3.22 introduces several improvements and bug fixes, including:
Features
- [cherry-pick] changes to propagate traceid from client (#34640)
Bug fixes
milvus-2.4.12
v2.4.12
Release Date: September 26, 2024
Milvus version | Python SDK version | Java SDK version | Node.js SDK version |
---|---|---|---|
2.4.12 | 2.4.7 | 2.4.4 | 2.4.9 |
Milvus 2.4.12 introduces significant enhancements and critical bug fixes. This release addresses data duplication issues and improves failure recovery speed, particularly when handling large numbers of deletions. However, a known issue persists where failure recovery can be slow when deleting massive amounts of data. We are actively working on resolving this issue.
Improvements
- Implemented graceful stop for flowgraph manager (#36358)
- Disabled index checks for non-loaded vector fields (#36280)
- Filtered out non-hit delete records during delta loading (#36272)
- Improved error handling for std::stoi exceptions (#36296)
- Disallowed keywords as field names or dynamic field names (#36108)
- Added metrics for delete entries in L0 segments (#36227)
- Implemented L0 forward policy to support remote loading (#36208)
- Added ANN field loading check in proxy (#36194)
- Enabled empty sparse row support (#36061)
- Fixed a security vulnerability (#36156)
- Implemented stats handler for request/response size metrics (#36118)
- Corrected size estimation for encoded array data (#36379)
Bug fixes
- Resolved metric type errors for collections with two vector fields (#36473)
- Fixed long buffering issues causing message queue reception failures (#36425)
- Implemented proper compact-to-segments return after split support (#36429)
- Resolved data race issues with node ID check goroutine (#36377)
- Removed element type check (#36324)
- Fixed concurrent access issues for growing and sealed segments (#36288)
- Implemented future stateful lock (#36333)
- Corrected offset usage in HybridSearch (#36287, #36253)
- Resolved dirty segment/channel leaks on QueryNode (#36259)
- Fixed primary key duplication handling (#36274)
- Enforced metric type setting in search requests (#36279)
- Fixed stored_index_files_size metric clearing issue (#36161)
- Corrected readwrite privilege group behavior for global API access (#36145)
milvus-2.4.11
v2.4.11
Release Date: September 11, 2024
Milvus version | Python SDK version | Java SDK version | Node.js SDK version |
---|---|---|---|
2.4.11 | 2.4.6 | 2.4.3 | 2.4.8 |
Milvus 2.4.11 is a bug-fix release that addresses multiple critical issues related to the MARISA trie index, compaction, and loading operations. This release introduces new features to view expressions and improve delete stability. We recommend all users of the 2.4.x series to upgrade to this version to benefit from these improvements and fixes.
Features
- Added static view for expressions in 2.4 (#35954)
- Implemented delete buffer related quota logic (#35997)
Bug fixes
- Resolved Trie index range operation issue for GreaterThan and GreaterThanEqual comparisons (#36126)
- Corrected
marisa_label_order
usage in Trie index construction (#36060) - Enhanced value checking for
trie.predictive_search
(#35999) - Enabled Binary arithmetic expression support on inverted index (#36097)
- Fixed segment fault caused by Skipindex (#35908)
- Resolved memory leak in proxy meta cache (#36076)
- Renamed mmap file path to prevent directory conflicts (#35975)
- Improved logging and cleanup for failed/timeout tasks in mix compaction (#35967)
- Addressed logic deadlock during high memory usage by delegator (#36066)
- Implemented empty segment creation when compaction deletes all inserts (#36045)
- Corrected load field list population from old version load info in 2.4 (#36018)
- Fixed tracing config update logic in 2.4 (#35998)
- Resolved search/query request failures during dynamic partition release (#36019)
- Prevented override of fallback parameters (#36006)
- Ensured proper registration of privilege groups for validation (#35938)
- Prevented mistaken cleanup of db limiter nodes (#35992)
- Addressed issue with replicas not participating in queries after failure recovery (#35925)
- Resolved data race in clustering compaction writer (#35958)
- Fixed variable reference after move operation (#35904)
- Implemented clustering key skip load behavior check (#35899)
- Ensured single startup of querycoord observers in 2.4 (#35817)
Improvements
- Upgraded Milvus & proto version to 2.4.11 (#36069)
- Addressed memory leak in unit tests and enable use_asan option for unittest builds (#35857)
- Adjusted l0segmentsrowcount limits to more appropriate values (#36015)
- Modified deltalog memory estimation factor to one (#36035)
- Implemented slicesetequal for load field list comparisons (#36062)
- Reduced log frequency for delete operations (#35981)
- Upgraded etcd version to 3.5.14 (#35977)
- Optimized mmap-rss reduction after warmup (#35965)
- Removed cooling off period in rate limiter for read requests (#35936)
- Enhanced load field checking for previously loaded collections (#35910)
- Added support for dropping roles related to privilege lists in 2.4 (#35863)
- Implemented depguard rules to prohibit deprecated proto library usage (#35818)
Others
- Updated Knowhere version (#36067)