Homec4science

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

Authored by kwadwo <kwadwon@gmail.com> on Feb 9 2013, 16:00.

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

Committed
epriestley <git@epriestley.com>Feb 9 2013, 16:03
Pushed
aubortJan 31 2017, 17:16
Parents
rPH3dd5d693c864: Fix double escaping in Pholio subscribers
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH9d031a51dfcb: Files now share storage. New files are written only if no other files have the… (authored by kwadwo <kwadwon@gmail.com>).Feb 9 2013, 16:03