From: Tim Starling Date: Wed, 12 Aug 2009 03:47:52 +0000 (+0000) Subject: In Database::getLag(): Add some more I/O thread states. X-Git-Tag: 1.31.0-rc.0~40344 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=154ac6816775059fcb1d784b0f59c8f4e2692a02;p=lhc%2Fweb%2Fwiklou.git In Database::getLag(): Add some more I/O thread states. --- diff --git a/includes/db/Database.php b/includes/db/Database.php index e238fbfc2b..c52c6abc3e 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -2008,7 +2008,10 @@ abstract class DatabaseBase { $row->State != 'Connecting to master' && $row->State != 'Queueing master event to the relay log' && $row->State != 'Waiting for master update' && - $row->State != 'Requesting binlog dump' + $row->State != 'Requesting binlog dump' && + $row->State != 'Waiting to reconnect after a failed master event read' && + $row->State != 'Reconnecting after a failed master event read' && + $row->State != 'Registering slave on master' ) { # This is it, return the time (except -ve) if ( $row->Time > 0x7fffffff ) {