List:Bugs« Previous MessageNext Message »
From:sasha Date:October 5 2000 12:34am
Subject:Re: Minor grammer note in replication error log ..
View as plain text  
Weslee Bilodeau wrote:
> 
> 000911 15:55:59  Slave thread: error connecting to slave:, retry in 60
> sec
> 000911 16:04:55  Received 0 length packet from server, looks like master
> shutdown:  (0)
> 000911 16:06:55  Slave thread: error connecting to slave:, retry in 60
> sec
> 000911 16:07:56  Error reading packet from server: Lost connection to
> MySQL server during query (0)
> 000911 16:08:56  Slave thread: error connecting to slave:Lost connection
> to MySQL server during query, retry in 60 sec
> 
> Just grammer stuff, since I'm writing a parser to activly parse the log
> file and take action.
> 
> The 'Slave thread' complains of problems connecting to 'slave', when it
> should be 'master'.
> 
> -- sql/slave.cc        Mon Sep 11 10:22:09 2000
> +++ edit/slave.cc     Mon Sep 11 15:28:13 2000
> @@ -920,7 +920,7 @@
>                           mi->port, 0, 0))
>    {
>      sql_print_error(
> -                   "Slave thread: error connecting to slave:%s, retry
> in %d sec",
> +                   "Slave thread: error connecting to master:%s, retry
> in %d sec",
>                     mc_mysql_error(mysql), mi->connect_retry);
>      safe_sleep(thd, mi->connect_retry);
>    }
> @@ -934,7 +934,7 @@
>    while(!slave_killed(thd) && mc_mysql_reconnect(mysql))
>    {
>      sql_print_error(
> -                   "Slave thread: error connecting to slave:%s, retry
> in %d sec",
> +                   "Slave thread: error connecting to master:%s, retry
> in %d sec",
>                     mc_mysql_error(mysql), mi->connect_retry);
>      safe_sleep(thd, mi->connect_retry);
>    }
> 
> Weslee

Now fixed...

-- 
Sasha Pachev

+------------------------------------------------------------------+
|      ____  __     _____   _____  ___     http://www.mysql.com    |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sasha Pachev            |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     sasha@stripped         |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Provo, Utah, USA        |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                         |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                        |
|             /*/             \*\ Developers Team                  |
+------------------------------------------------------------------+
Thread
Minor grammer note in replication error log ..Weslee Bilodeau11 Sep
  • Re: Minor grammer note in replication error log ..sasha5 Oct