Commit Graph

2631 Commits (89d95901c50ed595ba613b30a3169f4e36257356)

Author SHA1 Message Date
nico 835862df22
enhance: [skip e2e] update milvus helm repo in nightly test (#31815)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2024-04-07 10:25:16 +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
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
zhuwenxing a6fe96f20a
test: [cherry-pick][2.3] add restful v2 testcase (#31583)
pr: https://github.com/milvus-io/milvus/pull/31404

---------

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2024-03-26 10:49:09 +08:00
sre-ci-robot 2f0fa8488c
[automated] Update Pytest image changes (#31559)
Update Pytest image changes
See changes:
6b9004c728
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-03-25 16:43:08 +08:00
nico 6b9004c728
enhance: update pymilvus version (#31524)
pr: #31529

Signed-off-by: nico <cheng.yuan@zilliz.com>
2024-03-25 10:47:08 +08:00
nico 75a86bc2d3
test: update test cases (#31253)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2024-03-15 15:23:10 +08:00
sre-ci-robot a33751a2d7
[automated] Update Pytest image changes (#31235)
Update Pytest image changes
See changes:
645cc0bdc3
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-03-14 09:59:11 +08:00
nico 645cc0bdc3
test: update test cases (#31161)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2024-03-13 19:05:11 +08:00
sre-ci-robot 5386a2c43e
[automated] Update Pytest image changes (#31108)
Update Pytest image changes
See changes:
005dbf2b24
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-03-13 11:21:19 +08:00
zhuwenxing 542b46fb1e
test: add json and array datatype check in restful v1 (#31096)
pr: https://github.com/milvus-io/milvus/pull/31097

* When the collection is created using an SDK and includes array and
JSON datatypes in the schema, data can be inserted using the RESTful
API.
* When the collection is created using the RESTful API and includes JSON
and array datatypes in dynamic fields, data can also be inserted using
the RESTful API.

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2024-03-07 19:25:01 +08:00
nico 005dbf2b24
enhance: update pymilvus version (#31004)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2024-03-07 15:17:02 +08:00
zhuwenxing 4706da2435
test: fix query expr (#30885)
pr:https://github.com/milvus-io/milvus/pull/30351

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2024-02-29 10:31:08 +08:00
zhuwenxing 0fa147590b
test: fix query result empty (#30821)
fix query result empty
pr:https://github.com/milvus-io/milvus/pull/30351

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2024-02-27 14:06:54 +08:00
chyezh a9625ec1ae
fix: nil ptr is used as nil interface in grpc client (#30755)
issue: #30715
pr: #30754

- Bug: Set nil struct pointer to describe nil interface.
Panic with segment violation when calling method on this nil struct
pointer.

Signed-off-by: chyezh <chyezh@outlook.com>
2024-02-23 10:08:54 +08:00
yihao.dai 20608287b9
fix: Decoupling importing segment from flush process (#30402) (#30439)
This pr decoups importing segment from flush process by:
1. Exclude the importing segment from the flush policy, this approch
avoids notifying the datanode to flush the importing segment, which may
not exist.
2. When RootCoord call Flush, DataCoord directly set the importing
segment state to `Flushed`.

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

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

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2024-02-03 12:59:14 +08:00
sammy.huang d33a37c1dd
enhance: move network mode of container into builder.sh file (#30420)
pr:#30419

Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>
2024-02-01 10:31:04 +08:00
sammy.huang df2dc7617c
enhance: hotfix container network (#30390)
Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>
2024-01-31 09:35:04 +08:00
nico e0beea7fb6
test: update pymilvus version and test cases (#30209)
issue: #17614

Signed-off-by: nico <cheng.yuan@zilliz.com>
2024-01-23 14:40:55 +08:00
zhuwenxing 3ec02826bf
test: [cherry-pick] add restful client test in ci (#30037)
add restful client test in ci

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

---------

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2024-01-17 18:06:53 +08:00
zhagnlu 9f6a19c56c
fix: increase expr recursion depth to avoid parse failed (#29860) (#30021)
pr: #29860

Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
2024-01-16 19:48:38 +08:00
zhuwenxing 58b9b8fdba
test: add more request type checker (#29826)
add more request type checker

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

---------

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2024-01-15 15:16:52 +08:00
cai.zhang 434ac1f6d0
fix: [Pick]Fix error message for indexing (#29906)
issue: #29897 

master pr: #29898

---------

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
2024-01-14 13:30:52 +08:00
zhenshan.cao a689ea3228
feat: Add RBAC functionality to alias (#29885) (#29947)
issue: https://github.com/milvus-io/milvus/issues/29781
issue: https://github.com/milvus-io/milvus-proto/issues/237
pr : https://github.com/milvus-io/milvus/pull/29885

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2024-01-12 23:36:52 +08:00
wayblink e1446da83c
feat: [Cherry-pick] Implement DescribeAlias and ListAliases interfaces (#29896)
#22882
pr: #29641

Signed-off-by: wayblink <anyang.wang@zilliz.com>
2024-01-12 16:30:51 +08:00
sre-ci-robot ef7e4aea43
[automated] Update Pytest image changes (#29865)
Update Pytest image changes
See changes:
b580aef4dc
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-01-12 09:46:58 +08:00
congqixia cd93954214
enhance: [Cherry-pick] pre-allocate result FieldData space to reduce growslice (#29726) (#29866)
Cherry-pick from master
pr: #29726

See also: #29113

Add a new utitliy function in `pkg/util/typetuil` to pre-allocate field
data slice capacity acoording to search limit. This shall avoid copying
the data during `AppendFieldData` when previous slice is out of space.
And shall also save CPU time during high paylog.

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-01-11 17:59:01 +08:00
zhenshan.cao 8c2ca3fb79
feat: Authorize users to query grant info of their roles (#29747) (#29762)
Once a role is granted to a user, the user should automatically possess
the privilege information associated with that role.

issue: #29710
pr: #29747

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2024-01-08 18:06:49 +08:00
zhuwenxing 6bf46c6fac
test: update bulk insert bench test (#29535)
update bulk insert bench test
cherry-pick from master
pr: https://github.com/milvus-io/milvus/pull/29534

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2024-01-03 19:16:55 +08:00
nico b07dbea7fb
enhance: update pymilvus version (#29600)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2024-01-03 15:30:48 +08:00
nico 60a90463d0
test: update test cases (#29416)
issue: #27518 #29274
pr: #29383

Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-23 15:46:42 +08:00
sre-ci-robot 2227cad047
[automated] Update Pytest image changes (#29333)
Update Pytest image changes
See changes:
f1ed04bee7
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>
2023-12-20 19:52:42 +08:00
zhuwenxing 40ad5d714a
test: [skip e2e] [cherry-pick]fix getting hotfix image tag (#29350)
By adding conjunctions, you can obtain more accurate results.

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

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-12-20 17:12:41 +08:00
zhuwenxing d9a9eefa49
test: add bulk insert benchmark for different file size (#29329)
add bulk insert benchmark for different file size

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

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-12-20 14:38:40 +08:00
nico f1ed04bee7
enhance: update pymilvus version and test case (#29294)
pr: #29267

Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-20 09:26:49 +08:00
zhuwenxing 08877e56f7
test: fix gen array field (#29247)
fix gen array field

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-12-18 11:30:46 +08:00
zhuwenxing 368a0cd55d
test: add more request type checker for test (#29211)
add more request type checker for test
pr: https://github.com/milvus-io/milvus/pull/29210

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-12-14 19:38:45 +08:00
zhuwenxing 6bf32d2f2b
test:add array data type and parquet file type for bulk insert case (#28990)
pr: https://github.com/milvus-io/milvus/pull/29030

add array data type and parquet file type for bulk insert test case

---------

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-12-14 19:36:39 +08:00
nico 30ec598a08
test: modify cases for the update of IVF_FLAT (#29069)
pr: #27179

Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-12 11:48:36 +08:00
MrPresent-Han 5f4ac437b2
enhance: [Cherry-pick] Moving etcd client into session (#27069) (#28996)
relate: #26694
pr: https://github.com/milvus-io/milvus/pull/27069

Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>
Signed-off-by: MrPresent-Han <chun.han@zilliz.com>
Co-authored-by: Filip Haltmayer <81822489+filip-halt@users.noreply.github.com>
2023-12-07 16:22:34 +08:00
cqy123456 8fd38c8eea
enhance:[cherry-pick] Use binlog index for better search performance (#29012)
this pr is cherry-pick from master:
pr: https://github.com/milvus-io/milvus/pull/28528
pr: https://github.com/milvus-io/milvus/pull/27673
related issue:
issue: https://github.com/milvus-io/milvus/issues/27678

Signed-off-by: cqy123456 <qianya.cheng@zilliz.com>
2023-12-07 09:52:34 +08:00
yihao.dai 51614073ec
enhance: Update pymilvus (#28922) (#28991)
issue: https://github.com/milvus-io/milvus/issues/17614

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

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2023-12-06 11:56:34 +08:00
nico 609800a5b7
test: modify test cases for error msg update(2.3) (#28849)
pr: #28846
issue: #23075

Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-04 11:20:47 +08:00
nico a3aceb97a4
test: update test cases and pymilvus version (#28746)
pr: #28706

Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-29 10:28:29 +08:00
groot ecfa0a9b10
test: Unskip a bulkinsert test case (#28780)
Unskip a bulkinsert test case which is skipped by #28209

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

Signed-off-by: yhmo <yihua.mo@zilliz.com>
2023-11-28 13:00:27 +08:00
groot d20328bc05
test: Avoid unstable case of bulkinsert (#28757)
test: There are too many test cases for bulkinsert+partition_key. Each
case creates 10 bulkinsert tasks to import a file with 100~200 rows. The
default num_partitions is 64 for partition_key. So, each task will
generate 64 tiny segments. There are 10 cases, each case 10 tasks, each
task 64 tiny segment, totally there are 6400 tiny segments generated.
And all these segment row count is less than 1024, no need to build
index, and take part in compaction. There will be lots of compaction
tasks generated. It costs too much time to process these compaction
tasks. Eventually, some cases are timeout after waiting 5 minutes for
their segments to be ready and cases fail.

Specifying the num_partitions to a small value can avoid this problem.

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

```
[2023-11-21T03:41:16.187Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_json_file[int_scalar-True-True] PASSED [ 54%]
[2023-11-21T03:41:42.796Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_json_file[int_scalar-False-True] PASSED [ 57%]
[2023-11-21T03:42:04.694Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_json_file[string_scalar-True-True] PASSED [ 60%]
[2023-11-21T03:42:31.205Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_json_file[string_scalar-False-True] PASSED [ 63%]
[2023-11-21T03:43:38.876Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_multi_numpy_files[10-150-13-True] XPASS [ 66%]
[2023-11-21T03:49:00.357Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_multi_numpy_files[10-150-13-False] XFAIL [ 69%]
[2023-11-21T03:53:51.811Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_csv_file[int_scalar-True] FAILED [ 72%]
[2023-11-21T03:58:58.283Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_csv_file[int_scalar-False] FAILED [ 75%]
[2023-11-21T04:02:04.696Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_csv_file[string_scalar-True] PASSED [ 78%]
[2023-11-21T04:02:26.608Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_csv_file[string_scalar-False] PASSED [ 81%]
```

Signed-off-by: yhmo <yihua.mo@zilliz.com>
2023-11-28 10:34:31 +08:00
yah01 5ca7851f4a
enhance: refine error messages (#28424) (#28614)
- Split the simple reason and full detail
- Refine existing error messages related: #28422
related: https://github.com/milvus-io/milvus/issues/28422
pr: #28424

---------

Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-11-24 10:04:24 +08:00
zhuwenxing 558e301236
test:skip a bulk insert testcase temporarily (#28621)
skip a bulk insert test case temporarily.
It is a known issue but needs more time to solve. skip the test case is
for not blocking other PR

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-11-21 19:12:22 +08:00
PowderLi 92e5f96064
fix: symbol 'GetStorageMetrics' and 'enableDynamicField' (#28581)
issue: #28579 #28504
pr: #28580

1. replace enableDynamic with enableDynamicField
2. cgo directly link to milvus_storage

Signed-off-by: PowderLi <min.li@zilliz.com>
2023-11-21 15:30:23 +08:00
ThreadDao d582193772
Add test cases for L0 delete (#28382)
- test delete records in delta logs, WAL, L0 segment

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2023-11-14 10:26:24 +08:00