r83638 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83637‎ | r83638 | r83639 >
Date:04:50, 10 March 2011
Author:tstarling
Status:ok
Tags:
Comment:
patch to skip testwiki when running jobs, because the job runners try to use /home and error out, stalling the whole process.
Modified paths:
  • /branches/wmf/1.17wmf1/maintenance/nextJobDB.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/maintenance/nextJobDB.php
@@ -112,6 +112,12 @@
113113 # Cross-reference DBs by master DB server
114114 $dbsByMaster = array();
115115 foreach ( $wgLocalDatabases as $db ) {
 116+ // WMF patch to fix job runners with NFS not mounted -- TS
 117+ if ( $db === 'testwiki' ) {
 118+ continue;
 119+ }
 120+ // end patch
 121+
116122 $lb = wfGetLB( $db );
117123 $dbsByMaster[$lb->getServerName( 0 )][] = $db;
118124 }

Status & tagging log