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
            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 The upload pipeline on a
local install (without swift, with different job queue set up) is rather
*Get a big file. Say about 400 MB. For example the latest version of
*Upload it using chunked uploading. Using something like
[[commons:User:Rillke/bigChunkedUpload.js]] can be more convenient than upload
*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

Reply via email to