Homec4science

Add support for partially uploaded files

Authored by epriestley <git@epriestley.com> on Mar 13 2015, 19:30.

Description

Add support for partially uploaded files

Summary:
Ref T7149. This flags allocated but incomplete files and doesn't explode when trying to download them.

Files are marked complete when the last chunk is uploaded.

I added a key on <authorPHID, isPartial> so we can show you a list of partially uploaded files and prompt you to resume them at some point down the road.

Test Plan: Massaged debugging settings and uploaded README.md very slowly in 32b chunks. Saw the file lose its "Partial" flag when the last chunk finished.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: joshuaspence, epriestley

Maniphest Tasks: T7149

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

Details

Committed
epriestley <git@epriestley.com>Mar 13 2015, 19:30
Pushed
aubortJan 31 2017, 17:16
Parents
rPH6c3552f93963: Add `bin/files cat` to print a file to stdout
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHaa4adf3ab870: Add support for partially uploaded files (authored by epriestley <git@epriestley.com>).Mar 13 2015, 19:30