Page MenuHomePhabricator

Intermittent message cache failure
Closed, ResolvedPublic

Description

Somewhere between 19:00 and 2:00 UTC, the Vietnamese Wikipedia
(vi.wikipedia.org) switched from using the localized interface (using the
MediaWiki namespace) to using the default English interface.
vi:Special:Allmessages only shows English messages now. :(


Version: unspecified
Severity: normal
URL: http://vi.wikipedia.org/

Details

Reference
bz683

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 7:00 PM
bzimport set Reference to bz683.
bzimport added a subscriber: Unknown Object (MLST).

I've forced the message cache to clear ($wgMessageCache->clear() in eval.php) and it seems to be set to rights again.

Not sure what causes this exactly. :(

angus wrote:

Could you please do the same in spanish wikipedia? We are having the same
problem (I think).

river wrote:

i've made a couple of checkins related to this in MessageCache 1.58 and ObjectCache 1.23.
persistant connections are now disabled because of a bad interaction between memcached-client
and the object cache:

<innocence> there seems to be an interaction issue between the messagecache and the memcache
client when a persintan socket fails
<innocence> the client deletes the socket, then return an error, and the messagecache sees
the error and sets "error" in the key, but on another server.. because the old host was
marked as dead

i also replaced the error key into $wgMemcKey.'-status' instead of the key directly, because
of the following observation:

MemCache: sock i:0; got eswiki:messages => Array

resource(104) of type (persistent stream)

resource(104) of type (persistent stream)
resource(104) of type (persistent stream)
MemCache: sock i:0; got eswiki:messages => loading

resource(104) of type (persistent stream)

MemCache: sock i:0; got eswiki:messages => Array

resource(104) of type (persistent stream)

MemCache: sock i:0; got eswiki:messages => error

resource(104) of type (persistent stream)

MemCache: sock i:0; got eswiki:messages => error

resource(104) of type (persistent stream)

i.e. the message are correctly loaded, then replaced by an error key. i don't know why this
occurs, but this workaround may suffice.

also moving bug to mediawiki.

beesley wrote:

*** Bug 2734 has been marked as a duplicate of this bug. ***

beesley wrote:

This is also happening on sh and lb since 1.5, as the messages below show.

SH Wikipedia system messages

Hallo Angela. Can you tell me why sometimes sysetm messages are translated, but
somestames they are not? I translated most important messages here but now
interface is not on Serbocroatian. Can you tell me why, and what I shall do?
Thank you, --Pokrajac 22:00, 5 Jul 2005 (UTC)

lb-wiki: language swaps of user interface

Dear Angela,
I contact you in your quality as a developer re a problem that we experience at
the lb-wiki since the first tests with MediaWiki 1.5. started: Whatever language
preference one indicates for the user interface, the user interface randomly
swaps from that preferred language to English and back. Except the fact that of
course the lb-users do not feel very comfortable with these random language
swaps, some of our links not situated in the main namespace do no longer work
and all our bots are currently down as they can not handle random window title
changes.
Can you please help to get this bug fixed or have the present request forwarded
to another competent developer? Thanks. --Otets 6 July 2005 20:39 (UTC)

  • Bug 6707 has been marked as a duplicate of this bug. ***

I haven't seen this anywhere since, so I think we can close the bug now.

(In reply to comment #8)

I haven't seen this anywhere since, so I think we can close the bug now.

Closing...

epriestley added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:21 AM