Temporary files aren't
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?
#2 Updated by ben leinfelder almost 8 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.