| Bug #31554 | rpl_truncate_2myisam,rpl_truncate_3innodb tests failure: wrong binlog index | ||
|---|---|---|---|
| Submitted: | 12 Oct 2007 6:54 | Modified: | 27 Nov 2007 18:47 |
| Reporter: | Timothy Smith | Email Updates: | |
| Status: | Closed | ||
| Category: | Server: Tests | Severity: | S2 (Serious) |
| Version: | 5.1, 5.2 | OS: | Microsoft Windows |
| Assigned to: | Andrei Elkin | Target Version: | 5.1+ |
| Tags: | pbfail, binlog_delete_nt | ||
[12 Oct 2007 6:54]
Timothy Smith
[24 Oct 2007 10:42]
Andrei Elkin
From the first glance the promblems are the name of a binlog file plus its index seems is non-deterministic.
[24 Oct 2007 11:25]
Andrei Elkin
Sorry. Just the index is wrong.
[25 Oct 2007 14:26]
Andrei Elkin
I only can contribute with stressing that having bug#31689 does not help to find out any log for analysis of this bug. It might be eventually a wrong hit but it can be that there is something similar with Bug #19208 Test 'rpl000017' hangs on Windows. Code witnesses the deletion of old binlog files for (;;) { my_delete_allow_opened(linfo.log_file_name, MYF(MY_WME)); ... in the loop does not check the error. So it might be that windows fail to delete master.000001 for some reason and master.000002 is opened because of that.
[26 Oct 2007 10:53]
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/36425 ChangeSet@1.2584, 2007-10-26 13:52:54+03:00, aelkin@koti.dsl.inet.fi +2 -0 Bug #31554 rpl.rpl_truncate_2myisam test failure: wrong master binlog file name Actually, the failure happened with 3innodb as well. Most probably the reason is in failing to delete a binlog file on __NT__. The test results hide valueable warning that windows could generate about that. The scope of this fix is to make sure we have such warning and to lessen chances for binlog file being held at time of closing. The dump thread is getting a good chance to leave and release the file for its successful deletion.
[2 Nov 2007 12:00]
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/36982 ChangeSet@1.2584, 2007-11-02 14:00:38+02:00, aelkin@koti.dsl.inet.fi +3 -0 Bug #31554 rpl.rpl_truncate_2myisam test failure: wrong master binlog file name Actually, the failure happened with 3innodb as well. Most probably the reason is in failing to delete a binlog file on __NT__ so that that master increments the index of the binlog file. The test results hide valueable warning that windows could generate about that. The scope of this fix is to make sure we have such warning and to lessen chances for binlog file being held at time of closing. The dump thread is getting a good chance to leave and release the file for its successful deletion. We shall watch over the two tests as regression is not excluded. In that case we would have an extra info possibly explaining why __NT__ env can not close/delete the file. However, regardless of that reason, there is alwasy workaround to mask out non-deterministic binlog index number.
[27 Nov 2007 10:51]
Bugs System
Pushed into 5.1.23-rc
[27 Nov 2007 10:53]
Bugs System
Pushed into 6.0.4-alpha
[27 Nov 2007 18:47]
Paul DuBois
Test case change. No changelog entry needed.
