-
Notifications
You must be signed in to change notification settings - Fork 253
CLDSRV-863: Checksums for PutObject and UploadPart #6112
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
Open
leif-scality
wants to merge
11
commits into
development/9.4
Choose a base branch
from
improvement/CLDSRV-863-checksums-put-object-part
base: development/9.4
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,548
−181
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
4838bb0
CLDSRV-863: bump arsenal to 8.3.6
leif-scality 464f12d
CLDSRV-863: handle NoSuchKey error in isCompleteMPUInProgress
leif-scality 1a79ded
CLDSRV-863: emit trailer in TrailingChecksumTransform
leif-scality c406924
CLDSRV-863: handle trailer headers and add new trailer errors
leif-scality fd0af1c
CLDSRV-863: add ChecksumTransform to calculate and verify stream chec…
leif-scality 0a2dc4f
CLDSRV-863: pipe requests to ChecksumTransform and validate checksum …
leif-scality dade07b
CLDSRV-863: PutObject/UploadPart checksum service tests
leif-scality 65aa501
CLDSRV-863: add test prefix start with should claude skill criteria
leif-scality 5a1ca48
fixup! CLDSRV-863: PutObject/UploadPart checksum service tests
leif-scality 22c656c
CLDSRV-863: Update TrailingChecksumTransform to use an FSM
leif-scality d842734
fixup! CLDSRV-863: add ChecksumTransform to calculate and verify stre…
leif-scality File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Nitpick suggestion for clarity:
const checksumHeader = checksumHeaders[0];if (checksumHeader)and use it directly, instead of checking the count and usingchecksumHeaders[0]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.
I know indexing an empty array does not throw in JS, but I don't feel comfortable doing it
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.
You can do:
My point was more about using a separate variable since we have zero or one checksum, it clarifies the logic.