Create Attachments on the local filesystem

Myk Melez myk at mozilla.org
Wed Oct 22 17:41:16 UTC 2003


Joel Peshkin wrote:

> Implementing this is a completely seperate matter.  Perhaps the right 
> thing to do is to ....
> a) add a mechanism to permit large attachments to span many database 
> records,
> b) permit a retention policy to be used for large attachments (e.g. 
> Delete if obsolete > 6 months and size > 10MB and undownloaded > 6 
> months and bug unchanged > 6 months)

Another option is to abstract out attachment storage to an interface 
that handles access to attachment data with implementations for database 
and filesystem storage.  All implementations should be able to store and 
retrieve attachment data.  Anything else (f.e. searching) would be optional.

-myk





More information about the developers mailing list