Skip to content

Instantly share code, notes, and snippets.

@oxidizeddreams
Last active September 16, 2018 17:10
Show Gist options
  • Save oxidizeddreams/a7ca4145f02bbf96164339cd508e6af6 to your computer and use it in GitHub Desktop.
Save oxidizeddreams/a7ca4145f02bbf96164339cd508e6af6 to your computer and use it in GitHub Desktop.
aws_s3 info
# s3 object checksum for multi-part uploads
The multipart ETag is actually a single-level Merkle tree hash of part hashes concatenated with the number of parts, e.g., ffffffffffffffffffffffffffffffff-31.
If you used a known part size and if s3fs exposed the ETag, you could actually calculate this in your application.
However this should not be needed; most S3 storage systems scrub data behind the scenes and proactively repair it based on ETag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment