List:Commits« Previous MessageNext Message »
From:Luis Soares Date:November 4 2009 1:56am
Subject:bzr commit into mysql-5.1-bugteam branch (luis.soares:3159) Bug#47743
Bug#47983
View as plain text  
#At file:///home/lsoares/Workspace/bzr/work/bugfixing/47743/mysql-5.1-bugteam/ based on revid:svoj@stripped

 3159 Luis Soares	2009-11-04
      BUG#47743: rpl.rpl_log_pos fails sporadically
      BUG#47983: rpl_extraColmaster_myisam failed in PB2 with "Found
      warnings!!"
      
      BUG 45214 fixed the case when get_master_version_and_clock
      function, used by the slave, would not report errors. The slave
      now detects them and if related to transient network failures, it
      prints some warnings and retries to connect. On the other hand,
      if not network related, it just gives up and fails.
      
      As such, sometimes, in PB2, the slave comes across some transient
      communication issues between master and slave, while calling
      get_master_version_and_clock, causing warnings print outs to the
      error log. Nevertheless, in such cases slave retries to connect,
      in which it succeeds, and the test case continues as it normally
      would. But then, at the end of a successful test run, MTR checks
      the error log, finds the unexpected warnings and considers them
      harmful. This causes MTR to report error and, consequently, PB2
      to report a failing test.
      
      We fix this by adding to the global warnings suppress list the
      warnings related to transient network failures only, which are
      reported while in function get_master_version_and_clock.

    modified:
      mysql-test/include/mtr_warnings.sql
=== modified file 'mysql-test/include/mtr_warnings.sql'
--- a/mysql-test/include/mtr_warnings.sql	2009-09-24 13:19:06 +0000
+++ b/mysql-test/include/mtr_warnings.sql	2009-11-04 01:56:36 +0000
@@ -175,6 +175,15 @@ INSERT INTO global_suppressions VALUES
  ("Can't find file: '.\\\\test\\\\\\?{8}.frm'"),
  ("Slave: Unknown table 't1' Error_code: 1051"),
 
+ /*
+   Transient network failures that cause warnings on reconnect.
+   BUG#47743 and BUG#47983.
+ */
+ ("Slave I/O: Get master SERVER_ID failed with error:.*"),
+ ("Slave I/O: Get master clock failed with error:.*"),
+ ("Slave I/O: Get master COLLATION_SERVER failed with error:.*"),
+ ("Slave I/O: Get master TIME_ZONE failed with error:.*"),
+
  ("THE_LAST_SUPPRESSION")||
 
 


Attachment: [text/bzr-bundle] bzr/luis.soares@sun.com-20091104015636-b46x7golodc3x727.bundle
Thread
bzr commit into mysql-5.1-bugteam branch (luis.soares:3159) Bug#47743Bug#47983Luis Soares4 Nov
  • Re: bzr commit into mysql-5.1-bugteam branch (luis.soares:3159)Bug#47743 Bug#47983Daogang Qu4 Nov
  • Re: bzr commit into mysql-5.1-bugteam branch (luis.soares:3159)Bug#47743 Bug#47983He Zhenxing4 Nov