18353 Commits

Author SHA1 Message Date
wei liu
c7ec882033
enhance: Remove rpc during querycoord start (#28396) (#28604)
issue: #28332
pr: #28396

during querycoord's recover, it try to call `DescribeCollection` and
`ShowPartitions` to root coord, to checker whether collection or
partition has been released in rootcoord. but if rootcoord isn't not
ready yet, the rpc will fail, the querycoord panic.

to fix this, we remove rpc call during querycoord's start

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-11-21 18:08:29 +08:00
smellthemoon
d724b07037
enhance: Use single instance for mergedTimeTickerSender (#27730) (#28546)
use single instance for mergedTimeTickerSender
issue: https://github.com/milvus-io/milvus/issues/24826
pr: https://github.com/milvus-io/milvus/pull/27730

Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-11-21 16:04:23 +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
PowderLi
1383680b3a
add internal storage metrics (#28279)
/kind improvement
issue: #28277

pr: #28278

Signed-off-by: PowderLi <min.li@zilliz.com>
2023-11-19 17:22:25 +08:00
PowderLi
4a46ae7a8a
Improve HTTP server include metrics and RESTful API (#28210)
/kind improvement
issue: #27653

pr: #28045

Signed-off-by: PowderLi <min.li@zilliz.com>
2023-11-19 17:16:21 +08:00
congqixia
484131a550
fix: [cherry-pick] protect EventDispatcher map with mutex (#28540) (#28555)
Add mutex protection for `EventDispatcher.registry` map 
Fix #28538
pr: #28540 #28552
Also add unit test case for all methods for EventDispatcher

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-11-19 12:56:20 +08:00
yah01
2073a0a76a
enhance: reduce 1x copy for variable length field while retrieving (#28345) (#28531)
- Reduce 1x copy for varchar/string/JSON/array types while retrieving
- Reduce 1x copy for int8/int16 while retrieving
fix #28530
pr: #28345

Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-11-17 20:48:21 +08:00
yah01
1743f581e6
enhance: reduce 1x copy while retrieving data from growing segment (#28323) (#28475)
We first fill the data into a vector and then copy it into the proto,
for some types (exclude variable-length types and int8, int16),
data could be directly copied into the proto.

Sealed segment has been optimized in
https://github.com/milvus-io/milvus/pull/28106.

pr: #28323

Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-11-17 14:40:26 +08:00
congqixia
d0f94f3d17
fix: make qcv2 observer dispatcher execute exactly once (#28472) (#28477)
Cherry-pick from master
pr: #28472
See also #28466

In `taskDispatcher.schedule`, same task may be resubmitted if the
previous round did not finish
In this case, TaskObserver.check may set current target by mistake,
which may cause the random search/query failure

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-11-17 01:34:21 +08:00
Enwei Jiao
9997eeb4bb
fix: Fix rocksdb compile failed (#28486)
pr: #28484
/kind improvement

Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-11-16 16:38:20 +08:00
yah01
21d995b1d3
enhance: improve the compile speed (#28444) (#28464)
improve the CI compile speed with mold
pr: #28444

Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-11-15 23:32:21 +08:00
KumaJie
cbd3e100b8
[cherry-pick]Add CSV file import function (#28161)
issue: #27148

from pr: #27149

Signed-off-by: kuma <675613722@qq.com>
Co-authored-by: kuma <675613722@qq.com>
2023-11-15 18:32:20 +08:00
yah01
6820124366
enhance: remove legacy error related code (#28385) (#28415)
/kind improvement
pr: #28385

Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-11-15 17:24:21 +08:00
SimFG
cb8e10b48b
[2.3]: Hide the password info when failing to authorize (#28437)
/kind improvement
pr: #28428

Signed-off-by: SimFG <bang.fu@zilliz.com>
2023-11-15 14:40:26 +08:00
Bennu
600461bef6
[skip e2e] update etcd health check for 2.3 branch (#28443)
pr: #27980

Signed-off-by: Bennu-Li <yunmei.li@zilliz.com>
2023-11-15 11:54:18 +08:00
yah01
c92e6b654f
Reduce 1x memory copy for retrieving data (#28106) (#28217)
/kind improvement
Before this, while retrieving data (query/search), we first copy the
data into a fixed vector, and then copy data from this into the proto
field.
Now we can directly copy the data into the proto field.

This optimization can't be done with int8, int16 due to the proto
doesn't provide the two types, we store them in int32s

Also, this can't be done with variable length field like string, JSON,
see https://github.com/protocolbuffers/protobuf/issues/10866. I tried
but it seems proto doesn't guarantee the memory layout as we expected,
it crashed
pr: #28106

Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-11-15 10:50:20 +08:00
yah01
e36976c474
enhance: modify log to avoid ambiguity and improve readability (#28331) (#28414)
Remove the "failCount" log field, which is ambiguous
replace the status (int32) with string, to improve the readability for
log of task removed
pr: #28331

Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-11-15 10:26:19 +08:00
congqixia
e28efc2d34
[2.3] Fix MQ Factory timeout unit test (#28395) (#28431)
Cherry-pick from master
pr: #29395
This PR change timeout case to a longer duration in case of slow runner 
Also change timeout case behavior of using timeout deadline instead of
waiting
See also #28394

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-11-15 10:10:19 +08:00
congqixia
fce0284881
[2.3] Refine datanode Timetick Sender (#28393) (#28430)
cherry pick from master
pr: #28393
- Use explicit lifetime control methods: `Start` and `Stop`
- Allow control retry option
- Make sure tt sender worker exit after `Stop` return

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-11-15 10:08:26 +08:00
groot
9732ae18be
Update bitset lib to v1.10.0 (#28412)
issue: #27939 
pr: #27984

Signed-off-by: yhmo <yihua.mo@zilliz.com>
2023-11-14 17:40:18 +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
aoiasd
2d4659fe4a
Add write cache for access log (#27792) (#28142)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-11-13 15:08:18 +08:00
zhuwenxing
c7fe443b93
[test]Remove xfail for a bulk insert testcase (#28283)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-11-13 11:48:18 +08:00
nico
9451720a31
update test cases for 2.3 branch (#28335)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-13 09:34:20 +08:00
sre-ci-robot
2ae60d72f8
Update Pytest image changes (#28321)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-13 09:32:30 +08:00
sre-ci-robot
f414b84ad2
Bump milvus version to v2.3.3 (#28352)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-10 20:26:21 +08:00
wei liu
f2e972abb3
Fix external grpc server doesn't graceful stop (#28310)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
v2.3.3
2023-11-09 22:12:22 +08:00
cai.zhang
c8cab4dfc3
No hit when the index exceeds the array length (#28302)
Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
2023-11-09 22:10:32 +08:00
congqixia
83b7f05fe1
Sync proto generated files to avoid --dirty tag (#28316)
The proto generated files is out of sync for image build env
This will cause --dirty="-dev" tag in Milvus build version
Sync changed files to avoid this case

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-11-09 21:22:21 +08:00
yah01
0497bbf05d
Handle exception while loading (#28306)
Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-11-09 19:28:35 +08:00
nico
4d95a7368d
update pymilvus version (#28299)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-09 19:04:22 +08:00
congqixia
44063be0a6
Fix buffer FieldData has no ElementType and array logsize always zero (#28296)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-11-09 14:22:36 +08:00
wei liu
fe7c87592c
Fix auto balance block channel reassign after datanode restart (#28276)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-11-09 13:52:19 +08:00
wei liu
16dc26833b
Fix retry when proxy stopped (#28263)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-11-09 10:10:19 +08:00
PowderLi
39c24fe07b
print azure sdk log (#28241)
Signed-off-by: PowderLi <min.li@zilliz.com>
2023-11-09 10:08:20 +08:00
wei liu
d3f149c403
fix unstable auto balance config ut (#28289)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-11-09 10:02:19 +08:00
yah01
e51ceaae3a
Not convert legacy error code to new merr (#28232) (#28274)
Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-11-08 19:18:20 +08:00
congqixia
7774d3545b
Bump Milvus & milvus-proto version to v2.3.3 (#28268)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-11-08 19:08:27 +08:00
yah01
385507ce47
Fix the target updated before version updated to cause data missing (#28257)
Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-11-08 18:54:18 +08:00
wei liu
12a09231f1
fix datacoord unstable ut (#28282)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-11-08 18:44:58 +08:00
jaime
618c58db4e
Fix delete session key with prefix (#28267)
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-11-08 17:04:22 +08:00
zhagnlu
99350b1be4
Force set aliyun use_virtual_host to true for all (#28237)
Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
2023-11-08 11:10:21 +08:00
foxspy
1944e955cb
publish cardinal for milvus 2.3.3 (#28254)
Signed-off-by: xianliang <xianliang.li@zilliz.com>
2023-11-08 10:56:20 +08:00
groot
29e66ed46b
Fix bulkinsert bug that segments are compacted after import (#28227)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2023-11-08 10:18:20 +08:00
Gao
cc3dd6eda4
Set Knowhere version to v2.2.2 (#28252)
Signed-off-by: chasingegg <chao.gao@zilliz.com>
2023-11-08 08:46:19 +08:00
wei liu
918333817e
Disable auto balance when old node exists (#28191) (#28224)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-11-08 07:10:17 +08:00
wei liu
d76c744646
Fix proxy not healthy before graceful stop (#28255)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-11-08 02:22:26 +08:00
SimFG
598788e6b8
Delay the cancellation of ctx when stopping the node (#28249)
Signed-off-by: SimFG <bang.fu@zilliz.com>
2023-11-08 01:46:20 +08:00
cai.zhang
19230db7f5
Fix bug for constructing ArrayView with fixed-length type (#28186)
Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
2023-11-07 23:36:21 +08:00
cai.zhang
304f232a02
Fix bug for setting index state when indexnode connecting failed (#28221)
Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
2023-11-07 23:34:26 +08:00