在亚马逊S3 ETAG定义改变亚马逊、定义、ETAG

2023-09-11 08:11:15 作者:有关于孤独的,伤感孤单的名字

我使用Amazon S3的一点点备份一段时间。通常情况下,当我上传的文件我检查MD5校验和匹配,以确保我已经有了一个良好的备份。 S3具有用来给这笔款项的ETAG头。

I've used Amazon S3 a little bit for backups for some time. Usually, after I upload a file I check the MD5 sum matches to ensure I've made a good backup. S3 has the "etag" header which used to give this sum.

然而,当我上传大文件最近ETag的似乎不再是一个MD5校验和。它有额外的数字和一个连字符696df35ad1161afbeb6ea667e5dd5dab-2861。我无法找到有关这个不断变化的任何文件。我已经使用了S3的管理控制台和Cyber​​duck的检查。

However, when I uploaded a large file recently the Etag no longer seems to be a md5 sum. It has extra digits and a hyphen "696df35ad1161afbeb6ea667e5dd5dab-2861" . I can't find any documentation about this changing. I've checked using the S3 management console and with Cyberduck.

我找不到这个变化的任何文件。任何指针?

I can't find any documentation about this change. Any pointers?

推荐答案

如果任何文件被上传的多部分,那么你将总是得到这样的类型的ETag的。但是,如果你上传整个文件作为单一的文件,那么你将获得的ETag和以前一样。

If any file is being uploaded with multipart then you will always get such type of ETag. But if you upload whole file as single file then you will get ETag as before.

斗浏览器为您提供正常的ETag至5Gb的上传多部分操作。但更多的则是没有提供。

Bucket Explorer providing you normal ETag till 5Gb upload in multipart operation. But more then it is not providing.

https://forums.aws.amazon.com/thread.jspa?messageID=203510#203510