Page MenuHomePhabricator

Remove `bin/files purge` workflow
ClosedPublic

Authored by epriestley on Aug 10 2017, 1:11 PM.
Tags
None
Referenced Files
F13103682: D18384.diff
Sat, Apr 27, 11:19 AM
Unknown Object (File)
Thu, Apr 25, 1:23 AM
Unknown Object (File)
Wed, Apr 24, 6:56 AM
Unknown Object (File)
Fri, Apr 12, 8:15 PM
Unknown Object (File)
Fri, Apr 12, 7:00 PM
Unknown Object (File)
Sun, Mar 31, 12:34 AM
Unknown Object (File)
Mar 29 2024, 2:11 AM
Unknown Object (File)
Mar 26 2024, 2:39 PM
Subscribers
None

Details

Summary

Fixes T12948. See that task for substantial discussion and context. Briefly:

  • This workflow is very old, and won't work for large (>2GB) files.
  • This workflow has become more dangerous than it once was, and can fail in several ways that delete data and/or make recovery much more difficult (see T12948 for more discussion).
  • This was originally added in D6068, which is a bit muddled, but looks like "one install ran into a weird issue so I wrote a script for them"; this would be a Consulting/Support issue and not come upstream today. I can't identify any arguments for retaining this workflow there, at least.
Test Plan
  • Grepped for files purge, got nothing.
  • Grepped for purge, looked for anything that looked like instructions or documentation, got nothing.

I don't recall recommending anyone run this script in many years, and didn't even remember that it existed or what it did when T12948 was reported, so I believe it is not in widespread use.

Diff Detail

Repository
rP Phabricator
Branch
purge1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 17978
Build 24143: Run Core Tests
Build 24142: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Aug 10 2017, 1:22 PM
This revision was automatically updated to reflect the committed changes.