Project

General

Profile

Actions

Bug #5833

closed

Temporary files aren't

Added by Brendan Hahn almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
metacat
Target version:
Start date:
01/29/2013
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5833

Description

Detritus accumulates in the 'temporary' directory. Output files generated by read requests may persist for the lifetime of the application server and will not be cleaned on abnormal termination. Copies of data files are left in the 'uploads' directory.

Temporaries should at least be cleaned on startup/config.
Better to remove them immediately after use or schedule a definite deletion
Why are these operations staged through temporaries at all?
Why does metacat implement its own temporary file management rather than use app-server provided facilities?

Actions #1

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5833

Actions #2

Updated by ben leinfelder over 11 years ago

  • Status changed from New to Closed
  • Target version changed from 2.x.y to 2.1.0

I changed this to not use those temporary files - either we have it on disk already and can stream fromt there, or we write it to the correct location on disk (from DB) and stream from that file.

Actions

Also available in: Atom PDF