18820 Commits

Author SHA1 Message Date
sammy.huang
4e82bc4970
enhance: use soft node affinity instead of hard nodeSelector (#32676)
pr: #32677

Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
v2.3.14
2024-04-29 14:25:36 +08:00
SimFG
3a7154b796
enhance: [2.3] add the skip auto id and partition key check config (#32671)
/kind improvement
issue: #32591
pr: #32592

Signed-off-by: SimFG <bang.fu@zilliz.com>
2024-04-29 10:19:31 +08:00
congqixia
114e3056c2
enhance: [2.3] Make querycoordv2 collection observer task driven (#32441) (#32615)
Cherry-pick from master
pr: #32441
See also #32440

- Add loadTask in collection observer
- For load collection/partitions, load task shall timeout as a whole
- Change related constructor to load jobs

---------

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-04-28 13:19:26 +08:00
sammy.huang
d56bec07fb
enhance: bind e2e to dedicated nodes (#32578)
pr:#32600

---------

Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
2024-04-26 14:13:30 +08:00
aoiasd
bf2c5def8d
enhance: [Cherry-Pick] access log support get sdk type by user agent (#30760) (#32554)
Support get sdk type by user agent when we can't get sdk version by
connection in access log.

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

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2024-04-25 16:37:27 +08:00
congqixia
c36b54cb57
enhance: [2.3] Use different interval for gc scan (#31363) (#32551)
Cherry-pick from master
pr: #31363
See also #31362

This PR make datacoord garbage collection scan operation using differet
interval than other opeartion.

This interval is a newly added param item, which default value is 7*24
hours.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-04-25 16:07:26 +08:00
foxspy
560e167214
fix: add score compute consistency config for knowhere (#32584)
issue: #32583 
/kind branch-feature

Signed-off-by: xianliang.li <xianliang.li@zilliz.com>
2024-04-25 14:07:25 +08:00
wei liu
fffbc1e3c1
fix: make grow task stale when node become stopping (#32556)
issue: #30816 #32526
pr: #31487
this PR fix that grow task stuck at stopping node

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-04-25 10:47:25 +08:00
wei liu
3352805afb
fix: should update leader view when segment version not match (#32517)
issue: #31468
pr: #31643

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-04-25 10:45:33 +08:00
aoiasd
deda656dcc
enhance:[Cherry-pick] forbid delete with always true expression (#32472) (#32495)
pr: https://github.com/milvus-io/milvus/pull/32472

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2024-04-23 02:45:27 -07:00
PowderLi
2d5f674c78
fix: [restful]use default search parameter nq: 0 (#32362)
issue: #32225
master pr: #32355 #32485
v2.4 pr: #32356 #32486

1. v1 can only accept one vector, but v2 accept list of vectors
2. cannot get dbName from AliasReq #31978
3. parameters of create collection #31176

---------

Signed-off-by: PowderLi <min.li@zilliz.com>
2024-04-23 17:42:19 +08:00
PowderLi
0f118e7083
fix: restful v2 (#32162)
issue: #31176
master pr: #32144
2.4 pr: #32160

1. cannot get dbName correctly while describe alias [Bug]: [restful
v2]The dbName parameter of the describe alias interface did not take
effect #31978
2. return a valid json string even if the user doesn't have the whole
privileges to describe collection [Bug]: [restful v2]When accessing the
interface with a user without permission, the response will contain
multiple results, some of which will report an error of lack of
permission, while one will return the correct result #31635
3. rename IndexParam.IndexConfig to IndexParam.Params
4. FieldSchema.ElementTypeParams, IndexParam.Params can not only accept
string

Signed-off-by: PowderLi <min.li@zilliz.com>
2024-04-23 16:07:09 +08:00
sre-ci-robot
8da82afb59
[automated] Bump milvus version to v2.3.14 (#32518)
Bump milvus version to v2.3.14
Signed-off-by: sre-ci-robot sre-ci-robot@users.noreply.github.com

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-23 13:03:24 +08:00
congqixia
d9ac8e9e36
fix: [2.3] Mark channel checkpoint dropped prevent cp lag metrics leakage (#32454)
See also #31506 #31508

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-04-19 14:55:22 +08:00
congqixia
65003099d8
enhance: Bump milvus version to v2.3.14 (#32455)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-04-19 13:57:23 +08:00
Patrick Weizhi Xu
8e882bba1b
enhance: Update knowhere version (#32439)
Update Knowhere version

Signed-off-by: Patrick Weizhi Xu <weizhi.xu@zilliz.com>
2024-04-19 10:29:22 +08:00
sammy.huang
5af0ab71ab
enhance: Revert[skip e2e] use pull_request_target event instead (#32430)
pr: #32426
This reverts commit 0d000ae3b7fd53f0c5b34e2ac6d84891f4323921.

Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
2024-04-18 20:07:54 +08:00
nico
a75fe4034d
test: update pymilvus version (#32393)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2024-04-18 16:15:25 +08:00
wei liu
261bb8fbdb
fix: Update segment's version in syncDistribution (#32320)
issue: #31468
pr: #31643

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-04-17 11:05:22 +08:00
sammy.huang
a52deabe87
enhance: [skip e2e]explicitly ignore cmd folder for codecov (#32341)
issue: #32261
pr: #32342

Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
2024-04-17 10:59:31 +08:00
Gao
89d95901c5
enhance: support disable search optimization (#32143)
master pr: https://github.com/milvus-io/milvus/pull/32141
2.4 pr: https://github.com/milvus-io/milvus/pull/32142

Signed-off-by: chasingegg <chao.gao@zilliz.com>
2024-04-17 10:45:20 +08:00
sammy.huang
0d000ae3b7
enhance: [skip e2e] use pull_request_target event instead (#32242)
issue: #32235
pr: #32236

Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
2024-04-14 23:35:23 +08:00
congqixia
02acb9f7dd
fix: [2.3] Wait StandBy server ready for testcase (#32216) (#32231)
Cherry-pick from master
pr: #32216
See also #32069

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-04-13 12:03:23 +08:00
congqixia
d635495885
fix: [2.3] Make coordinator Register not blocked on ProcessActiveStandby(#32069) (#32133)
Cherry-pick from master
pr: #32069
See also #32066

This PR make coordinator register successful and let
`ProcessActiveStandBy` run async. And roles may receive stop signal and
notify servers.

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-04-11 17:33:21 +08:00
Xiaofan
37e5728229
fix: reduce didn't handle offset without limit and reduceStopForBest … (#32087)
fix #32059
pr: #32089

this pr fix two issues:
1. offset is not handled correctly without specify a limit
2. reduceStopForBest doesn't guarantee to return limit result even if
there are more result when there is small segment

Signed-off-by: xiaofanluan <xiaofan.luan@zilliz.com>
2024-04-10 21:20:37 -07:00
aoiasd
86c59899ef
fix: flush manager unit test data race when wait all flush queue (#32071)
relate: https://github.com/milvus-io/milvus/issues/32070

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2024-04-10 15:25:59 -07:00
wei liu
9d4ce6e581
enhance: Add restful api for devops to execute rolling upgrade (#29998) (#31846)
issue: #29261
pr: #29998
This PR Add restful api for devops to execute rolling upgrade, including
suspend/resume balance and manual transfer segments/channels.

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-04-10 19:47:20 +08:00
congqixia
d18a88a94f
fix: [2.3] Validate PlaceholderGroups before combine them (#32016) (#32045)
Cherry-pick from master
pr: #32016
See also #32015

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-04-10 16:57:26 +08:00
wei liu
85d736ec83
fix: Avoid acquire index meta's lock for each segment (#31723) (#31798)
issue: #31662 #31409
pr: #31723

during FilterIndexedSegment in GetRecoveryInfo, it try to acquire index
meta's read lock for every segment. when a collection has thousands of
segments, which may blocked for more than 10 seconds and even longer.
cause `AddSegmentIndex` may also triggered frequently, which try to get
the write lock.

This PR avoid acquire index meta's lock for each segment

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-04-09 17:19:17 +08:00
wei liu
b65b963ca2
enhance: Rootcoord's stop may block in quota_center's stop (#31447) (#31824)
pr: #31447
this PR fixed that rootcoord's stop may block in quota_center' stop

---------

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-04-09 17:17:18 +08:00
sammy.huang
f6c0c1581c
enhance: [skip e2e]bump codecod-action to v4 (#32011)
pr: #31984

Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
2024-04-08 17:03:23 +08:00
sammy.huang
a2475d4afc
enhance: [skip e2e]change cache path (#31445) (#31948)
pr: #31445

Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
2024-04-07 15:17:17 +08:00
sre-ci-robot
c94ec3edc0
[automated] Bump milvus version to v2.3.13 (#31949)
Bump milvus version to v2.3.13
Signed-off-by: sre-ci-robot sre-ci-robot@users.noreply.github.com

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-07 14:53:18 +08:00
nico
835862df22
enhance: [skip e2e] update milvus helm repo in nightly test (#31815)
Signed-off-by: nico <cheng.yuan@zilliz.com>
v2.3.13
2024-04-07 10:25:16 +08:00
yihao.dai
fa447532d7
fix: add some check fieldata dim (#31564) (#31899)
issue: https://github.com/milvus-io/milvus/issues/30138
issue: https://github.com/milvus-io/milvus/issues/31724

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

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Co-authored-by: cqy123456 <39671710+cqy123456@users.noreply.github.com>
2024-04-05 10:04:16 +08:00
congqixia
ba36f66a5c
fix: [2.3] Use server ctx instead of loopCtx for datacoord LivenessCheck (#31691) (#31747)
Cherry-pick from master
pr: #31691
See also #31689

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-04-02 23:30:33 -07:00
aoiasd
4752c0291b
fix: channel meta mergeFlushSegment not idempotent cause data loss (#31837)
fix channel meta mergeFlushSegment not idempotent may cause data loss
when update compacted segment buffer, because may update buffer to
segment which has been covered.
relate: https://github.com/milvus-io/milvus/issues/31548

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2024-04-02 23:25:50 -07:00
aoiasd
cf02c623ab
fix: fix injection invalid bug by add inject task to handler inject when queue was empty (#31819)
relate: https://github.com/milvus-io/milvus/issues/31548

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2024-04-03 14:05:14 +08:00
PowderLi
a992334d0e
fix: [cherry-pick] use milvus-io/vcpkg (#31808)
issue: #31769
master pr: #31770
3.4 pr: #31799

GitHub Disables The XZ Repository because of
https://github.com/advisories/GHSA-rxwq-x6h5-x525

Signed-off-by: PowderLi <min.li@zilliz.com>
2024-04-02 11:09:14 +08:00
cqy123456
47f767cf32
enhance: remove float16 in 2.3 branch (#31720)
issue: https://github.com/milvus-io/milvus/issues/31696

Signed-off-by: cqy123456 <qianya.cheng@zilliz.com>
2024-03-30 10:49:13 +08:00
foxspy
7394c5156c
enhance: Update Knowhere Cloud version (#31729)
/kind branch-feature

Signed-off-by: xianliang.li <xianliang.li@zilliz.com>
2024-03-29 18:15:17 +08:00
nico
c1ca0b2b0d
test: update chart version and some cases (#31686)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2024-03-29 14:09:18 +08:00
XuanYang-cn
055dd7ea1d
fix: Clear compaction tasks when release channel (#31694)
See also: #31648
pr: #31666

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2024-03-29 10:53:12 +08:00
cai.zhang
4a4a4b1061
fix: [Pick]Check whether the DataType of the column is legal (#31699)
issue: #31696 
master pr: #31697 
2.4 pr: #31698

---------

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
2024-03-29 09:31:12 +08:00
XuanYang-cn
69931a6e7f
fix: Skip changing meta if nodeID not match with channel (#31665)
See also: #31648
pr: #31666

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2024-03-28 16:05:11 +08:00
congqixia
4021f4478f
enhance: [Cherry-pick] Save collection targets by batches (#31616) (#31655)
Cherry-pick from master
pr: #31616 
See also #28491 #31240

When colleciton number is large, querycoord saves collection target one
by one, which is slow and may block querycoord exits.

In local run, 500 collections scenario may lead to about 40 seconds
saving collection targets.

This PR changes the `SaveCollectionTarget` interface into batch one and
organizes the collection in 16 per bundle batches to accelerate this
procedure.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-03-28 10:25:11 +08:00
congqixia
35100ba2e5
fix: [2.3] Make target observer auto/manual task mutual exclusive (#31584) (#31603)
Cherry-pick from master
pr: #31584
See also #30867

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-03-27 19:51:14 +08:00
sammy.huang
9d9f2cdf4d
enhance: enable docker buildkit (#31599)
pr:#31600

Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
2024-03-27 16:47:11 +08:00
groot
91cdada12a
fix: minio ssl compatible issue (#31619)
issue: https://github.com/milvus-io/milvus/issues/30709
pr: https://github.com/milvus-io/milvus/pull/31607

Signed-off-by: yhmo <yihua.mo@zilliz.com>
2024-03-27 14:41:20 +08:00
jaime
8713765f4d
fix: proxy ctx cancel before revoking session (#31595)
issue: #31219
pr: #31596

Signed-off-by: jaime <yun.zhang@zilliz.com>
2024-03-26 11:45:09 +08:00