View Issue Details

IDProjectCategoryView StatusLast Update
0006550mantisbtfeaturepublic2006-06-22 14:13
Reporterpengzhw Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Product Version0.19.2 
Target VersionFixed in Version 
Summary0006550: Too many files uploaded to a single directory for one project
Description

We have a QA project with as many as about 200 files per month uploaded into the server. As far as I know, if using host's filesystem as files storage, mantis stores these files under a single directory for a single project. So after several months, there are more than thousands of files under this single directory. That will at least lead to "Too many arguments" problem when we try to backup this directory using tar/gzip utilities.

For DB performance consideration, we are not going to use DB to store such many attachments.

The solution is to automatically create sub-directory under the given project directory, which results in a directory tree just like the spool directory structure of those email daemons such as postfix. The most simple one may be just creating one sub-directory for each month, say 200512 for Dec 2005, 200601 for Jan 2006, 200602 for Feb 2006 etc.

TagsNo tags attached.

Activities

pengzhw

pengzhw

2006-01-04 02:22

reporter   ~0011865

Btw, the mantis server runs Linux.

Issue History

Date Modified Username Field Change
2006-01-04 02:19 pengzhw New Issue
2006-01-04 02:22 pengzhw Note Added: 0011865
2006-06-22 14:13 ryandesign Severity minor => feature
2006-06-22 14:13 ryandesign Reproducibility have not tried => N/A
2006-06-22 14:13 ryandesign Category bugtracker => feature