Bug #19245 Insert+Insert+rollback+rollback causes node failure
Submitted: 21 Apr 2006 6:43 Modified: 23 Apr 2006 1:22
Reporter: Jonas Oreland Email Updates:
Status: Closed Impact on me:
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version: OS:
Assigned to: Jonas Oreland CPU Architecture:Any

[21 Apr 2006 6:43] Jonas Oreland
connection 1
insert (1)

connection 2
insert (1)  // will end up in lock queue

connection 1

connection 2;
rollback; // node failure, as it had incorrect bits in tuple header

How to repeat:
drop table if exists t1;
create table t1 (a int, b int, primary key using hash (a));

connect (con1,localhost,root,,test);
connect (con2,localhost,root,,test);

connection con1;
insert into t1 values (1,1);

connection con2;
insert into t1 values (1,1);

connection con1;
--sleep 0.5

connection con2;
select * from t1;

Suggested fix:
[21 Apr 2006 7:12] 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:

[21 Apr 2006 14:47] Tomas Ulin
pushed to 5.1.10
[23 Apr 2006 1:22] Jon Stephens
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at

Additional info:

Documented in 5.1.10 changelog; closed.