Last modified: 2012-04-19 07:14:30 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 T37432, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35432 - New image metadata lost after server restart
New image metadata lost after server restart
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.20.x
PC Windows Server 2008
: Low major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-23 03:31 UTC by Pei-Tang Huang
Modified: 2012-04-19 07:14 UTC (History)
3 users (show)

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


Attachments
Screenshot for file and its revision history page (265.19 KB, image/png)
2012-03-23 03:31 UTC, Pei-Tang Huang
Details

Description Pei-Tang Huang 2012-03-23 03:31:57 UTC
Created attachment 10310 [details]
Screenshot for file and its revision history page

After upload a new version of image file, everything works fine... until we restart the Apache httpd.

MediaWiki forget everything except the actual link to the newly uploaded,
1. File history in the file page shows "history" only.
2. Metadata (image dimensions) remains in the past status.
3. Images rendered in article with wrong (the old one) metadata.


We have memcached installed. Does it matter?
Comment 1 Sam Reed (reedy) 2012-03-23 19:00:31 UTC
File history and revision history are 2 separate things.
Comment 2 Pei-Tang Huang 2012-03-26 02:40:17 UTC
But there is something wrong indeed!

Images in our articles displayed in correct size in current revision.
Comment 3 Bawolff (Brian Wolff) 2012-03-26 16:59:37 UTC
Its possible that things aren't being saved to db, and once some stuff expires from the cache, it disappears. Although I would not expect that restarting apache would correspond to the cache becoming expired.
Comment 4 Pei-Tang Huang 2012-04-19 07:14:30 UTC
This issue disappeared after I update my MediaWiki from git repository.
Seems this is a feature of the latest version of MediaWiki in Subversion repository.

Anyway, thanks you all, this issue can be closed now :)

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


Navigation
Links