Last modified: 2010-08-29 12:11:27 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 T22451, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20451 - Occasional message cache failure
Occasional message cache failure
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.16.x
All All
: Normal major (vote)
: ---
Assigned To: Tim Starling
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-31 15:12 UTC by Niklas Laxström
Modified: 2010-08-29 12:11 UTC (History)
2 users (show)

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


Attachments

Description Niklas Laxström 2009-08-31 15:12:54 UTC
All customisations are lost occasionally. This happens only when using memcached, not with APC. The most visible problem is the default sidebar which gets stuck in the cache when this happens. I have no idea how to debug this, but I've implemented a workaround which throws an exception if bad sidebar is detected before it is cached.

There doesn't seem to be any pattern on the requests on which this appear, they all have same backtrace to the sidebar:

#0 /var/www/w/includes/SkinTemplate.php(472): Skin->buildSidebar()
#1 /var/www/w/includes/OutputPage.php(1171): SkinTemplate->outputPage(Object(OutputPage))
#2 /var/www/w/includes/Wiki.php(356): OutputPage->output()
#3 /var/www/w/index.php(118): MediaWiki->finalCleanup(Array, Object(OutputPage))
#4 {main}
Comment 1 Alexandre Emsenhuber [IAlex] 2009-09-01 11:43:13 UTC
A way I found to reproduce this (from maintenance/eval.php):
> $wgMessageCache = new MessageCache( new HashBagOStuff(), true, 86400, '' );
> $wgMessageCache->mMemc->add( 'messages:en:status', 'loading', 5 );
> return wfMsgForContent( 'sidebar' )
Comment 2 Siebrand Mazeland 2009-09-06 14:40:57 UTC
Assigned to Tim.
Comment 3 Siebrand Mazeland 2010-08-29 12:11:27 UTC
Hasn't been observed anymore lately. Closing as WFM.

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


Navigation
Links