Bug 825331 - Deadlock in plugin container (possible issue with resource hierarchy traversal)
Deadlock in plugin container (possible issue with resource hierarchy traversal)
Product: RHQ Project
Classification: Other
Component: Agent, Plugin Container (Show other bugs)
All All
urgent Severity urgent (vote)
: ---
: JON 3.1.0
Assigned To: RHQ Project Maintainer
Mike Foley
Depends On: 823942
Blocks: jon310-sprint11/rhq44-sprint11
  Show dependency treegraph
Reported: 2012-05-25 13:35 EDT by Jay Shaughnessy
Modified: 2013-09-04 05:10 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 823942
Last Closed: 2013-09-04 05:10:37 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jay Shaughnessy 2012-05-25 13:35:35 EDT
+++ This bug was initially created as a clone of Bug #823942 +++

Deadlock detected in PC while testing with AS7 inventory.  Agent log and thread dump attached.

- Async avail checking may have been turned on
Comment 1 Jay Shaughnessy 2012-05-25 13:41:02 EDT
commit 9e0b16da140dce49c187aec4ac786b45e6573f82
    [823942] Prefer resource container Resource when recursing hierarchy
    Given recent optimizations it's necessary to use the ResourceContainer's
    version of a resource when requiring the most up to date version of
    the resource.  This commit ensures that when walking the hierarchy we
    prefer the container's version of the resource when getting children.
    (cherry picked from commit 14d53ea73b219a85d1b54584457ed48a60e1a556)

commit e8dcb395feaa2ae567521ee4ebfb0de5765103e7    
    (fix conflict in MeasurementManager that I missed when I committed 9e0b16da1)

commit a01bc1b1fa16b21872ae99242d14d18a7fc29b6a
    [823942] Update test code related to fixes for this issue.
    (cherry picked from commit 5c91b4659d17ec66c01260dfa3339d182558702b)
Comment 2 Heiko W. Rupp 2013-09-04 05:10:37 EDT
Closing as it has been implemented and is in production for a long time.

Note You need to log in before you can comment on or make changes to this bug.