Last modified: 2010-05-15 15:42:49 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 T10016, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8016 - Purge objectcache table during upgrade and installation scripts
Purge objectcache table during upgrade and installation scripts
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.8.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-23 00:12 UTC by Manuel Schneider
Modified: 2010-05-15 15:42 UTC (History)
0 users

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


Attachments
introduce the new function purge_objectcache() and run it by default after updates. (677 bytes, patch)
2006-11-23 00:13 UTC, Manuel Schneider
Details
clean patch from an unmodified source file (function call was already included in old version) (842 bytes, patch)
2006-11-23 00:40 UTC, Manuel Schneider
Details

Description Manuel Schneider 2006-11-23 00:12:20 UTC
Changes made to the MediaWiki namespace weren't available after updating MediaWiki to version 1.8.2 after runnung 
maintenance/update.php.

The pages in MediaWiki namespace where still available with all their content, but neither Special:Allmessages nor 
the GUI showed the changes anymore.

After investigating with several updated and a freshly installed wiki with Brion he found out, that the reason was 
in the objectcache table.

We therefore agreed to include a purge cache function into maintenance/update.php to avoid this problem in future.
Comment 1 Manuel Schneider 2006-11-23 00:13:16 UTC
Created attachment 2764 [details]
introduce the new function purge_objectcache() and run it by default after updates.
Comment 2 Manuel Schneider 2006-11-23 00:40:50 UTC
Created attachment 2765 [details]
clean patch from an unmodified source file (function call was already included in old version)
Comment 3 Manuel Schneider 2006-11-30 12:19:36 UTC
right now I found out (on two different wikis on two different servers): If you don't clear the object cache after upgrading from 1.8.2 to 1.9alpha apache will start using 
up all CPU time.

After clearing the cache it worked smoothly.
Comment 4 Rob Church 2006-12-23 13:57:03 UTC
Fixed in r18531.

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


Navigation
Links