HomePhorge

Allow diffusion.filecontentquery to load data for arbitrarily large files

Description

Allow diffusion.filecontentquery to load data for arbitrarily large files

Summary:
Fixes T10186. After D14970, diffusion.filecontentquery puts the content in a file and returns the file PHID.

However, it does this in a way that doesn't go through the chunking engine, so it will fail for files larger than the chunk threshold (generally, 8MB).

Instead, stream the file from the underlying command directly into chunked storage.

Test Plan:

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10186

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

Details

Provenance
epriestleyAuthored on Jan 21 2016, 4:25 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPe0fef74be782: Minor CSS tweaks to autocomplete
Branches
Unknown
Tags
Unknown

Event Timeline