3240 Commits

Author SHA1 Message Date
congqixia
99c6209ffc
enhance: Bump milvus & proto version to v2.5.13 (#42175)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-05-30 15:28:30 +08:00
yanliang567
73ed1a6105
test: [2.5] Add TTL tests to verify expiration in read (#42190)
related issue: #42182
pr: #42189

---------

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-05-29 20:54:29 +08:00
groot
a48001f999
feat: support to drop properties of field (#41954)
issue: https://github.com/milvus-io/milvus/issues/41990
pr: https://github.com/milvus-io/milvus/pull/41996

Signed-off-by: yhmo <yihua.mo@zilliz.com>
2025-05-27 14:32:34 +08:00
zhuwenxing
f4fe920fde
test: [cherry-pick]add multi analyzer test (#41632)
pr: https://github.com/milvus-io/milvus/pull/41578

/kind improvement

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-05-26 19:06:31 +08:00
XuanYang-cn
f6d2f01640
enhance: Upgrade PyMilvus to 2.5.10rc2 (#42034)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2025-05-26 19:02:28 +08:00
zhuwenxing
60b651c36c
test: add csv import testcase and adjust import testcase tag (#41638) (#42069)
/kind improvement
pr: #41638

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-05-26 16:20:31 +08:00
yanliang567
7fc7e519be
test: Remove distributed line for go sdk test (#41895)
related issue: https://github.com/milvus-io/milvus/issues/41819
pr: https://github.com/milvus-io/milvus/pull/41820

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-05-20 14:14:24 +08:00
yihao.dai
7c8370ccd2
fix: [2.5] Fix ants.Pool goroutine leak (#41893)
1. Release the pool after it is no longer in use.
2. Upgrade ants.Pool to fix the goroutine leak issue (see
https://github.com/panjf2000/ants/pull/287).

issue: https://github.com/milvus-io/milvus/issues/41838

pr: https://github.com/milvus-io/milvus/pull/41892

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-05-16 19:12:22 +08:00
yanliang567
bfdd6adb7b
test: Upgrade helm chart version and resource limit (#41881)
related issue: https://github.com/milvus-io/milvus/issues/41819
pr: #41820

---------

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-05-16 13:24:23 +08:00
congqixia
e0c79ffee8
enhance: Bump milvus & proto version to v2.5.12 (#41888)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-05-16 13:06:23 +08:00
XuanYang-cn
4f3fd71ba7
enhance: Upgrade pymilvus to 2.5.9rc3 (#41753)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2025-05-16 11:38:25 +08:00
congqixia
30dda24982
enhance: [2.5] Bump x/net fixing CVE-2025-22872 (#41878)
Cherry-pick from master
pr: #41861
Related to #41291
Related to CVE-2025-22872

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-05-16 10:20:24 +08:00
yihao.dai
a7c818cadb
fix: [2.5] Fix no candidate segments error for small import (#41772)
When autoID is enabled, the preimport task estimates row distribution by
evenly dividing the total row count (numRows) across all vchannels:
`estimatedCount = numRows / vchannelNum`.
However, the actual import task hashes real auto-generated IDs to
determine
the target vchannel. This mismatch can lead to inaccurate row
distribution estimation
in such corner cases:
- Importing 1 row into 2 vchannels:
				• Preimport: 1 / 2 = 0 → both v0 and v1 are estimated to have 0 rows
				• Import: real autoID (e.g., 457975852966809057) hashes to v1
				  → actual result: v0 = 0, v1 = 1

To resolve such corner case, we now allocate at least one segment for
each vchannel
when autoID is enabled, ensuring all vchannels are prepared to receive
data even
if no rows are estimated for them.

issue: https://github.com/milvus-io/milvus/issues/41759

pr: https://github.com/milvus-io/milvus/pull/41771

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-05-14 10:36:22 +08:00
shaoyue
973f6d80a1
enhance: update go version to fix cve (#41697)
master pr: #41696
/cc @congqixia @czs007

Signed-off-by: haorenfsa <haorenfsa@gmail.com>
2025-05-09 11:22:55 +08:00
congqixia
ecf3841ae9
enhance: [GoSDK] cherry pick patches for 2.5.3 (#41631)
pr: #41498 #41576 #41606 #39973

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
Co-authored-by: aoiasd <45024769+aoiasd@users.noreply.github.com>
2025-04-30 15:10:53 +08:00
zhuwenxing
3df2156ee2
test: [cherry-pick]add icu tokenizer testcases (#41630)
pr: https://github.com/milvus-io/milvus/pull/41501

/kind improvement

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-04-30 14:18:54 +08:00
XuanYang-cn
1510dea7e3
enhance: Upgrade pymilvus to 2.5.8rc3 (#41580)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2025-04-30 11:22:54 +08:00
zhuwenxing
c40e8cf44b
test: add run_analyzer api test and lindera tokenizer test (#41487)
/kind improvement

pr: https://github.com/milvus-io/milvus/pull/40160
https://github.com/milvus-io/milvus/pull/41064

---------

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-04-28 19:38:49 +08:00
congqixia
41d910451f
enhance: Bump milvus & proto version to v2.5.11 (#41541)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-04-27 19:56:39 +08:00
SimFG
18eb627533
fix: [2.5] Update logging context and upgrade dependencies (#41319)
- issue: #41291
- pr: #41318

---------

Signed-off-by: SimFG <bang.fu@zilliz.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-24 23:50:40 +08:00
XuanYang-cn
143ca8c02b
enhance: Upgrade pymilvus to 2.5.7rc10 (#41464)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2025-04-23 20:26:38 +08:00
congqixia
55b37c3bb6
enhance: Bump milvus & proto version to v2.5.10 (#41328)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-04-15 19:50:32 +08:00
zhagnlu
2498eb0691
enhance: add optimize for like expr (#41222)
pr: #41066  cherry-pick from master

Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
2025-04-14 21:06:32 +08:00
yanliang567
409721d9e7
test: [cherry-pick] gen collection name by testcase name (#41193)
related issue: #40698 
pr: #41170

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-04-09 22:52:27 +08:00
binbin
cc1b0a8cdb
test: Fix test cases for part of json path index (#41132)
related pr: #41016

Signed-off-by: binbin lv <binbin.lv@zilliz.com>
2025-04-08 11:04:25 +08:00
congqixia
d679195a5a
enhance: Bump milvus & proto version to v2.5.9 (#41144)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-04-07 20:37:35 +08:00
nico
e4782b95a0
test: update test cases (#41080)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2025-04-03 15:54:29 +08:00
wt
a47bb93c58
test: [cp] add more varchar expressions for query (#41083)
pr: https://github.com/milvus-io/milvus/pull/39122

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
2025-04-03 14:36:22 +08:00
binbin
0f247c469e
test: [cherry-pick-2.5] Add test cases for json path index (#41074)
related pr: #41016

---------

Signed-off-by: binbin lv <binbin.lv@zilliz.com>
2025-04-03 13:02:27 +08:00
zhagnlu
0d3bd3131c
fix:fix format error for json (#41031)
#41026

Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
2025-04-02 14:32:32 +08:00
congqixia
e0f274a1b8
enhance: Bump milvus & proto version to v2.5.8 (#41019)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-03-31 22:27:12 +08:00
Bingyi Sun
f0346a149a
fix: Fix using json index when iterative_filter is specified (#40946)
issue: #40934 
pr: #40945

Signed-off-by: sunby <sunbingyi1992@gmail.com>
2025-03-27 23:02:20 +08:00
congqixia
2411c184a8
enhance: [2.5] Support detailed manual compaction criterion (#40892) (#40924)
Cherry-pick from master
pr: #40892
Related to #40866

This PR:
- update go-api/v2 and support partition id/channel/segment level manual
compaction
- refines the compaction trigger implementation
- unify the compaction signal usage

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-03-27 10:36:22 +08:00
zhuwenxing
8ec8a7a9c4
test: using pytest_tagging to replace pytest_tags (#40902)
pr: https://github.com/milvus-io/milvus/pull/40878

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-03-26 10:46:31 +08:00
zhuwenxing
b0cc8bc9e0
test: [cherry-pick][2.5] add more restful v2 api testcases (#40915)
pr: https://github.com/milvus-io/milvus/pull/39558

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-03-26 10:44:25 +08:00
zhuwenxing
99670db5e9
test: update text empty percent in go client fts test (#40010)
pr: https://github.com/milvus-io/milvus/pull/40009

/kind improvement

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-03-25 17:28:23 +08:00
wt
34131d93ae
test: test mix scenes support batch insertion (#40871)
issues: https://github.com/milvus-io/milvus/issues/40868

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
2025-03-25 10:52:29 +08:00
yihao.dai
b534c9d804
enhance: [2.5] Introduce batch subscription in msgdispatcher (#40596)
Introduce a batch subscription mechanism in msgdispatcher: the
msgdispatcher now includes a vchannel watch task queue, where all
vchannels in the queue will subscribe to the MQ only once and pull
messages from the oldest vchannel checkpoint to the latest.

issue: https://github.com/milvus-io/milvus/issues/39862

pr: https://github.com/milvus-io/milvus/pull/39863

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-03-24 10:18:17 +08:00
ThreadDao
31f9e3c789
[skip-e2e] test: enable jsonKeyStats in pulsar nightly test (#40826)
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2025-03-21 19:28:15 +08:00
XuanYang-cn
70ad96ffb3
enhance: Upgrade PyMilvus version to 2.5.6rc5 (#40748)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2025-03-21 17:48:28 +08:00
jaime
e538d2c106
fix:etcd advertise-client-urls in docker-compose (#40805)
issue: #40696
pr: #40804

Signed-off-by: jaime <yun.zhang@zilliz.com>
2025-03-21 15:50:13 +08:00
ThreadDao
635f6c5300
[GoSDK][2.5] test: Cherry-pick gosdk test commits from master branch (#40778)
pr: #39694 #40352 #40775 #40787

---------

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2025-03-21 14:30:14 +08:00
congqixia
50241e4cf9
enhance: [2.5][GoSDK] Support JSON Path index (#40754) (#40791)
Cherry-pick from master
pr: #40754 
Related to #35528

---------

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-03-21 10:28:13 +08:00
zhagnlu
14259a3f8a
fix:fix exception when do arith expr when using index (#40799)
pr: #40783

Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
2025-03-20 19:34:49 +08:00
cai.zhang
0cfe835cac
enhance: [2.5] Support slot for index task and stats task (#40288)
issue: #39101 

master pr: #39084

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
2025-03-19 16:50:11 +08:00
congqixia
6d25fc56aa
enhance: Bump milvus & proto version to v2.5.7 (#40728)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-03-18 19:58:15 +08:00
zhuwenxing
d9635c6f86
test: [cherry-pick]add empty sparse in import test (#40683)
pr: https://github.com/milvus-io/milvus/pull/40682

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-03-18 15:18:13 +08:00
Bingyi Sun
ae8a9cebb8
fix: fix json index not-equal filter (#40648)
issue: #35528 
pr: https://github.com/milvus-io/milvus/pull/40647

---------

Signed-off-by: sunby <sunbingyi1992@gmail.com>
2025-03-14 21:36:10 +08:00
Bingyi Sun
683b26ffb7
feat: cherry pick json path index (#40313)
issue: #35528 
pr: #36750 
this pr includes json path index pr and some related prs:
1. update tantivy version #39253 
2. json path index #36750 
3. fall back to brute force #40076 
4. term filter #40140 
5. bug fix #40336

---------

Signed-off-by: sunby <sunbingyi1992@gmail.com>
2025-03-10 22:14:05 +08:00
sparknack
3b847712bd
fix: add collection flush before sparse searching in pytest (#40510)
Signed-off-by: Shawn Wang <shawn.wang@zilliz.com>
2025-03-10 19:14:04 +08:00