3306 Commits

Author SHA1 Message Date
XuanYang-cn
70fc91da90
test: Increase PyMilvus version to 2.5.19rc1 for 2.5 branch (#46485)
Automated daily bump from pymilvus 2.5 branch. Updates
tests/python_client/requirements.txt.

Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2025-12-22 18:39:18 +08:00
congqixia
9e85eb4d04
enhance: Bump milvus & proto version to v2.5.24 (#46134)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-12-05 16:39:11 +08:00
congqixia
571295e945
enhance: [2.5] Bump go version to 1.24.11 fixing CVE #46077 (#46114)
Cherry-pick from master
pr: #46034 #46049
Fixing CVE-2025-61729

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-12-05 15:31:11 +08:00
congqixia
f60211583e
enhance: [2.5] Bump golang.org/x/crypto fixing CVE(#45975) (#46112)
Cherry-pick from master
pr: #45975
Related to #45976

Bump golang.org/x/crypto to v0.45.0 fixing CVE-2025-47914

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-12-05 14:33:27 +08:00
XuanYang-cn
da3ace1325
test: Increase PyMilvus version to 2.5.18 for 2.5 branch (#46031)
Automated daily bump from pymilvus 2.5 branch. Updates
tests/python_client/requirements.txt.

Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2025-12-04 17:33:20 +08:00
congqixia
0ddc9c947a
enhance: Bump milvus & proto version to v2.5.23 (#45677)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-11-19 15:23:14 +08:00
XuanYang-cn
b8f14d3992
test: Increase PyMilvus version to 2.5.17 for 2.5 branch (#45440)
Automated daily bump from pymilvus 2.5 branch. Updates
tests/python_client/requirements.txt.

Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2025-11-13 11:33:41 +08:00
congqixia
53e86f53b4
enhance: Bump milvus & proto to v2.5.22 (#45498)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-11-13 09:59:38 +08:00
XuanYang-cn
abeabd4e87
test: Increase PyMilvus version to 2.5.17rc4 for 2.5 branch (#45385)
Automated daily bump from pymilvus 2.5 branch. Updates
tests/python_client/requirements.txt.

Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2025-11-07 15:23:38 +08:00
congqixia
6dd7b7c197
enhance: [2.5] Bump go version to 1.24.9 (#45370)
Cherry-pick from master
pr: #45359 
Fixing CVE-2025-58187

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-11-07 10:19:35 +08:00
XuanYang-cn
93e8c5465a
test: Increase PyMilvus version to 2.5.17rc3 for 2.5 branch (#45213)
Automated daily bump from pymilvus 2.5 branch. Updates
tests/python_client/requirements.txt.

---------

Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2025-11-06 17:01:35 +08:00
congqixia
ec5189f9c4
enhance: Bump milvus & proto version to v2.5.21 (#45297)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-11-05 10:55:33 +08:00
zhuwenxing
36a30dd34e
test: add geometry datatype testcases (#44383)
master pr: https://github.com/milvus-io/milvus/pull/44646

/kind improvement

---------

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-11-04 11:03:34 +08:00
congqixia
93fb9a4b18
enhance: Bump milvus & proto version to v2.5.20 (#45140)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-10-30 10:46:09 +08:00
aoiasd
529a31a1bf
enhance: [2.5]support use nullable field as bm25 function input field (#44586) (#45118)
relate: https://github.com/milvus-io/milvus/pull/44586

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2025-10-28 19:20:11 +08:00
congqixia
17a91f3bdf
enhance: Bump milvus & proto version to v2.5.19 (#44693)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-10-11 11:37:58 +08:00
congqixia
7f52c02871
enhance: [2.5] Bump go verion to 1.24.6 (#44718)
Bump go verion to v1.24.6 fixing CVE-2025-47907

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-10-10 14:45:57 +08:00
congqixia
c86d68bea5
enhance: [2.5] Bump arrow/go to v17 (#44663)
Related to #40777

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-10-09 11:47:57 +08:00
Bingyi Sun
7a02569602
enhance: [go-sdk]allow users to insert pk data if autoid is enabled (#44562)
pr: https://github.com/milvus-io/milvus/pull/44561
issue: #44424

Signed-off-by: sunby <sunbingyi1992@gmail.com>
2025-09-29 11:27:06 +08:00
wei liu
3a7a08f2b3
enhance: [2.5] Add granular flush targets support for FlushAll operation (#44431)
issue: #44156
pr: #44234
Enhance FlushAll functionality to support targeting specific collections
within databases instead of only database-level flushing.

Changes include:

- Add FlushAllTarget message in data_coord.proto for granular targeting
- Support collection-specific flush operations within databases
- Maintain backward compatibility with deprecated db_name field

This enhancement allows users to flush specific collections without
affecting other collections in the same database, providing more precise
control over data persistence operations.

---------

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2025-09-28 10:37:06 +08:00
XuanYang-cn
cdcad7b1c7
test: Increase PyMilvus version to 2.5.17rc1 for 2.5 branch (#44552)
Automated daily bump from pymilvus 2.5 branch. Updates
tests/python_client/requirements.txt.

Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2025-09-24 17:16:10 +08:00
XuanYang-cn
83e162bf66
test: Increase PyMilvus version to 2.5.16 for 2.5 branch (#44493)
Automated daily bump from pymilvus 2.5 branch. Updates
tests/python_client/requirements.txt.

Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2025-09-22 11:24:08 +08:00
congqixia
1b0bf82b22
enhance: Bump milvus & proto version to v2.5.18 (#44468)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-09-19 17:20:02 +08:00
cai.zhang
7ef76058d5
enhance: Support gis filter operator st_dwithin (#44392)
issue: #43427

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
2025-09-16 22:44:03 +08:00
cai.zhang
877e68f851
enhance: Support R-Tree index for geometry datatype (#44069)
issue: #43427
pr: #37417

Support R-Tree index for geometry datatype.

---------

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
Co-authored-by: ZhuXi <150327960+Yinwei-Yu@users.noreply.github.com>
2025-09-11 14:19:58 +08:00
XuanYang-cn
6f9e42fbe4
test: Increase PyMilvus version to 2.5.16rc3 for 2.5 branch (#44125)
Automated daily bump from pymilvus 2.5 branch. Updates
tests/python_client/requirements.txt.

Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2025-08-29 15:09:51 +08:00
XuanYang-cn
0cac47c02c
test: Increase PyMilvus version to 2.5.16rc2 for 2.5 branch (#44101)
Automated daily bump from pymilvus 2.5 branch. Updates
tests/python_client/requirements.txt.

Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2025-08-28 18:07:52 +08:00
congqixia
94acb811bb
fix: [2.5] Invalidate proxy cache for create alias op (#43854) (#44073)
Cherry-pick from master
pr: #43854
Related to #43853

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-08-27 16:19:51 +08:00
ZhuXi
cd931a0388
feat:Geospatial Data Type and GIS Function support for milvus (#43661)
issue: #43427
pr: #37417

This pr's main goal is merge #37417 to milvus 2.5 without conflicts.

# Main Goals

1. Create and describe collections with geospatial type
2. Insert geospatial data into the insert binlog
3. Load segments containing geospatial data into memory
4. Enable query and search can display  geospatial data
5. Support using GIS funtions like ST_EQUALS in query

# Solution

1. **Add Type**: Modify the Milvus core by adding a Geospatial type in
both the C++ and Go code layers, defining the Geospatial data structure
and the corresponding interfaces.
2. **Dependency Libraries**: Introduce necessary geospatial data
processing libraries. In the C++ source code, use Conan package
management to include the GDAL library. In the Go source code, add the
go-geom library to the go.mod file.
3. **Protocol Interface**: Revise the Milvus protocol to provide
mechanisms for Geospatial message serialization and deserialization.
4. **Data Pipeline**: Facilitate interaction between the client and
proxy using the WKT format for geospatial data. The proxy will convert
all data into WKB format for downstream processing, providing column
data interfaces, segment encapsulation, segment loading, payload
writing, and cache block management.
5. **Query Operators**: Implement simple display and support for filter
queries. Initially, focus on filtering based on spatial relationships
for a single column of geospatial literal values, providing parsing and
execution for query expressions.Now only support brutal search
6. **Client Modification**: Enable the client to handle user input for
geospatial data and facilitate end-to-end testing.Check the modification
in pymilvus.

---------

Signed-off-by: Yinwei Li <yinwei.li@zilliz.com>
Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
Co-authored-by: cai.zhang <cai.zhang@zilliz.com>
2025-08-26 19:11:55 +08:00
Ted Xu
8821743c17
enhance: returning collection metadata from cache (#42823) (#43911)
See #43187
pr: #42823

---------

Signed-off-by: Ted Xu <ted.xu@zilliz.com>
2025-08-26 14:23:54 +08:00
XuanYang-cn
199002f9e3
test: Increase PyMilvus version to 2.5.15rc4 (#43991)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2025-08-21 19:29:47 +08:00
congqixia
8748a59a62
enhance: Bump milvus & proto version to v2.5.17 (#43906)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-08-19 16:37:47 +08:00
congqixia
3baddd3ce9
enhance: [2.5][GoSDK] Cherry pick commits for v2.5.6 and bump version (#43792)
Related 
pr: #43612 #43732 #43774 #43771

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
Co-authored-by: ThreadDao <yufen.zong@zilliz.com>
2025-08-11 10:39:42 +08:00
zhuwenxing
888dcb57cf
test: [cp2.5]add more testcase for analyzer (#43712)
pr: https://github.com/milvus-io/milvus/pull/43367

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-08-05 14:51:41 +08:00
zhuwenxing
e706e825dc
test: [cp2.5]add hybrid search offset testcase in restful api (#43711)
pr: https://github.com/milvus-io/milvus/pull/43646

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-08-05 14:49:48 +08:00
congqixia
a7c80729be
enhance: Bump milvus & proto version to v2.5.16 (#43686)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-08-04 11:27:39 +08:00
congqixia
1a2871b628
enhance: [2.5] Remove collection name validation from DescribeCollection (#43300)
Cherry-pick from master
pr: #43299
Related to #43031

Previous pr: #43064

Since old version may create collection with invalidate collection name,
milvus shall allow some API to let user notice such collection still
exists.

This patch removes collection name validation from `DescribeCollection`
call, letting user know that such collection still exists.

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-08-04 10:51:04 +08:00
congqixia
0b8a2dc16b
test: [2.5] Use strong consistency level for hybrid search cases (#43536) (#43588)
Cherry-pick from master
pr: #43536 

There are some unstable cases in go sdk e2e cases, which used default
bounded consistency level. This patch make these cases use strong level
to avoid unstable test results

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-07-28 14:26:56 +08:00
wei liu
4631657304
fix: Unstable integration case TestBalanceOnSingleReplica (#43552)
issue: #42930

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2025-07-25 10:52:55 +08:00
SimFG
8b2067a249
enhance: [2.5] Upgrade go version to 1.24.4 to fix CVEs (#43467)
- pr: #43019
/kind imporvement

Signed-off-by: liliu-z <liliu-z@users.noreply.github.com>
Co-authored-by: liliu-z <liliu-z@users.noreply.github.com>
2025-07-23 10:24:53 +08:00
XuanYang-cn
9b2e0edc36
enhance: Upgrade pymilvus to 2.5.14rc3 (#43472)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2025-07-22 11:52:53 +08:00
wei liu
ad0bf9cad8
enhance: Optimize channel node balancing for uneven QN distribution (#42786) (#43423)
issue: #42860
pr: #42786
Fix channel node allocation when QueryNode count is not a multiple of
channel count. The previous algorithm used simple division which caused
uneven distribution with remainders.

Key improvements:
- Implement smart remainder distribution algorithm
- Refactor large function into focused helper functions
- Support two-phase rebalancing (release then allocate)
- Handle edge cases like insufficient nodes gracefully

---------

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2025-07-21 17:04:54 +08:00
nico
0c316b9172
test: update nightly cases[2.5] (#43415)
pr: #43252

Signed-off-by: nico <cheng.yuan@zilliz.com>
2025-07-21 15:34:54 +08:00
zhuwenxing
4ec32aae3f
test:[cp2.5]add collection rename checker in chaos test (#43418)
pr: https://github.com/milvus-io/milvus/pull/43412

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-07-21 14:08:53 +08:00
congqixia
3a3b374f11
enhance: Bump milvus & proto version to v2.5.15 (#43433)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-07-18 19:02:52 +08:00
XuanYang-cn
ba8c605be2
enhance: Upgrade PyMilvus to 2.5.13rc2 (#43368)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2025-07-18 15:16:52 +08:00
wei liu
b08d9efe69
fix: Prevent delegator unserviceable due to shard leader change (#42689) (#43309)
issue: #42098 #42404
pr: #42689
Fix critical issue where concurrent balance segment and balance channel
operations cause delegator view inconsistency. When shard leader
switches between load and release phases of segment balance, it results
in loading segments on old delegator but releasing on new delegator,
making the new delegator unserviceable.

The root cause is that balance segment modifies delegator views, and if
these modifications happen on different delegators due to leader change,
it corrupts the delegator state and affects query availability.

Changes include:
- Add shardLeaderID field to SegmentTask to track delegator for load
- Record shard leader ID during segment loading in move operations
- Skip release if shard leader changed from the one used for loading
- Add comprehensive unit tests for leader change scenarios

This ensures balance segment operations are atomic on single delegator,
preventing view corruption and maintaining delegator serviceability.

---------

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2025-07-15 17:46:51 +08:00
zhikunyao
180214d406
test: update pytest base image 2.5 (#43328)
pr: #43327

Signed-off-by: Zhikun Yao <zhikun.yao@zilliz.com>
2025-07-15 15:34:51 +08:00
congqixia
e13b55fc0a
fix: [2.5] Remove trimming space logic when validating collection name (#43064) (#43138)
Cherry-pick from master
pr: #43064
Related to #43031

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-07-07 09:54:46 +08:00
XuanYang-cn
3666fced6c
enhance: Upgrade pymilvus to 2.5.12rc8 (#43084)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2025-07-03 11:30:45 +08:00