Closed Bug 1657121 Opened 5 years ago Closed 5 years ago

Objects uploaded to the S3 bucket http://gecko-docs.mozilla.org-l1.s3-website.us-west-2.amazonaws.com/<UUID> gets deleted everytime a new UUID is generated

Categories

(Developer Infrastructure :: Source Documentation, defect)

defect

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: gilatank, Assigned: gilatank)

References

Details

Attachments

(1 file, 1 obsolete file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:79.0) Gecko/20100101 Firefox/79.0

Everytime the Doc-upload task is ran, doc files are uploaded to S3 and the unique link to the s3 upload can be accessed in an artifact generated by the task. Everytime there is a new unique link generated, the uploaded object from the old link seems to get deleted eventhough it hasnt pass the expiry period for the object. This is noticed on task ran by reviewbot.

There is a function that removes untracked files:
https://searchfox.org/mozilla-central/source/tools/moztreedocs/upload.py#107

Though it's only supposed to look in the current key_prefix. Is it possible the UUID's aren't part of the key_prefix being passed in here? If not, we should fix it so they are added.

Emil, could you please take care of that asap? thanks

Flags: needinfo?(gilatank)

okay, will take a look at it

Flags: needinfo?(gilatank)
Assignee: nobody → gilatank
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fb502b2ec611 exclude uuid from s3_delete_missing. r=ahal
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Attachment #9170015 - Attachment is obsolete: true
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: