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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