Commit Graph

2644 Commits

Author SHA1 Message Date
nico
ba0e980db9
test: add test cases (#29924)
issue: #28499

Signed-off-by: nico <cheng.yuan@zilliz.com>
2024-01-19 20:58:53 +08:00
smellthemoon
e52ce370b6
enhance:don't store logPath in meta to reduce memory (#28873)
don't store logPath in meta to reduce memory, when service get
segmentinfo, generate logpath from logid.
#28885

Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2024-01-18 22:06:31 +08:00
zhuwenxing
c91254f762
test: update pyarrow version (#29992)
fix vulnerability alerts

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2024-01-18 17:56:54 +08:00
congqixia
9f8eb0e527
enhance: make integration test case timeout configurable (#30073)
currently integration test may timeout if any case run time is above 3
minutes. This duration was hard coded.

This PR change this duration into a customized parameter and could be
passed via test running commands.

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-01-18 12:22:54 +08:00
yanliang567
c1b0562d21
enhance: Add a group by case (#29939)
Related issue: #29883 
xfail for now.

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2024-01-13 01:06:51 +08:00
cai.zhang
8c89ad694e
fix: Fix error message for indexing (#29898)
issue: #29897

---------

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
2024-01-12 19:44:51 +08:00
zhenshan.cao
a442194abc
feat: Add RBAC functionality to alias (#29885)
issue: https://github.com/milvus-io/milvus/issues/29781
issue: https://github.com/milvus-io/milvus-proto/issues/237

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2024-01-12 15:26:50 +08:00
sammy.huang
d3dd2a2032
enhance: correct nightly e2e (#29919)
Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>
2024-01-12 14:42:52 +08:00
sre-ci-robot
0d395913b8
[automated] Update Pytest image changes (#29895)
Update Pytest image changes
See changes:
930735c46c
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
elstic
315d49261a
test: remove xfail from case (#29853)
pr: https://github.com/milvus-io/milvus/pull/29634 

After verifying that the problem is fixed, it is necessary to run this
case every night for regression.

Signed-off-by: elstic <hao.wang@zilliz.com>
2024-01-12 09:45:05 +08:00
nico
930735c46c
enhance: update pymilvus version and test cases (#29882)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2024-01-11 19:20:57 +08:00
wayblink
1df3f90696
feat: Implement DescribeAlias and ListAliases interfaces (#29641)
#22882
/kind feature

Signed-off-by: wayblink <anyang.wang@zilliz.com>
2024-01-11 19:12:51 +08:00
sammy.huang
27992e12dc
enhance: add standalone mode for nightly ci (#29884)
Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>
2024-01-11 18:06:50 +08:00
zhagnlu
673f980216
fix: Add multi logical exprs case (#29871)
https://github.com/milvus-io/milvus/issues/29759

Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
2024-01-11 16:22:49 +08:00
Xu Tong
e429965f32
Add float16 approve for multi-type part (#28427)
issue:https://github.com/milvus-io/milvus/issues/22837

Add bfloat16 vector, add the index part of float16 vector.

Signed-off-by: Writer-X <1256866856@qq.com>
2024-01-11 15:48:51 +08:00
yihao.dai
a4f15f4f43
enhance: Simplify cross cluster routing integration test (#29873)
This pull request simplifies the integration test for cross-cluster
routing by reusing `integration.MiniClusterSuite`, instead of defining
custom Milvus clients, servers, and etcd client.

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

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2024-01-11 14:00:52 +08:00
binbin
f679266663
test: Add hybrid search test cases-collection part (#29800)
issue: #29799

Signed-off-by: binbin lv <binbin.lv@zilliz.com>
2024-01-09 19:14:49 +08:00
congqixia
8a6e1a4b27
enhance: pre-allocate result FieldData space to reduce copy & growslice (#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-09 15:48:55 +08:00
congqixia
a903ae641b
fix: create new HybridSearch request in case of data race (#29771)
Resolves: #29770

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-01-09 09:54:48 +08:00
xige-16
9702cef2b5
feat: Support multiple vector search (#29433)
issue #25639 

Signed-off-by: xige-16 <xi.ge@zilliz.com>

Signed-off-by: xige-16 <xi.ge@zilliz.com>
2024-01-08 15:34:48 +08:00
zhenshan.cao
7e6f73a12d
feat: Authorize users to query grant info of their roles (#29747)
Once a role is granted to a user, the user should automatically possess
the privilege information associated with that role.

issue: #29710

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2024-01-08 15:10:49 +08:00
nico
9db8521eb4
enhance: update pymilvus version (#29669)
Update pymilvus version: #17614

Signed-off-by: nico <cheng.yuan@zilliz.com>
2024-01-04 17:08:45 +08:00
elstic
77ca374d6f
test:add xfail for test case (#29634)
pr: https://github.com/milvus-io/milvus/pull/29599

Signed-off-by: elstic <hao.wang@zilliz.com>
2024-01-03 19:22:50 +08:00
zhuwenxing
fdbef35745
test: update bulk insert bench test (#29534)
update bulk insert bench test

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2024-01-03 19:16:55 +08:00
zhuwenxing
72c81c8ae4
test: add multi-tenancy checker (#29635)
add multi-tenancy checker

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2024-01-03 15:20:49 +08:00
elstic
0db6b26842
test: add query expr test for larger int (#29599)
issue: https://github.com/milvus-io/milvus/issues/29570 
add query expr test for larger int

Signed-off-by: elstic <hao.wang@zilliz.com>
2024-01-02 14:22:47 +08:00
yiwangdr
984e7bba9b
test: Fixing integration test cross_cluster_routing_test (#29508)
Memory management is broken due caused by chunkmanager not getting
cleaned up.

Fixing the following error:
```
SIGSEGV: segmentation violation
PC=0x10fc4aa0c m=6 sigcode=2
```

relate: https://github.com/milvus-io/milvus/issues/29507

Signed-off-by: yiwangdr <yiwangdr@gmail.com>
2023-12-31 17:26:47 +08:00
xige-16
0a70e8b601
enhance: Remove multiple vector field limit (#27827)
issue: https://github.com/milvus-io/milvus/issues/25639

/kind improvement
Signed-off-by: xige-16 <xi.ge@zilliz.com>

Signed-off-by: xige-16 <xi.ge@zilliz.com>
2023-12-28 16:40:46 +08:00
nico
e75467dbf7
test: modify test cases (#29383)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-22 09:58:43 +08:00
nico
2f434130f0
enhance: update pymilvus api (#29362)
issue: #17614
update some new api: load_state, num_shards, get_server_type
remove some old api: collection.create_alias, drop_alias

Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-22 09:46:43 +08:00
zhuwenxing
1b5ac82c6b
test: [skip e2e] fix getting wrong image tag by short name (#29347)
By adding conjunctions, you can obtain more accurate results.

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

---------

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-12-20 09:26:49 +08:00
nico
4eddcc2113
enhance: update pymilvus version (#29293)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-19 09:00:42 +08:00
nico
95ada1b679
test: update test cases (#29267)
issue: #29227

Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-18 19:28:42 +08:00
aoiasd
011a9cee79
test: remove outdated e2e test case beacause disknn support search with search list num large than 200 or 65535 (#28949)
relate: https://github.com/milvus-io/milvus/issues/28745

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-12-18 19:26:52 +08:00
zhuwenxing
438f39e268
test: fix gen array field (#29233)
fix gen array field

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-12-18 11:30:46 +08:00
nico
1f1a8b7770
enhance: modify test cases for error msg update (#29136)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-15 17:28:42 +08:00
zhuwenxing
6efb7afd3f
test: add more request type checker for test (#29210)
add more request type checker for test
* partition 
* database
* upsert

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-12-14 19:38:45 +08:00
zhuwenxing
b348827102
test: add array data type and parquet file type for bulk insert case (#29030)
add array data type and parquet file type for the bulk insert case

---------

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-12-13 19:56:38 +08:00
nico
a1d6f02121
test: modify some cases for error msg update (#29022)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-13 08:54:40 +08:00
sre-ci-robot
91e92ee8d4
[automated] Update Pytest image changes (#28938)
Update Pytest image changes
See changes:
8740adbe28
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-05 10:06:35 +08:00
yihao.dai
9723e16058
enhance: Update pymilvus (#28922)
issue: https://github.com/milvus-io/milvus/issues/17614

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2023-12-04 15:36:35 +08:00
nico
cbd3b3c836
test: modify test cases for error msg update (#28846)
#23075

Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-04 11:22:37 +08:00
nico
8740adbe28
test: update pymilvus version (#28832)
#17614

Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-04 11:20:47 +08:00
sre-ci-robot
d10c5af7aa
[automated] Update Pytest image changes (#28751)
Update Pytest image changes
See changes:
8fe2fb3eb9
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-11-29 12:56:27 +08:00
nico
845851ea1c
test: add test cases (#28541)
1. modify test cases about output a non-existed field. issue: #28465
2. add cases about creating collection using different language
3. add test case about inserting a string value to a pk(int64) field
4. add test case about search with expression using double quotes.
issue: #28365

Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-29 10:48:26 +08:00
nico
92b48c5384
test: add range search iterator back (#28659)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-29 10:30:28 +08:00
nico
4d53980456
test: modify test cases (#28800)
1. Drop a non-existing partition will not raise error now. #28722
2. Search will not raise error now when some row has less elements than
expression index. #28293

Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-29 10:26:26 +08:00
cai.zhang
1b7a503f89
enhance: Revert import support csv format (#28760)
Revert import support csv format.
issue: #28778

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
2023-11-28 14:32:27 +08:00
groot
9c9ab08f54
test: Avoid unstable case of bulkinsert (#28679)
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.

```
[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