Last modified: 2010-08-29 12:11:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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