Commit Graph

21789 Commits (2.5)

Author SHA1 Message Date
ThreadDao c1c1f2df4e
test: [2.5] add test cases for template param ()
issue: 
pr: 

- add case for Get
- add case for TemplateParam

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2025-01-22 09:55:24 +08:00
qixuan a90bd9e417
test:[cp2.5] add search iterator v2 case for milvus client ()
issue:  
pr: 

Signed-off-by: qixuan <673771573@qq.com>
2025-01-22 09:53:06 +08:00
Bingyi Sun 8475d8b193
fix: cherry pick warmup async () ()
related pr: https://github.com/milvus-io/milvus/pull/38690
issue: https://github.com/milvus-io/milvus/issues/38692

Signed-off-by: sunby <sunbingyi1992@gmail.com>
2025-01-21 15:25:05 +08:00
Xianhui Lin 20c6de156e
feat: update milvusproto version to 2.5.5 ()
feat: update milvusproto version to 2.5
issue: https://github.com/milvus-io/milvus/issues/39093

Signed-off-by: Xianhui.Lin <xianhui.lin@zilliz.com>
2025-01-21 15:11:05 +08:00
aoiasd f912cbf86d
enhance:[Cherry-pick] skip load bm25 sparse row data ()
pr: https://github.com/milvus-io/milvus/pull/39078

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2025-01-21 11:05:04 +08:00
aoiasd f7799f0add
fix:[2.5] check utf-8 format for varchar with analyzer open ()
relate: https://github.com/milvus-io/milvus/issues/39285
pr: https://github.com/milvus-io/milvus/pull/39299

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2025-01-21 10:57:03 +08:00
yihao.dai 83666f1bff
enhance: [2.5] Enable hook for importv2 ()
/kind improvement

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

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-01-21 10:29:04 +08:00
Xianhui Lin 3b3959c625
enhance: [2.5]Add schema update time verification for insert and upsert to use cache ()
enhance: Add schema update time verification for insert and upsert to
use cache
issue: https://github.com/milvus-io/milvus/issues/39093
Related to pr: https://github.com/milvus-io/milvus/pull/39096

---------

Signed-off-by: Xianhui.Lin <xianhui.lin@zilliz.com>
2025-01-21 10:19:11 +08:00
cai.zhang 817b616eb4
fix: [2.5]Restore the compacting state for stats task during recovery ()
issue:  

master pr: 

---------

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
2025-01-21 01:03:05 +08:00
aoiasd 15d60c60c2
enhance: [2.5] remain token after authorize ()
relate: https://github.com/milvus-io/milvus/issues/39285

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2025-01-20 20:27:04 +08:00
Gao f62eca09a0
enhance: set materializedView.enabled default to true ()
pr: 

Signed-off-by: chasingegg <chao.gao@zilliz.com>
2025-01-20 19:55:04 +08:00
smellthemoon e4c6ef9d57
enhance: [2.5] serializes the resp body and attach some details ()
issue:  
pr: 

Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2025-01-20 18:17:10 +08:00
smellthemoon ff53d4f742
enhance: [2.5]add some apis in Restful ()
pr:  
issue: 

---------

Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2025-01-20 18:15:22 +08:00
congqixia 8e2e828a78
enhance: [2.5] Skip loading pk index for sorted segment in loader ()
Cherry pick from master
pr: 

Related to 
Previous PR  only skips append index into segment

Also related to 

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-01-20 18:07:04 +08:00
zhenshan.cao 964000f645
fix: deleted the sealed segment data accidentally ()
issue:https://github.com/milvus-io/milvus/issues/39333
pr: https://github.com/milvus-io/milvus/pull/39421

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2025-01-20 17:49:03 +08:00
Bingyi Sun 6342237ca8
enhance: add workaround for concurrent tantivy reload and directory removal ()
related pr: https://github.com/milvus-io/milvus/pull/39440
issue: https://github.com/milvus-io/milvus/issues/39428

---------

Signed-off-by: sunby <sunbingyi1992@gmail.com>
2025-01-20 17:33:05 +08:00
Duc Le Tu 3893f24323
fix: apply custom producer config for kafkaHealthCheck ()
issue: https://github.com/milvus-io/milvus/issues/39287
pr: https://github.com/milvus-io/milvus/pull/39283

