[MCOL-279] test105 still has a problem Created: 2016-08-29  Updated: 2016-10-10  Resolved: 2016-10-10

Status: Closed
Project: MariaDB ColumnStore
Component/s: MariaDB Server
Affects Version/s: 1.0.2
Fix Version/s: 1.0.4

Type: Bug Priority: Major
Reporter: David Hall (Inactive) Assignee: David Hill (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

While running a full regression to ensure I hadn't broken anything, I found that test105 sometimes failed.

The failure is caused by something having to do with an auto-increment column and the DBRM. a lock isn't released properly and the DBRM asserts and shuts down. Recovery doesn't work and a restart is needed.

I'm guessing that an alter table to add an auto-increment is what's causing the issue. It's also possible that this is masked by release code (I'm using debug), but that doesn't mean it isn't ready to pounce at a customer site.


Issue Links:
PartOf
is part of MCOL-280 Beta issues Closed
Sprint: 2016-19

 Description   

Copying Description that David Hall put in Environment field here
While running a full regression to ensure I hadn't broken anything, I found that test105 sometimes failed.

The failure is caused by something having to do with an auto-increment column and the DBRM. a lock isn't released properly and the DBRM asserts and shuts down. Recovery doesn't work and a restart is needed.

I'm guessing that an alter table to add an auto-increment is what's causing the issue. It's also possible that this is masked by release code (I'm using debug), but that doesn't mean it isn't ready to pounce at a customer site.



 Comments   
Comment by David Hall (Inactive) [ 2016-08-30 ]

working_dml/misc/autoincrement.negative.sql

The test contains:

Alter table foo add column newcol bigint comment 'autoincrement';
select min(newcol), max(newcol) from foo;
select callastinsertid('foo');
Alter table foo change column newcol newcol bigint;

This last alter changing the column instigates the problem.

Comment by David Hall (Inactive) [ 2016-09-01 ]

Dbrm.releaseAILock() is being called twice at altertableprocessor.cpp:988
Boost now asserts when deleting a mutex that has been released twice without an intervening lock()

Comment by David Hall (Inactive) [ 2016-09-02 ]

See previous comment. Also, MCOL-259 and MCOL-261 weres affecting test005.

Comment by Andrew Hutchings (Inactive) [ 2016-09-02 ]

Review done. Looks great to me. Especially all the extra debugging in there.

Assigned to Daniel for QA but not sure there is any real test we can do here. It might just need closing off.

Comment by Daniel Lee (Inactive) [ 2016-09-13 ]

Assigned to Mr. Hill to check with regression results.

Thanks

Comment by David Hill (Inactive) [ 2016-10-10 ]

test005 passing now..

Comment by David Hill (Inactive) [ 2016-10-10 ]

test005 passing regression testing

Generated at Thu Feb 08 02:19:51 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.