Forum OpenACS Q&A: Response to file-storage 4.x changing where files are stored

Collapse
Posted by Jun Yamog on

Hi Jowell,

I am glad that I tested this on a test server. Apparently www/version-add-2.tcl looks up into the ad_parameter rather than the existing storage_type of the content item. So new uploads will follow the param but the retrieve will follow the storage type. So a content item will have 2 or more storage where cr_revisions are stored, making your data lost in limbo.

Do you think we should change this behavior to look up on the storage_type column rather than the current parameter? This will make file-storage safe for using both storage types. Do you think I will put it into the SDM?

What do you think about current file-storage performance problem? Thread here