HomePhorge

Double-write file attachment to old "edge" storage and new "attachment" storage

Description

Double-write file attachment to old "edge" storage and new "attachment" storage

Summary: Ref T13603. This adds a second write to new "attachment" storage to all writers except one in Paste, which creates the file inline.

Test Plan:

  • Updated a macro image, confirmed a write to "attachment" storage (transaction pathway).
  • Updated a blog profile image, confirmed a write to "attachment" storage (legacy pathway).

Maniphest Tasks: T13603

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

Details

Provenance
epriestley <git@epriestley.com>Authored on May 10 2022, 19:04
aviveyPushed on Tue, Jul 26, 15:02
aviveyPushed on Tue, Jul 26, 15:01
Differential Revision
D25040: merge phab/master -> phorge/master
Parents
rP7fcc0f9ebd91: Remove "PhabricatorFile->detachFromObject()"
Branches
Unknown
Tags
Unknown
Tasks
T15094: Catch up the master branch to upstream