Signed-off-by: DLT1412 <tuduc93@gmail.com>
2025-01-20 17:27:04 +08:00
Bingyi Sun 6f9f840080
fix: Fix panic caused by removing directory () ()
related pr: https://github.com/milvus-io/milvus/pull/38622
issue: https://github.com/milvus-io/milvus/issues/39428

Signed-off-by: sunby <sunbingyi1992@gmail.com>
2025-01-20 16:13:03 +08:00
sthuang 8c35064d01
enhance: [2.5] clean up logs of empty op key ()
cherry-pick from master: https://github.com/milvus-io/milvus/pull/39335
related: https://github.com/milvus-io/milvus/issues/39334

Signed-off-by: shaoting-huang <shaoting.huang@zilliz.com>
2025-01-20 12:15:10 +08:00
yihao.dai 4464966462
enhance: [2.5] Remove frequent observe log ()
/kind improvement

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

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-01-20 11:01:10 +08:00
Gao 6d5f174142
enhance: [2.5] add recalls response for restful api ()
issue:  
pr: 

Signed-off-by: chasingegg <chao.gao@zilliz.com>
2025-01-20 10:59:10 +08:00
Gao efe76905c5
fix: correct remote centroids path in clustering compaction ()
issue: https://github.com/milvus-io/milvus/issues/39353
pr: 

Signed-off-by: chasingegg <chao.gao@zilliz.com>
2025-01-20 10:57:21 +08:00
XuanYang-cn c9b0859b16
fix: [cp25]Record active collections for l0Policy () ()
By recording the active collection lists, The l0 compaction trigger of
view change and idle won't influence each other.

Also this pr replaces the L0View cache with real L0 segments' change.
Save some memory and make L0 compaction triggers more accurate.

See also: 
pr: 

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2025-01-20 10:47:03 +08:00
sparknack 57bcb1bfc0
fix: sparse: add inverted_index_algo and dim_max_score_ratio config ()
issue: 
pr: 

Signed-off-by: Shawn Wang <shawn.wang@zilliz.com>
2025-01-18 12:17:03 +08:00
zhuwenxing f704e3edef
test: [skip e2e][cherry-pick]fix pytest_addoption type ()
pr: https://github.com/milvus-io/milvus/pull/38860

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-01-17 16:59:02 +08:00
zhuwenxing b2f4df49d6
test: [cherry-pick]add scalar index for compatibility testing ()
pr: https://github.com/milvus-io/milvus/pull/39291

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-01-17 16:11:02 +08:00
congqixia 0c00f94965
fix: [2.5] Skip load extra indexes for sorted segment pk field ()
Cherry-pick from master
pr: 
Related to 

Extra indexes can be ignored for most cases since sorted pk column
already provided indexing features

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-01-17 14:53:03 +08:00
congqixia bb32bda423
enhance: [2.5] Sync multipleChunkEnabled default value & milvus yaml ()
Cherry-pick from master
pr:  
The default value and yaml have different values which may cause
confusion when upgrading from older version.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-01-17 12:07:02 +08:00
yihao.dai 89a183c7c2
enhance: [2.5] enable task delta cache ()
When there are many segment tasks in the querycoord scheduler, the
traversal in GetSegmentTaskDelta checks becomes time-consuming. This PR
adds caching for segment deltas.

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

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

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Co-authored-by: Wei Liu <wei.liu@zilliz.com>
2025-01-17 12:01:03 +08:00
Zhen Ye 5330fc981c
fix: panic when streaming release if using msgstream ()
issue: 
pr: 

Signed-off-by: chyezh <chyezh@outlook.com>
2025-01-17 11:55:03 +08:00
Bingyi Sun 56cb1683eb
fix: Fix performance issue and use after free bug ()
cherry pick some fixes in https://github.com/milvus-io/milvus/pull/39249

Signed-off-by: sunby <sunbingyi1992@gmail.com>
2025-01-17 11:51:03 +08:00
Spade A 47e410feb1
fix: [2.5] fix assignment operator in AssertInfo to comparison operator ()
cp https://github.com/milvus-io/milvus/pull/39347
issue: 

Signed-off-by: SpadeA-Tang <tangchenjie1210@gmail.com>
2025-01-17 11:27:02 +08:00
Zhen Ye 0391b8c7d3
fix: update rg failed when alter database ()
issue: 
pr: 

