r54840 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54839‎ | r54840 | r54841 >
Date:03:47, 12 August 2009
Author:tstarling
Status:ok
Tags:
Comment:
In Database::getLag(): Add some more I/O thread states.
Modified paths:
  • /trunk/phase3/includes/db/Database.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/Database.php
@@ -2008,7 +2008,10 @@
20092009 $row->State != 'Connecting to master' &&
20102010 $row->State != 'Queueing master event to the relay log' &&
20112011 $row->State != 'Waiting for master update' &&
2012 - $row->State != 'Requesting binlog dump'
 2012+ $row->State != 'Requesting binlog dump' &&
 2013+ $row->State != 'Waiting to reconnect after a failed master event read' &&
 2014+ $row->State != 'Reconnecting after a failed master event read' &&
 2015+ $row->State != 'Registering slave on master'
20132016 ) {
20142017 # This is it, return the time (except -ve)
20152018 if ( $row->Time > 0x7fffffff ) {

Status & tagging log