1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 18:52:42 +01:00
phorge-phorge/src/applications/files/management
epriestley 682c3bc9ee When migrating files between storage engines with "bin/files migrate ...", skip expired temporary files
Summary:
See T7148. This just cheats us out of a weird sort of race where we:

  - Dump an instance, including some `F123` which is a temporary file which expires in 3 minutes.
  - A few minutes later, the daemons delete the data for that file.
  - A few minutes after that, we try to `bin/files migrate --copy` to copy the data from S3 into the MySQL blob store.
  - This fails since the data is already gone.

Instead, just skip these files since they're already dead to us.

Test Plan: Faked this locally, will migrate the PHI769 instance on `aux001`.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D19536
2018-07-26 06:22:23 -07:00
..
PhabricatorFilesManagementCatWorkflow.php Fix spelling 2017-10-09 10:48:04 -07:00
PhabricatorFilesManagementCompactWorkflow.php phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorFilesManagementCycleWorkflow.php Support AES256 at-rest encryption in Files 2016-06-16 08:08:56 -07:00
PhabricatorFilesManagementEncodeWorkflow.php Support AES256 at-rest encryption in Files 2016-06-16 08:08:56 -07:00
PhabricatorFilesManagementEnginesWorkflow.php phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorFilesManagementGenerateKeyWorkflow.php Support AES256 at-rest encryption in Files 2016-06-16 08:08:56 -07:00
PhabricatorFilesManagementIntegrityWorkflow.php Provide "bin/files integrity" for debugging, maintaining and backfilling integrity hashes 2017-04-06 15:42:43 -07:00
PhabricatorFilesManagementMigrateWorkflow.php When migrating files between storage engines with "bin/files migrate ...", skip expired temporary files 2018-07-26 06:22:23 -07:00
PhabricatorFilesManagementRebuildWorkflow.php phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorFilesManagementWorkflow.php phtize all the things 2015-05-22 21:16:39 +10:00