Page MenuHomePhabricator

UploadFromStash->appendToUploadFile should update size/sha1 in database
Closed, ResolvedPublic

Description

Author: jgerber

Description:
UploadFromStash->appendToUploadFile needs to update file metadata in the uploadstash databbase.

us_size and us_sha1 needs to be updated after appending data.

For this, UploadStash needs a way to update db values,
right now the only place db writes are performed is in the stashFile function.


Version: unspecified
Severity: normal

Details

Reference
bz30180

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:48 PM
bzimport set Reference to bz30180.
bzimport added a subscriber: Unknown Object (MLST).

jgerber wrote:

chunks are no longer appended but concatenated at the end.

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:25 AM
Gilles added a project: Multimedia.
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:21 AM