Last modified: 2012-10-25 13:55:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43343, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41343 - Deleted images still appear
Deleted images still appear
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Media storage (Other open bugs)
unspecified
All All
: Highest critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-24 08:40 UTC by Aude
Modified: 2012-10-25 13:55 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Aude 2012-10-24 08:40:53 UTC
On Wikimedia Commons, there appears to be a problem deleted images that remain visible, such as this one:

http://commons.wikimedia.org/wiki/File:Iogurte_de_morango.jpg

http://commons.wikimedia.org/wiki/Commons:Village_pump#Image_not_deleting.3F

The page appears deleted (e.g. in the logs, etc.) but not the file and file history.
Comment 1 p858snake 2012-10-24 08:47:11 UTC
MediaWiki/File Management -> Wikimedia/File management. More than likely related to swift and etc than the core file management.
Comment 2 Aude 2012-10-24 08:50:13 UTC
thanks!
Comment 3 Sumana Harihareswara 2012-10-24 20:59:19 UTC
Aude, when did this start, and is there any pattern to the deletions affected?
Comment 4 Jesús Martínez Novo (Ciencia Al Poder) 2012-10-24 21:07:39 UTC
I'm sure I saw that on other MediaWiki installations as well, with older MediaWiki versions.

Probably because the deletion of the page was done, and then some weird error occurred. Then the file wasn't moved to the "deleted" folder, and not deleted from the file table. That's strange, since I know that database is transactional but the filesystem changes we do aren't, if an error occurred the transaction should be rolled-back but it seems that a partial transaction got commited.

Does this happen frequently? I ask because of the current importance/priority (Higest/Critical). This example could be fixed restoring+deleting again, or uploading+deleting.
Comment 5 Aude 2012-10-24 22:30:23 UTC
@sumanah: no idea but just passing along this from the village pump on commons. 

It's one thing if it's an isolated case but not sure.
Comment 6 Aude 2012-10-24 22:35:44 UTC
okay, restoring and deleting it again fixed this one.

http://commons.wikimedia.org/wiki/Commons:Village_pump#Image_not_deleting.3F

I'll mark it as resolved and hope it's an isolated case.
Comment 7 Derk-Jan Hartman 2012-10-25 09:31:36 UTC
This has happened before. Often due to the server park instability. It's basically the same that happens with uploads, where we also sometimes see files or pages missing.
Comment 8 Bryan Tong Minh 2012-10-25 13:55:14 UTC
Indeed, this is probably one of those cases that can be fixed by doing the update of the page and image table and the physical file moving in a single transaction.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links