Project

General

Profile

Bug #5833

Temporary files aren't

Added by Brendan Hahn over 7 years ago. Updated about 7 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?

History

#1 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 5833

#2 Updated by ben leinfelder about 7 years ago

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

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.

Also available in: Atom PDF