Last modified: 2012-10-24 13:28:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32180, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30180 - UploadFromStash->appendToUploadFile should update size/sha1 in database
UploadFromStash->appendToUploadFile should update size/sha1 in database
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-02 10:19 UTC by Jan Gerber
Modified: 2012-10-24 13:28 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jan Gerber 2011-08-02 10:19:22 UTC
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.
Comment 1 Jan Gerber 2012-10-24 13:28:09 UTC
chunks are no longer appended but concatenated at the end.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links