On Fri, Jun 4, 2010 at 3:49 PM, Roan Kattouw <roan.kattouw(a)gmail.com> wrote:
I don't think [deploying the new FlaggedRevs to
all wikis] makes any sense
at all. What I'd do is:
* Update FlaggedRevs_alpha to the desired state and check it on the labs
wikis
* Switch wikis from FlaggedRevs to FlaggedRevs_alpha
* The old FlaggedRevs dir now sits around not being used. Leave it
like this for a while so we can easily switch wikis back to it
* After some time, update FlaggedRevs to be identical to
FlaggedRevs_alpha, and switch the wikis back, so we don't drag this
_alpha thing along forever.
The rationale behind this is that FlaggedRevs is a known-good state
more so than FlaggedRevs_alpha.
Well phooey. We discussed this option today in our status update, and based
on what Aaron says, this might not be an option. I didn't fully understand
the issue, so my apologies if I get this wrong, but I'll give it a shot
anyway.
What Aaron says is that the use of FlaggedRevs_alpha on
flaggedrevs.labs.wikimedia.org involves some more hacks than merely using a
different branch. There are also some configuration changes that disable
the message cache and possibly some other stuff. Without the hacks in
place, there's a race condition that can cause different messages to show up
randomly.
So, now we've got two different options:
1. If it's even possible, figure out how to work around the message cache
race condition
2. Try to deploy to all production wikis at once next week.
Neither of those gives me warm fuzzies right now, but #2 seems to be our new
plan of record. Thoughts?
Rob