Bug #41026 | maria: Duplicate entry '...' for key 'PRIMARY' in sysbench OLTP_RW test | ||
---|---|---|---|
Submitted: | 25 Nov 2008 19:08 | Modified: | 4 Dec 2008 13:55 |
Reporter: | Alexey Stroganov | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 6.0.8-release | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[25 Nov 2008 19:08]
Alexey Stroganov
[28 Nov 2008 9:39]
Guilhem Bichot
Hi Ranger. For me it's a bug only if the primary key is auto_increment and one is always inserting NULL into it (i.e. values autogenerated by the server, not specified by the client); is this the case in the test?
[28 Nov 2008 14:59]
Alexey Stroganov
Today on Windows 2008 I've observed this issue for other engines (MyISAM/InnoDB) as well. I don't know what is special to Maria that on Linux I saw such issue for this engine only and why other engines are not affected. I will try to isolate this issue and will update bug report with my findings.
[4 Dec 2008 13:55]
Alexey Stroganov
It turned out that this issue was caused by bug in sysbench that didn't properly perform lock/unlock.