Red Hat Bugzilla – Bug 606530
Delete multiple bundles resulted in deadlock
Last modified: 2011-05-23 21:09:48 EDT
Created attachment 425749 [details]
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.
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.
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.
Bookkeeping - closing bug - fixed in recent release.