From 154ac6816775059fcb1d784b0f59c8f4e2692a02 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 12 Aug 2009 03:47:52 +0000 Subject: [PATCH] In Database::getLag(): Add some more I/O thread states. --- includes/db/Database.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ) { -- 2.20.1