Bug #49984 Test 'rpl_loaddata_symlink' fails with "Could not find target log"
Submitted: 30 Dec 2009 1:18 Modified: 21 Jun 2010 0:41
Reporter: Kent Boortz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Replication Severity:S1 (Critical)
Version:5.1.42 OS:Windows
Assigned to: Daogang Qu CPU Architecture:Any

[30 Dec 2009 1:18] Kent Boortz
Description:
Test failure

  rpl.rpl_loaddata_symlink 'stmt'          [ fail ]
          Test ended at 2009-12-17 21:31:25

  CURRENT_TEST: rpl.rpl_loaddata_symlink
  mysqltest: In included file ".\include\show_rpl_debug_info.inc": At line 80: query 'SHOW BINLOG EVENTS IN '$master_binlog_name_sql'' failed: 1220: Error when executing command SHOW BINLOG EVENTS: Could not find target log

  The result from queries just before the failure was:
  < snip >
  slave-bin.000001      4       Format_desc     2       106     Server ver: 5.1.42-community-log, Binlog ver: 4

  [on master]

  **** SHOW MASTER STATUS on master ****
  SHOW MASTER STATUS;
  File  master-bin.000001
  Position      106
  Binlog_Do_DB
  Binlog_Ignore_DB

  **** SHOW PROCESSLIST on master ****
  SHOW PROCESSLIST;
  Id    User    Host    db      Command Time    State   Info
  2     root    localhost:56664 test    Sleep   305             NULL
  3     root    localhost:56665 test    Query   0       NULL    SHOW PROCESSLIST
  4     root    localhost:56666 test    Sleep   305             NULL
  7     root    localhost:56677 NULL    Binlog Dump     64      Has sent all binlog to slave; waiting for binlog to be updated  NULL

  **** SHOW BINLOG EVENTS on master ****

How to repeat:
Run the regression suite on Windows
[30 Dec 2009 7:23] Sveta Smirnova
Thank you for the report.

Verified as described.
[29 Jan 2010 3:51] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/98527

3332 Dao-Gang.Qu@sun.com	2010-01-29
      Bug #50061  	Test "rpl_loaddata_symlink" uses a Unix-specific "run-slave" script
      Bug #49984  	Test 'rpl_loaddata_symlink' fails with "Could not find target log"
      
      The symbolic link will be not supported on windows system
      if the cygwin is not installed on it. The test case is used
      to test that if the symbolic link works fine. So we can not
      change the test case to do without symbolic link.
      
      To fix the problem, skip the test on windows.
     @ mysql-test/suite/rpl/t/rpl_loaddata_symlink.test
        Added code to skip the test on windows.
[2 Feb 2010 5:18] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/98883

3332 Dao-Gang.Qu@sun.com	2010-02-02
      Bug #50061  	Test "rpl_loaddata_symlink" uses a Unix-specific "run-slave" script
      Bug #49984  	Test 'rpl_loaddata_symlink' fails with "Could not find target log"
      
      Sometimes the symbolic link is available on Windows if
      you have some Unix (emulation) layer installed like
      Cygwin, MKS or other. But symbolic link is not always
      available. It depends on versions, file volume and
      system environment of Windows. And the symbolic link
      is not typically used on Windows, at least not in the
      degree and style they are used on Unix. We can not 
      change the test case to do without symbolic link,
      because the test case is used to test that if the
      symbolic link works fine.
      
      To fix the problem, skip the test on windows.
     @ mysql-test/suite/rpl/t/rpl_loaddata_symlink.test
        Added code to skip the test on windows.
[5 Feb 2010 6:50] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/99369

3362 Dao-Gang.Qu@sun.com	2010-02-05
      Bug #50061  	Test "rpl_loaddata_symlink" uses a Unix-specific "run-slave" script
      Bug #49984  	Test 'rpl_loaddata_symlink' fails with "Could not find target log"
      
      Sometimes the symbolic link is available on Windows if
      you have some Unix (emulation) layer installed like
      Cygwin, MKS or other. But symbolic link is not always
      available. It depends on versions, file volume and
      system environment of Windows. And the symbolic link
      is not typically used on Windows, at least not in the
      degree and style they are used on Unix. We can not 
      change the test case to do without symbolic link,
      because the test case is used to test that if the
      symbolic link works fine.
      
      To fix the problem, skip the test on windows.
     @ mysql-test/suite/rpl/t/rpl_loaddata_symlink.test
        Added code to skip the test on windows.
[5 Feb 2010 7:21] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/99371

3881 Dao-Gang.Qu@sun.com	2010-02-05 [merge]
      Bug #50061  	Test "rpl_loaddata_symlink" uses a Unix-specific "run-slave" script
      Bug #49984  	Test 'rpl_loaddata_symlink' fails with "Could not find target log"
            
      Sometimes the symbolic link is available on Windows if
      you have some Unix (emulation) layer installed like
      Cygwin, MKS or other. But symbolic link is not always
      available. It depends on versions, file volume and
      system environment of Windows. And the symbolic link
      is not typically used on Windows, at least not in the
      degree and style they are used on Unix. We can not 
      change the test case to do without symbolic link,
      because the test case is used to test that if the
      symbolic link works fine.
            
      To fix the problem, skip the test on windows.
     @ mysql-test/suite/rpl/t/rpl_loaddata_symlink.test
        Added code to skip the test on windows.
[5 Feb 2010 7:27] Daogang Qu
Pushed into mysql-5.1-bugteam and mysql-pe.
[1 Mar 2010 8:43] Bugs System
Pushed into 5.1.45 (revid:joro@sun.com-20100301083827-xnimmrjg6bh33o1o) (version source revid:joerg@mysql.com-20100212173307-ph563zr4wmoklgwd) (merge vers: 5.1.45) (pib:16)
[1 Mar 2010 13:23] Jon Stephens
Does not appear to affect anything other than testing; closed without further action.
[2 Mar 2010 14:36] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100302142746-u1gxdf5yk2bjrq3e) (version source revid:alik@sun.com-20100225090938-2j5ybqoau570mytu) (merge vers: 6.0.14-alpha) (pib:16)
[2 Mar 2010 14:41] Bugs System
Pushed into 5.5.3-m2 (revid:alik@sun.com-20100302072233-t3uqgjzdukt1pyhe) (version source revid:alexey.kopytov@sun.com-20100209075938-mmcnyf6w631ozc45) (merge vers: 5.5.2-m2) (pib:16)
[2 Mar 2010 14:46] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100302072432-k8xvfkgcggkwgi94) (version source revid:alik@sun.com-20100224135227-rcqs9pe9b2in80pf) (pib:16)
[17 Jun 2010 11:54] Bugs System
Pushed into 5.1.47-ndb-7.0.16 (revid:martin.skold@mysql.com-20100617114014-bva0dy24yyd67697) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[17 Jun 2010 12:33] Bugs System
Pushed into 5.1.47-ndb-6.2.19 (revid:martin.skold@mysql.com-20100617115448-idrbic6gbki37h1c) (version source revid:martin.skold@mysql.com-20100609140708-52rvuyq4q500sxkq) (merge vers: 5.1.45-ndb-6.2.19) (pib:16)
[17 Jun 2010 13:20] Bugs System
Pushed into 5.1.47-ndb-6.3.35 (revid:martin.skold@mysql.com-20100617114611-61aqbb52j752y116) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[10 Nov 2010 10:32] Joerg Bruehe
The fix looks correct, but it doesn't help.
See Bug# 55264 for details.