cozy / cozy-data-system

Deprecated - Data Layer for Cozy V2 Platform
https://cozy.io
GNU Affero General Public License v3.0
24 stars 21 forks source link

Binary cleaning #121

Closed frankrousseau closed 9 years ago

frankrousseau commented 9 years ago

I think I have more binaries than files, photos and attachments stored. We should thing about a way to clean unused binaries or fix what already exists.

aenario commented 9 years ago

Note about this :

Some app might have to create the binary before creating the document (if they use unpausable stream, like mail or with replication and batch insert). Moreover, I am not sure how things go during binary update (is the new binary created before being linked).

A solution to this problem should take this into account.

poupotte commented 9 years ago

This issue should be fixed with #125 .