Normally rebuildLocalisationCache.php clears the MessageBlobStore global cache after it rebuilds the CDB file for a given language. Sometimes this call happens at an inappropriate time, such as before new CDB files have been prepared on target servers. We need a way to control whether or not rebuildLocalisationCache clears the global cache.
|Open||None||T198901 Migrate production services to kubernetes using the pipeline|
|Open||None||T238770 Deploy MediaWiki to Wikimedia production in containers|
|Resolved||dancy||T260827 l10n process for MW containerization|
|Resolved||dancy||T268698 Add flag to rebuildLocalisationCache.php to skip MessageBlobStore::clearGlobalCacheEntry|
Regarding your question in mediawiki IRC: at the end of scap sync-world or scap sync-l10n, scap calls tasks.clear_message_blobs() which runs mwscript extensions/WikimediaMaintenance/refreshMessageBlobs.php
Also, my concern with the unnecessary MBS clearing is that it (presumably) increases the load on the appservers due to the subsequent cache misses. I don't know what the magnitude of that impact is though.