"JanGerber" posted a comment on MediaWiki.r104687.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/104687#c27815

Commit summary for MediaWiki.r104687:

Use database to track uploaded chunks and concatenate at the end.
with i18n documentation dont break phpunit

follow up r93720

JanGerber's comment:

the problem is not chunks not being send int order, the problem was that if 
chunks do not arrive at the same server, the nfs backend could be out of sync 
and just checking the file size is not reliable, now the size is tracked in the 
db and that is in sync.
the client sends the offset with each chunk, if this does not match its 
rejected.
so in your example sending offset 2mb while the server is at offset 1mb will 
fail.

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to