Bug #50845 | BACKPORT: The test backup_client_coverage is failing in the porting tree | ||
---|---|---|---|
Submitted: | 2 Feb 2010 18:33 | Modified: | 3 Sep 2010 8:41 |
Reporter: | Chuck Bell | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | MySQL Server: Backup | Severity: | S3 (Non-critical) |
Version: | 5.4.4 | OS: | Any |
Assigned to: | Ingo Strüwing | CPU Architecture: | Any |
[2 Feb 2010 18:33]
Chuck Bell
[3 Feb 2010 11:49]
Ingo Strüwing
In 5.6 a buffer allocation is forced. Hence the error injection does not work as designed for 6.0. In 6.0 a dynamic array can be created without initial allocation. This has been introduced by http://lists.mysql.com/maria/142 revid:serg@mysql.com-20080808111127-rv1sk7teaohl2ovs Do we want to have this in 5.6? Otherwise a couple of tests based on error injection to dynamic arrays need to be redesigned.
[4 Feb 2010 16:32]
Ingo Strüwing
The failure does not show up on all platforms. If insert_dynamic() does not fail as planned, the next operation is another insert_dynamic() into another array. Dependent on the order of elements found in the backup image, it can happen that the second insert_dynamic() is the first or second one for the other array. Then a malloc is either done or not done. Hence the error injection can hit at that place or or pass another time.
[4 Feb 2010 17:14]
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/99329 3081 Ingo Struewing 2010-02-04 Bug#50845 - BACKPORT: The test backup_client_coverage is failing in the porting tree Back ported part of revid:serg@mysql.com-20080808111127-rv1sk7teaohl2ovs wt_thd_lazy_init(), per-thread deadlock search depths and timeouts The original message is misleading. The patch contained a change to dynamic arrays too. Only these extra changes have been included here. @ mysys/array.c Bug#50845 - BACKPORT: The test backup_client_coverage is failing in the porting tree lazy alloc in dynamic array Allow zero initial buffer allocation. Thus force allocation at first insert. @ sql-common/client.c Bug#50845 - BACKPORT: The test backup_client_coverage is failing in the porting tree for dynamic array, specify init_alloc==alloc_increment explicitly
[4 Feb 2010 17:17]
Ingo Strüwing
Pure backport. No review required.
[5 Feb 2010 16:26]
Ingo Strüwing
Queued to mysql-next-mr-backup, mysql-next-mr-backup-merge, and mysql-backup-backport.
[3 Sep 2010 8:41]
Ingo Strüwing
The feature will not be implemented.