Bug 606530

Summary: Delete multiple bundles resulted in deadlock
Product: [Other] RHQ Project Reporter: Jay Shaughnessy <jshaughn>
Component: ProvisioningAssignee: John Mazzitelli <mazz>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: high    
Version: 3.0.0CC: mazz, skondkar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Oracle 10g XE
Last Closed: 2011-05-24 01:09:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 585306    
Attachments:
Description Flags
the trace none

Description Jay Shaughnessy 2010-06-21 21:00:42 UTC
Created attachment 425749 [details]
the trace

I had two bundles in my system.  I selected both in the bundle list view and clicked delete.  The server log showed the attached deadlock error.  One of the bundles did seem to get deleted.

The workaround would be to delete bundles one at a time.

Comment 1 John Mazzitelli 2010-12-20 20:08:34 UTC
git commit 3ddf5894f46a62d894a099d20db329e599fac42d

there is a new bundle manager API deleteBundles that lets the client give an array of bundle IDs and let the SLSB do the deletes. this avoids the client performing multiple async calls to the delete method thus causing the deadlock. i tested and deleting two bundles worked fine.

Comment 2 Sunil Kondkar 2011-02-15 12:25:51 UTC
Verified on build#1010 (Version: 4.0.0-SNAPSHOT  Build Number: ec5b64e)

Uploaded two bundle files. Selected both bundles in list view and clicked on 'Delete'. Both the bundles got deleted. The server did not show any error.

Marking this bug as verified.

Comment 3 Corey Welton 2011-05-24 01:09:48 UTC
Bookkeeping - closing bug - fixed in recent release.