User "NeilK" posted a comment on MediaWiki.r93720.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/93720#c24505
Commit summary:

Extend upload api adding an option to upload files in chunks,
using UploadStash to track the unfinished upload.

Comment:

I think modern NFS implementations, locking is effective (or you can use tricks 
with hard links to guarantee an exclusive write). Can we use those here, to 
prevent overwrites?

Also, the 'offset' parameter tells the chunk appender where to start. If, 
before the chunk is written, the file isn't exactly that offset in size, the 
request fails and the client has to try again. 

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to