https://bugzilla.wikimedia.org/show_bug.cgi?id=59917

       Web browser: ---
            Bug ID: 59917
           Summary: Chunked upload sometimes seems to not update status
                    after assembly job
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Uploading
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: bawolff...@gmail.com
                CC: aarcos.w...@gmail.com, bawolff...@gmail.com,
                    bryan.tongm...@gmail.com, fflo...@wikimedia.org,
                    gdu...@wikimedia.org, gti...@wikimedia.org,
                    mtrac...@member.fsf.org
            Blocks: 59914
    Classification: Unclassified
   Mobile Platform: ---

Splitting this from bug 36587 comment 64, bug 36587 comment 72

Steps to reproduce:
*Probably want to try this on test2.wikipedia.org. The upload pipeline on a
local install (without swift, with different job queue set up) is rather
different.
*Get a big file. Say about 400 MB. For example the latest version of
[[commons:File:Konkani_Viswakosh_Vol2.pdf]].
*Upload it using chunked uploading. Using something like
[[commons:User:Rillke/bigChunkedUpload.js]] can be more convenient than upload
wizard.
*Upload using chunked api, making sure async option is specified
*Eventually progress will halt at the queuing stage
*File is listed at Special:UploadStash assembled, despite returning the wrong
status to the upload script. You can use API to verify it is assembled properly
by fetching either the file size, or the sha1 sum. I made a hacky script to do
this - [[commons:User:Bawolff/stash.js]]
*Sending the publish api command works to publish file despite the API claiming
not to be ready for that step.

I expect this has to do with storing info in _SESSION, and especially editing
_SESSION from a cli script, is unreliable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to