Last modified: 2013-01-11 15:05:01 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 T43134, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41134 - beta wikiversions.dat is a live hack
beta wikiversions.dat is a live hack
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 41132
  Show dependency treegraph
 
Reported: 2012-10-17 21:13 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-01-11 15:05 UTC (History)
5 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2012-10-17 21:13:30 UTC
On beta, the /home/wikipedia/common/wikiversions.dat file is a live hack. The file map a database to a MediaWiki version. On beta that should always be 'php-master', on production it is something like 'php-1.21wmf11'.

Whenever someone does a git pull on beta and erase the file, the beta cluster is unusuable since the wikis are pointing to a non existent php code base.

We need to create a wikiversions-wmflabs.dat file and adapt any script using wikiversions.dat to detect the beta context.
Comment 1 Antoine "hashar" Musso (WMF) 2013-01-11 15:05:01 UTC
We now vary based on the realm. The wikiversions.dat is replaced by wikiversions-labs.dblist whenever we run on labs.

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


Navigation
Links