Page MenuHomePhabricator

Aborted large file upload will sometimes be re-uploaded silently twice
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. Pick a large file to upload (9-10MB seems to do the trick)
  2. Remove the file ASAP, before it's done uploading
  3. The console will output "Retry #1 on error event"
  4. Subsequently the upload will be silently retried twice. It shouldn't retry at all, since we've consciously removed the file.

Screenshot_2014-12-04_09.21.15.png (132×360 px, 17 KB)

Note that it doesn't seem to happen every time, it seems to be subject to a race condition, but it's easy enough to reproduce locally on Firefox if you try a few times.

Event Timeline

Gilles assigned this task to MarkTraceur.
Gilles raised the priority of this task from to Medium.
Gilles updated the task description. (Show Details)
Gilles changed Security from none to None.
Gilles moved this task from Untriaged to Next up on the Multimedia board.
Gilles subscribed.

Change 178906 had a related patch set uploaded (by MarkTraceur):
Gate a bunch of state changes for aborted files

https://gerrit.wikimedia.org/r/178906

Patch-For-Review

Change 178906 merged by jenkins-bot:
Gate a bunch of state changes for aborted files

https://gerrit.wikimedia.org/r/178906

Gilles moved this task from Doing to Done on the Multimedia board.