Page MenuHomePhabricator

Fix chunk upload fallback behavior
ClosedPublic

Authored by epriestley on Mar 18 2015, 11:40 PM.
Tags
None
Referenced Files
F13089283: D12111.diff
Thu, Apr 25, 1:44 AM
Unknown Object (File)
Tue, Apr 16, 3:38 PM
Unknown Object (File)
Tue, Apr 16, 2:32 PM
Unknown Object (File)
Feb 13 2024, 7:14 PM
Unknown Object (File)
Feb 8 2024, 11:17 AM
Unknown Object (File)
Jan 7 2024, 3:40 PM
Unknown Object (File)
Nov 30 2023, 4:44 AM
Unknown Object (File)
Nov 28 2023, 10:15 AM

Details

Summary

Ref T7594. Currently, if a chunk upload fails, we incorrectly swallow the failure and fall back to single-file upload, which will often fail by hitting size limits. This also silences the original error.

Instead, do chunk uploads outside the block so that any exceptions escape, and we don't try to fall back to single-file upload.

Mostly just trying to get more info about what's going wrong on @joshuaspence's install.

Test Plan

Faked an exception in chunk upload, ran arc upload on a big file, saw the exception displayed on the console.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix chunk upload fallback behavior.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
epriestley added a subscriber: joshuaspence.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 19 2015, 12:32 AM
This revision was automatically updated to reflect the committed changes.