HomePhabricator

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
epriestleyAuthored on May 10 2022, 7:04 PM
epriestleyPushed on May 19 2022, 8:21 PM
Differential Revision
D21816: Double-write file attachment to old "edge" storage and new "attachment" storage
Parents
rP7fcc0f9ebd91: Remove "PhabricatorFile->detachFromObject()"
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task