Skip to content

clear temp files after upload #737

@shirey

Description

@shirey

When files are uploaded for various reasons using file_upload_helper in ingest-api they are added to a temp directory (on PROD /hive/hubmap/hm_uploads_tmp). These temp files aren't being cleared out.

  • Ensure that the files are being "committed" to permanent storage (on PROD should be in /hive/hubmap/hm_uploads by current processes/endpoints (if not, fix this before continuing)
  • Clear existing temp directory
  • Update code such that the temp storage is deleted after an upload is either committed to the permanent storage or reverted (abandoned)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions