mirror of
https://github.com/nspcc-dev/neofs-api.git
synced 2026-03-01 04:28:54 +00:00
MD5 hash #128
Labels
No labels
I0
I1
I2
I3
I4
S0
S1
S2
S3
S3
S4
U2
U3
U4
bug
discussion
discussion
documentation
enhancement
enhancement
enhancement
feature
good first issue
question
task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-api#128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @roman-khimov on GitHub (Jun 25, 2025).
Is your feature request related to a problem? Please describe.
I'm always frustrated when I look at https://github.com/nspcc-dev/neofs-s3-gw/issues/1053.
Describe the solution you'd like
I see no other way to solve it but to add yet another hash field to NeoFS objects (https://github.com/nspcc-dev/neofs-s3-gw/issues/1053#issuecomment-2907792818). Yeah, that's MD5. In 2025.
Describe alternatives you've considered
Unknown.
@roman-khimov commented on GitHub (Jul 15, 2025):
Consider https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html here as well. While technically we can add five more fields to the object structure this would obviously make it a bloody mess of hashes and impact metabase as well. Instead we can consider either:
aux_hashesfield with an array of hashes (and deprecatehomomorphic_hash? after #339 it's not very useful); container attributes can then regulate which hashes are calculated and stored__NEOFS__AUX_HASHESuser-defined attribute (and using internal S3 slicer) that would allowed to be different for first and last object parent (big) headers, functionally similar to the above one, but application-specificThis would make it impossible to search for something with a particular aux hash, but practically sha256 index from the respective field should be sufficient.
Other ideas are welcome.