-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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: Assert insert data length not overflow int #33248
enhance: Assert insert data length not overflow int #33248
Conversation
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>
[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 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #33248 +/- ##
==========================================
+ Coverage 82.19% 82.22% +0.03%
==========================================
Files 1009 1000 -9
Lines 128849 129071 +222
==========================================
+ Hits 105901 106126 +225
Misses 18951 18951
+ Partials 3997 3994 -3
|
/lgtm |
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>
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.