r93682 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93681‎ | r93682 | r93683 >
Date:23:28, 1 August 2011
Author:demon
Status:ok
Tags:
Comment:
Merge live hack - Extra debugging on connection failures
Modified paths:
  • /trunk/phase3/includes/db/LoadBalancer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/LoadBalancer.php
@@ -699,7 +699,7 @@
700700
701701 if ( !is_object( $conn ) ) {
702702 // No last connection, probably due to all servers being too busy
703 - wfLogDBError( "LB failure with no last connection\n" );
 703+ wfLogDBError( "LB failure with no last connection. Connection error: {$this->mLastError}\n" );
704704 $conn = new Database;
705705 // If all servers were busy, mLastError will contain something sensible
706706 throw new DBConnectionError( $conn, $this->mLastError );

Follow-up revisions

RevisionCommit summaryAuthorDate
r93684MFT r93682demon23:28, 1 August 2011
r96553MFT r93682, r93683, r93851reedy11:08, 8 September 2011

Status & tagging log