Uploading object is good, but downloading isn't getting latest version of the object

0

I've used S3 for several years...we upload objects into our buckets, no versioning enabled, no encryption. So I'm updating one of our objects...the upload of the new object works well...and to verify this upload worked, I immediately click on the "Download" button from the S3 control panel, (I've also tested the "Open" button and the "Object actions" button)...and these actions verifies the object is correct...the download works flawlessly. However, if I use the "Object URL" to download the object...I do NOT get the latest version of the object...I get an older version.

已提問 2 年前檢視次數 687 次
1 個回答
0

Strong consistency in S3 was introduced in Dec, 2020 so you should not be noticing the behavior that you are noticing.

Are you using Cloudfront in front of S3. If yes, Cloudfront may have cached the older version of the object.

profile pictureAWS
專家
已回答 2 年前
  • What is "Cloudfront"? The failure is occurring when I copy the "Object URL" and paste it into a browser window.

    It appears I do not have CloudFront enabled on our account. So why is my updated object still not available for download? I just tested it again...it's been 13-hrs since I uploaded the object, and the "Object URL" is still not delivering the updated object.

    So...I experimented...I "renamed" the object in my control panel...and that renamed object DOES contain the correct content (validated by download via the "Object URL"). However, if I rename the object back to the original name...that "Object URL" does NOT download the updated content, it downloads the old version of the object.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南