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]Assert insert data length not overflow int (#33248) #33271

Merged
merged 1 commit into from
May 22, 2024

Conversation

congqixia
Copy link
Contributor

@congqixia congqixia commented May 22, 2024

Cherry-pick from master
pr: #33248
When InsertData is too large for cpp proto unmarshalling, the error message is confusing since the length is overflowed

This PR adds assertion for insert data length.

When InsertData is too large for cpp proto unmarshalling, the error
message is confusing since the length is overflowed

This PR adds assertion for insert data length.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@congqixia congqixia changed the title enhance: Assert insert data length not overflow int (#33248) enhance: [2.4]Assert insert data length not overflow int (#33248) May 22, 2024
@sre-ci-robot sre-ci-robot added approved size/XS Denotes a PR that changes 0-9 lines. labels May 22, 2024
Copy link
Contributor

mergify bot commented May 22, 2024

@congqixia Please associate the related pr of master to the body of your Pull Request. (eg. “pr: #”)

@mergify mergify bot added kind/enhancement Issues or changes related to enhancement and removed do-not-merge/missing-related-pr labels May 22, 2024
Copy link

codecov bot commented May 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.17%. Comparing base (e5ca1f7) to head (752e6cd).
Report is 1 commits behind head on 2.4.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.4   #33271      +/-   ##
==========================================
+ Coverage   81.80%   82.17%   +0.37%     
==========================================
  Files        1005      996       -9     
  Lines      128077   128293     +216     
==========================================
+ Hits       104768   105424     +656     
+ Misses      19330    18894     -436     
+ Partials     3979     3975       -4     
Files Coverage Δ
internal/core/src/segcore/segment_c.cpp 57.89% <100.00%> (+0.10%) ⬆️

... and 225 files with indirect coverage changes

@mergify mergify bot added the ci-passed label May 22, 2024
@XuanYang-cn
Copy link
Contributor

/lgtm
/approve

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia, XuanYang-cn

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 merged commit 3c31499 into milvus-io:2.4 May 22, 2024
15 checks passed
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/XS Denotes a PR that changes 0-9 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants