Page MenuHomePhabricator

Flow: cache versioning cross-wiki and across MediaWiki versions
Open, NormalPublic

Description

Flow has a $wgFlowCacheVersion value. We change it if we change Flow's cache format, and we can bump it to brute-force a cache invalidation.

But I think all WMF wikis share the cache, even though some are running an earlier MediaWiki and thus a different version of the Flow code.
a) If two WMF wikis are using different $wgFlowCacheVersion , they won't see each other's Flow updates.
b) If two WMF wikis are using the same $wgFlowCacheVersion with different code, they may make incompatible cache updates.

So we have to backport incompatible cache code changes to previous releases in production. We may be able to get away without doing this until we support cross-wiki Flow activity.

Currently a) can't happen because we force all wikis to use the same cache value by also setting $wgFlowCacheVersion in operations/mediawiki-config wmf-config/CommonSettings.php

To start, someone who really understands Flow caching should add a comment about this to Flow.php.


Version: master
Severity: normal

Details

Reference
bz63705

Event Timeline

bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz63705.
bzimport added a subscriber: Unknown Object (MLST).
Spage created this task.Apr 8 2014, 9:54 PM
Quiddity removed a subscriber: Maryana.Dec 19 2014, 1:42 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 28 2015, 1:38 AM
Restricted Application added a project: Growth-Team. · View Herald TranscriptJul 18 2018, 7:06 PM
SBisson moved this task from Inbox to Triaged but Future on the Growth-Team board.Jul 20 2018, 6:03 PM