pulibrary / pdc_describe

Description application for Research Data content
7 stars 1 forks source link

Draft an ADR for what should happen to files in S3 #390

Closed carolyncole closed 2 years ago

carolyncole commented 2 years ago

Draft an ADR that states that when files are deleted from a work they will be deleted from the S3 bucket in pre-curation. We will also state that we are turning on versioning in S3 to make sure a delete marker is utilized instead of a direct delete. This way items can be recovered from the S3 dashboard (https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectVersions.html).

State for the record in the ADR - We will not be dealing with versioning in the pdc-describe at this point. This will be entirely at the S3 layer.

Circulate this ADR to make sure this is what RDOC and others would like the system to do.

This will be done when:

carolyncole commented 2 years ago

Versioned S3 buckets allow for markers when deletion occurs instead of a straight delete: https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectVersions.html

carolyncole commented 2 years ago

Please add your planning poker estimate with Zenhub @bess