Signed-off-by: chyezh <chyezh@outlook.com>
2025-01-17 10:37:03 +08:00
yihao.dai b69994272f
enhance: [2.5] Limit the maximum number of segments restored and fail the job if saving the binlog fails ()
1. Limit the maximum number of restored segments to 1024.
2. Fail the import job if saving binlog fails.
3. Fail the import job if saving the import task fails to prevent
repeatedly generating dirty importing segments.

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

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

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-01-17 10:27:04 +08:00
foxspy e7520599df
fix: [2.5] remove param num_build_thread ()
issue:  
pr: 

Signed-off-by: xianliang.li <xianliang.li@zilliz.com>
2025-01-16 18:05:01 +08:00
yihao.dai 6773fb10a8
enhance: [2.5] Read metadata concurrently to accelerate recovery ()
Read metadata such as segments, binlogs, and partitions concurrently at
the collection level.

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

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

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-01-16 17:53:01 +08:00
yihao.dai 9d2a0e775c
fix: [2.5] Fix slow dist handle and slow observe ()
1. Provide partition&channel level indexing in the collection target.
2. Make SegmentAction not wait for distribution.
3. Remove scheduler and target manager mutex
4. Optimize logging to reduce CPU overhead.

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

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

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-01-16 17:07:02 +08:00
congqixia e68d161e60
enhance: Bump milvus & proto version to v2.5.4 ()
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-01-16 15:39:03 +08:00
Xianhui Lin 448eb3b63a
fix: [2.5]bulkimport binlogs skip diskquota check ()
bulkimport binlogs skip diskquota check
issue:https://github.com/milvus-io/milvus/issues/38845
pr: https://github.com/milvus-io/milvus/pull/39315

Signed-off-by: Xianhui.Lin <xianhui.lin@zilliz.com>
2025-01-16 15:33:05 +08:00
yihao.dai 29dad64341
fix: [2.5] Fix consume blocked due to too many consumers ()
This PR limits the maximum number of consumers per pchannel to 10 for
each QueryNode and DataNode.

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

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

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-01-16 15:19:03 +08:00
SimFG 4cb47b3f67
feat: [2.5] root privileges can be customized ()
- issue: 
- pr: 

Signed-off-by: SimFG <bang.fu@zilliz.com>
2025-01-16 14:27:11 +08:00
yihao.dai c945efa853
enhance: [2.5] Remove mutex from SegmentManger in querynode () ()
Remove mutex from SegmentManger in querynode to prevent mutex
contention.

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

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

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-01-16 13:27:02 +08:00
yihao.dai c741b8be2b
fix: [2.5] Remove frequently updating metric to avoid mutex contention ()
issue: https://github.com/milvus-io/milvus/issues/37630

Reduce the frequency of `updateIndexTasksMetrics` to avoid holding the
mutex for long periods.

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

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-01-16 11:51:02 +08:00
smellthemoon 1602390734
enhance: support null expr() ()
pr:  
issue: 

---------

Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2025-01-16 10:55:07 +08:00
wei liu 76ed552b00
enhance: Add logs for check health failed () ()
pr: 

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2025-01-16 10:31:04 +08:00
congqixia 21df11b37c
enhance: [2.5] Add try-catch and return CStatus for NewCollection () ()
Cherry pick from master
pr:  
Related to 

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-01-16 10:13:06 +08:00
Spade A 1d9788e4bc
fix: [2.5] enable to build index with single segment ()
issue: 
cherry-pick https://github.com/milvus-io/milvus/pull/39233

---------

Signed-off-by: SpadeA-Tang <tangchenjie1210@gmail.com>
2025-01-16 09:59:02 +08:00
congqixia b658467107
enhance: [2.5] Unify LoadStateLock RLock & PinIf () ()
Cherry-pick from master
pr:  
Related to 

This PR merge `RLock` & `PinIfNotReleased` into `PinIf` function
preventing segment being released before any Read operation finished.

---------

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-01-16 00:33:03 +08:00
yihao.dai 9b916f2cf8
enhance: [2.5] Skip creating partition rate limiters when not enable ()
issue: https://github.com/milvus-io/milvus/issues/37630

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

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-01-15 22:19:02 +08:00
Gao dd44a58381
enhance: [2.5] pass partition key scalar info if enable for vector mem index ()
issue:  
pr: 

---------

Signed-off-by: chasingegg <chao.gao@zilliz.com>
2025-01-15 21:45:01 +08:00