| Summary: | Intermittent Serialization issues with Hibernate types | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Jay Shaughnessy <jshaughn> | ||||
| Component: | Core UI | Assignee: | RHQ Project Maintainer <rhq-maint> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.0.0.Beta2 | CC: | hrupp | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 4.0 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-09-02 07:28:06 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 585306, 712192 | ||||||
| Attachments: |
|
||||||
|
Description
Jay Shaughnessy
2011-04-25 21:52:24 UTC
Created attachment 494766 [details]
trace I'm getting
commit 9fa27ab58dfd8ce9eb94e346ada11a96620c2e96 Author: Jay Shaughnessy <jshaughn> Date: Tue Apr 26 17:48:07 2011 -0400 This is a fix that I think solves the issue. It introduces changes and logging that indicate that a potential problem in HibernateDetachUtility has been identified and avoided. In short we treated System.identityHashCode() as if it guaranteed unique values, which it may not. We now handle the situation where the identity hash may in fact not be unique among the set of objects being scrubbed. The logging will be tuned down in a subsequent commit but for now dumps out the objects that have the same hash but are not the same. Test Notes: This is not simple to test as the problem is dependent on Inventory and is intermittent. But it was best reproducible with Databases in inventory, like the RHQ database, because the Table resources have "List of Map" configuration. The reports->configuration update report would occasionally show the issue. Banging in this report, with databses in inventory, refreshing, etc is one way to try and reproduce. If no exceptions are thrown then that is about the best we can do to verify. verification will occur as part of the performance/load effort ... now beginning.... i have not seen this issue in 2 months time. Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago. |