CLDSRV-872: store checksum in object metadata#6114
Conversation
Hello leif-scality,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Incorrect fix versionThe
Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:
Please check the |
Codecov Report❌ Patch coverage is
Additional details and impacted files
... and 2 files with indirect coverage changes @@ Coverage Diff @@
## development/9.4 #6114 +/- ##
===================================================
+ Coverage 84.69% 84.76% +0.07%
===================================================
Files 207 207
Lines 13543 13569 +26
===================================================
+ Hits 11470 11502 +32
+ Misses 2073 2067 -6
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Review by Claude Code |
5d6c434 to
1b5a063
Compare
|
Review summary: (1) Arsenal dependency pinned to a branch instead of a tag - must update to a released tag. (2) checkHashMatchMD5 JSDoc missing the new checksumStream parameter. (3) dataStore callback returns a 4th checksum arg but objectPutPart and routeBackbeat callers ignore it. -- Review by Claude Code |
1b5a063 to
b80b2ad
Compare
|
|
|
Review by Claude Code |
Review by Claude Code |
Review by Claude Code |
a284c9f to
dade07b
Compare
180d940 to
7d130cc
Compare
| assert.strictEqual(res.headers['x-amz-checksum-crc64nvme'], crc64nvmeOfTestContent2, | ||
| `expected x-amz-checksum-crc64nvme: ${crc64nvmeOfTestContent2}`); | ||
| } | ||
| done(); |
There was a problem hiding this comment.
Should we fail this test if the checksum header is absent?
There was a problem hiding this comment.
UploadPart now return the checksum of the part, so I removed the condition and always require a checksum
| crc32c: 'AAAAAA==', | ||
| sha1: '2jmj7l5rSw0yVb/vlWAYkK/YBwk=', | ||
| sha256: '47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=', | ||
| crc64nvme: null, // filled in before hook (async) |
There was a problem hiding this comment.
nit: Not sure why we're not writing this one down as well
1167cf2 to
71a178e
Compare
8e51413 to
b78f50e
Compare
|
b78f50e to
fea5f58
Compare
| }); | ||
| }); | ||
|
|
||
| const checksumAlgos = [ |
There was a problem hiding this comment.
Test names using it() should start with "should" per project conventions. For example: "should return x-amz-checksum-... response header with correct value". This applies to several new it()/itSkipIfAWS() tests in this file (lines 761, 774, 793, 813, 820, etc.).
— Claude Code
|
fea5f58 to
8f9c848
Compare
|
LGTM |
|
ping |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
|
/approve |
|
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue CLDSRV-872. Goodbye leif-scality. The following options are set: approve |
Uh oh!
There was an error while loading. Please reload this page.