Bug #58512 | Performance_schema.myisam_file_io fails sporadically in PB2 | ||
---|---|---|---|
Submitted: | 26 Nov 2010 8:47 | Modified: | 6 Jan 2011 2:51 |
Reporter: | Marc ALFF | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Performance Schema | Severity: | S3 (Non-critical) |
Version: | 5.5 | OS: | Any |
Assigned to: | Marc ALFF | CPU Architecture: | Any |
[26 Nov 2010 8:47]
Marc ALFF
[30 Nov 2010 19:27]
Omer Barnir
Is this a server bug or a problem in the test case?
[1 Dec 2010 6:40]
Marc ALFF
Hi Omer This is a bug in the test script.
[1 Dec 2010 9:25]
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/125625 3158 Marc Alff 2010-12-01 Bug#58512 Performance_schema.myisam_file_io fails sporadically in PB2 Before this fix, the test myisam_file_io executed: - (a) an update on setup_instrument to disable non myisam file io instruments - (b) a truncate on events_waits_history_long and later - (c) a select on events_waits_history_long Surprisingly, events that were supposed to be disabled in (a) and removed in (b) still were found in (c). This happened for events such as wait/io/file/innodb/innodb_data_file fil0fil.c: sync because the sync was started before (a) and completed after (b), and as a consequence was added in the performance schema history, as expected. Presence of these records in the history made the test fail. This fix makes the test script more robust to account for extra spill waits records in (c).
[1 Dec 2010 17:19]
Christopher Powers
Patch approved.
[1 Dec 2010 18:54]
Marc ALFF
Pushed into: - mysql-5.5-bugteam - mysql-trunk-bugfixing
[5 Dec 2010 12:42]
Bugs System
Pushed into mysql-trunk 5.6.1 (revid:alexander.nozdrin@oracle.com-20101205122447-6x94l4fmslpbttxj) (version source revid:alexander.nozdrin@oracle.com-20101205122447-6x94l4fmslpbttxj) (merge vers: 5.6.1) (pib:23)
[11 Dec 2010 17:03]
Paul DuBois
Bug not present in any 5.6.x release. Setting report to Need Merge pending push into 5.5.x.
[17 Dec 2010 12:53]
Bugs System
Pushed into mysql-5.5 5.5.9 (revid:georgi.kodinov@oracle.com-20101217124733-p1ivu6higouawv8l) (version source revid:marc.alff@oracle.com-20101201180757-db5woxysu9kenfau) (merge vers: 5.5.8) (pib:24)
[6 Jan 2011 2:51]
Paul DuBois
Changes to test suite. No changelog entry needed.