r93684 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93683‎ | r93684 | r93685 >
Date:23:28, 1 August 2011
Author:demon
Status:ok
Tags:
Comment:
MFT r93682
Modified paths:
  • /branches/wmf/1.17wmf1/includes/db/LoadBalancer.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/includes/db/LoadBalancer.php
@@ -678,7 +678,7 @@
679679
680680 if ( !is_object( $conn ) ) {
681681 // No last connection, probably due to all servers being too busy
682 - wfLogDBError( "LB failure with no last connection\n" );
 682+ wfLogDBError( "LB failure with no last connection. Connection error: {$this->mLastError}\n" );
683683 $conn = new Database;
684684 // If all servers were busy, mLastError will contain something sensible
685685 throw new DBConnectionError( $conn, $this->mLastError );
Property changes on: branches/wmf/1.17wmf1/includes/db/LoadBalancer.php
___________________________________________________________________
Modified: svn:mergeinfo
686686 Merged /trunk/phase3/includes/db/LoadBalancer.php:r93682

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93682Merge live hack - Extra debugging on connection failuresdemon23:28, 1 August 2011

Status & tagging log