Page MenuHomePhabricator

Allow Phriction documents to be permanently deleted
ClosedPublic

Authored by joshuaspence on Jul 18 2014, 1:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 21, 6:19 PM
Unknown Object (File)
Sun, Jul 21, 2:39 PM
Unknown Object (File)
Wed, Jul 17, 3:38 AM
Unknown Object (File)
Sat, Jul 13, 12:46 AM
Unknown Object (File)
Fri, Jul 12, 7:45 PM
Unknown Object (File)
Wed, Jul 10, 12:37 AM
Unknown Object (File)
Mon, Jul 8, 11:43 PM
Unknown Object (File)
Mon, Jul 8, 7:38 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rP63ce0e66c926: Allow Phriction documents to be permanently deleted
Summary

Allow PhrictionDocument to be permanently deleted with ./bin/remove destroy.

Test Plan

Deleted a Phriction document with ./bin/remove and verified that the database was in the expected state.

> ./bin/remove destroy PHID-WIKI-auj57rauigvcqvv5feh6
 IMPORTANT: OBJECTS WILL BE PERMANENTLY DESTROYED! 

There is no way to undo this operation or ever retrieve this data.

These 1 object(s) will be completely destroyed forever:

    - PHID-WIKI-auj57rauigvcqvv5feh6 (PhrictionDocument)


    Are you absolutely certain you want to destroy these 1 object(s)? [y/N] y

Destroying objects...
Destroying PhrictionDocument PHID-WIKI-auj57rauigvcqvv5feh6...
Permanently destroyed 1 object(s).

Diff Detail

Repository
rP Phabricator
Branch
phrictiondelete
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1764
Build 1765: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Allow Phriction documents to be permanently deleted.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
joshuaspence edited edge metadata.
epriestley edited edge metadata.

We should delete all of the historic content objects -- every PhrictionContent with this object as its documentID.

This revision now requires changes to proceed.Jul 18 2014, 1:12 AM
joshuaspence edited edge metadata.
  • Delete historic data
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jul 18 2014, 1:37 AM
joshuaspence updated this revision to Diff 23979.

Closed by commit rP63ce0e66c926 (authored by @joshuaspence).