Aiven-Open / Aiven-Open/rohmu

md5 reported in list_path is wrong for files on S3 uploaded as multipart

未關閉
#105 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
22
分支
16
平均合併
2 天 19 小時
30 天內合併 PR
4

描述

# What happened?

rohmu assumes the Etag reported by S3 listObjectV2 is an MD5, this is false if the
file was uploaded as multipart, or for some cases of server side encryption:

https://docs.aws.amazon.com/AmazonS3/latest/API/API_Object.html#AmazonS3-Type-Object-ETag

https://github.com/aiven/rohmu/blob/8ae24adf491f26b676ed1ae0339aaa2dd87d96ae/rohmu/object_storage/s3.py#L248

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。