HomePhorge

Files now share storage. New files are written only if no other files have the…

Description

Files now share storage. New files are written only if no other files have the same contentHash. Storage is only deleted if no other file is sharing it.

Summary: Storage is shared between files in a smart way. When uploading files, if other file have the same contentHash, then share storage. On delete, storage is permanently deleted only if no other files are sharing it

Test Plan: Upload multiple copies of the same file, while tracking database. Delete copies of files and check to see that the storage is only deleted if no other files are using it

Reviewers: epriestley

CC: aran, Korvin

Maniphest Tasks: T2454

Differential Revision: https://secure.phabricator.com/D4775

Details

Provenance
kwadwoAuthored on Feb 9 2013, 7:00 AM
epriestleyCommitted on Feb 9 2013, 7:03 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP3dd5d693c864: Fix double escaping in Pholio subscribers
Branches
Unknown
Tags
Unknown

Event Timeline