Bug #11527 | Setting myisam_repair_threads to >1 leads to corruption | ||
---|---|---|---|
Submitted: | 23 Jun 2005 12:33 | Modified: | 4 Mar 2006 17:20 |
Reporter: | Geert Vanderkelen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: MyISAM storage engine | Severity: | S3 (Non-critical) |
Version: | 4.1.12 | OS: | Any (*) |
Assigned to: | Ingo Strüwing | CPU Architecture: | Any |
Tags: | corruption, myisam, myisam_repair_threads |
[23 Jun 2005 12:33]
Geert Vanderkelen
[30 Jan 2006 14:00]
Ingo Strüwing
Funny that you got different results for different numbers of myisam_repair_threads. The current code (4.1 .. 5.1) uses the variable just to check if it is > 1. It starts one thread per index then.
[31 Jan 2006 9:49]
Ingo Strüwing
In this test case there is ony one index. I proved by tracing that one thread is created only. Thus I can exclude threading/locking problems.
[9 Feb 2006 13:30]
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/2364
[16 Feb 2006 18:46]
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/2745
[4 Mar 2006 15:17]
Ingo Strüwing
Pushed to 4.1.19, 5.0.20, and 5.1.8. No test case. It requires >4GB data to repeat. I tested with a 7GB customer load file.
[4 Mar 2006 17:20]
Paul DuBois
Noted in 4.1.19, 5.0.19, 5.1.8 changelogs. Setting the <literal>myisam_repair_threads</literal> system variable to a value larger than 1 could cause corruption of large <literal>MyISAM</literal> tables. (Bug #11527)