Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13997400
D10616.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
786 B
Referenced Files
None
Subscribers
None
D10616.diff
View Options
diff --git a/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementAdjustWorkflow.php b/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementAdjustWorkflow.php
--- a/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementAdjustWorkflow.php
+++ b/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementAdjustWorkflow.php
@@ -125,6 +125,14 @@
$console->writeOut(
"%s\n",
+ pht('Dropping caches, for faster migrations...'));
+
+ $root = dirname(phutil_get_library_root('phabricator'));
+ $bin = $root.'/bin/cache';
+ phutil_passthru('%s purge --purge-all', $bin);
+
+ $console->writeOut(
+ "%s\n",
pht('Fixing schema issues...'));
$api = $this->getAPI();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 25, 4:16 AM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6746094
Default Alt Text
D10616.diff (786 B)
Attached To
Mode
D10616: Purge readthrough caches before applying schema adjustments
Attached
Detach File
Event Timeline
Log In to Comment