Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance: [2.4] Add try-catch and return CStatus for NewCollection (#39279) #39306

Merged
merged 3 commits into from
Jan 16, 2025

Conversation

congqixia
Copy link
Contributor

Cherry-pick from master
pr: #39279
Related to #28795

@sre-ci-robot sre-ci-robot added size/M Denotes a PR that changes 30-99 lines. approved labels Jan 15, 2025
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Jan 15, 2025
Copy link
Contributor

mergify bot commented Jan 15, 2025

@congqixia E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

Related to previous pr milvus-io#39279

When NewCollection returns nil, the error shall be returned and handled
by caller

Signed-off-by: Congqi Xia <[email protected]>
@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot added size/L Denotes a PR that changes 100-499 lines. and removed size/M Denotes a PR that changes 30-99 lines. labels Jan 15, 2025
Copy link
Contributor

mergify bot commented Jan 15, 2025

@congqixia E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

Copy link

codecov bot commented Jan 15, 2025

Codecov Report

Attention: Patch coverage is 62.74510% with 19 lines in your changes missing coverage. Please review.

Project coverage is 80.44%. Comparing base (995d5e1) to head (c94c6c1).
Report is 4 commits behind head on 2.4.

Files with missing lines Patch % Lines
internal/core/src/segcore/collection_c.cpp 33.33% 12 Missing ⚠️
internal/querynodev2/segments/collection.go 69.56% 6 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##              2.4   #39306   +/-   ##
=======================================
  Coverage   80.44%   80.44%           
=======================================
  Files        1079     1079           
  Lines      169909   169917    +8     
=======================================
+ Hits       136678   136692   +14     
+ Misses      28730    28724    -6     
  Partials     4501     4501           
Files with missing lines Coverage Δ
internal/querynodev2/services.go 86.90% <100.00%> (+0.31%) ⬆️
internal/querynodev2/segments/collection.go 86.66% <69.56%> (-1.22%) ⬇️
internal/core/src/segcore/collection_c.cpp 50.00% <33.33%> (-18.75%) ⬇️

... and 29 files with indirect coverage changes

@congqixia
Copy link
Contributor Author

/run-cpu-e2e

@mergify mergify bot added the ci-passed label Jan 16, 2025
@tedxu
Copy link
Contributor

tedxu commented Jan 16, 2025

/lgtm

@sre-ci-robot sre-ci-robot merged commit 622af57 into milvus-io:2.4 Jan 16, 2025
14 of 15 checks passed
@congqixia congqixia deleted the cp24/39279 branch January 16, 2025 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved ci-passed dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement lgtm size/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants