Last modified: 2014-06-20 00:39:20 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 T68543, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66543 - i18n cache vs resourceloader race condition (RL message key empty)
i18n cache vs resourceloader race condition (RL message key empty)
Status: NEW
Product: Wikimedia
Classification: Unclassified
Deployment systems (Other open bugs)
wmf-deployment
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-12 18:19 UTC by Matt Walker
Modified: 2014-06-20 00:39 UTC (History)
7 users (show)

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


Attachments

Description Matt Walker 2014-06-12 18:19:26 UTC
When doing a scap for a ResourceLoader module that includes a new i18n message and a new use; the RL cache gets built before the message is available on the apache. As a result, RL cache has "message-key"s that have the value "<message-key>".

Likely we'll need to push the i18n caches to the apaches before code sync; but that has other ramifications on caching. Hopefully Timo / Roan can explain more.

In the meantime; the solution is to either:
a) Touch the module that has the missing information and sync-file
b) Run the WikimediaMaintenance/clearCacheBlobs.php script and wait a LONG time
Comment 1 Andre Klapper 2014-06-13 12:05:29 UTC
Also see bug 66524; though likely not related (English translation shown instead of message-key).
Comment 2 Brad Jorsch 2014-06-16 16:10:46 UTC
(In reply to Matt Walker from comment #0)
> b) Run the WikimediaMaintenance/clearCacheBlobs.php script and wait a LONG
> time

Note that script tends to cause database stampedes, see bug 27320. The replacement is WikimediaMaintenance/refreshMessageBlobs.php.
Comment 3 Tisza Gergő 2014-06-20 00:39:20 UTC
This happened again today. Touching did not help; clearCacheBlobs did.
(Not sure it was the same issue though: last time it only affected one wiki, this time all of them.)

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


Navigation
Links