Bug #5833
closedTemporary files aren't
0%
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?
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.