-
Notifications
You must be signed in to change notification settings - Fork 433
fix(storage): Add start appendable condition for bypassing full object checksum #15786
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
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15786 +/- ##
=======================================
Coverage 92.94% 92.95%
=======================================
Files 2454 2454
Lines 226878 226922 +44
=======================================
+ Hits 210879 210929 +50
+ Misses 15999 15993 -6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/gemini review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request addresses a checksum mismatch error occurring during appendable uploads. The fix involves adding a condition to correctly identify appendable uploads when finalizing a write, ensuring that the full object checksum is bypassed as it's not available for these types of objects. The change is logical and directly addresses the described problem. I have one minor suggestion to improve code readability.
bajajneha27
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Can we please add a testcase too?
We are getting checksum mismatch error for few of the appendable uploads, this condition was missing. We need to add this condition since full object checksum is not available for fastbyte objects.
