Homec4science

Add a `bin/files purge` workflow

Authored by epriestley <git@epriestley.com> on May 29 2013, 15:28.

Description

Add a bin/files purge workflow

Summary:
We can lose file data through various means; one reasonable way is if files get deleted from disk with 'local-disk' storage. If data goes missing,

Ref T3265. Also, reduce some code duplication.

Test Plan:
Ran bin/files purge, bin/files migrate, bin/files rebuild with various args.

Deleted a file with "local-disk" storage, ran bin/files purge, made sure it got picked up.

Reviewers: dctrwatson, btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3265

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

Details

Committed
epriestley <git@epriestley.com>May 29 2013, 15:28
Pushed
aubortJan 31 2017, 17:16
Parents
rPHb91c86378007: When a paste's file is deleted, drop it from query results
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH0f070236bd49: Add a `bin/files purge` workflow (authored by epriestley <git@epriestley.com>).May 29 2013, 15:28