http://www.mediawiki.org/wiki/Special:Code/MediaWiki/83638

Revision: 83638
Author:   tstarling
Date:     2011-03-10 04:50:01 +0000 (Thu, 10 Mar 2011)
Log Message:
-----------
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: branches/wmf/1.17wmf1/maintenance/nextJobDB.php
===================================================================
--- branches/wmf/1.17wmf1/maintenance/nextJobDB.php     2011-03-10 04:48:09 UTC 
(rev 83637)
+++ branches/wmf/1.17wmf1/maintenance/nextJobDB.php     2011-03-10 04:50:01 UTC 
(rev 83638)
@@ -112,6 +112,12 @@
                # Cross-reference DBs by master DB server
                $dbsByMaster = array();
                foreach ( $wgLocalDatabases as $db ) {
+                       // WMF patch to fix job runners with NFS not mounted -- 
TS
+                       if ( $db === 'testwiki' ) {
+                               continue;
+                       }
+                       // end patch
+                       
                        $lb = wfGetLB( $db );
                        $dbsByMaster[$lb->getServerName( 0 )][] = $db;
                }


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to