Bug 1075086
| Summary: | [QE] (6.4.0) Some unfinished xids on server after recovery. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Hayk Hovsepyan <hhovsepy> | ||||
| Component: | EJB | Assignee: | David M. Lloyd <david.lloyd> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Hayk Hovsepyan <hhovsepy> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.3.0 | CC: | bmaxwell, jmartisk, ochaloup | ||||
| Target Milestone: | DR2 | Keywords: | Regression | ||||
| Target Release: | EAP 6.4.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | Bug | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Hayk Hovsepyan
2014-03-11 13:12:58 UTC
Hi Hayk, Where are you getting eap from? Thanks, Tom This issue is not with the transaction manager rather it is with the resource manager, in this case EJB3. What happens in EJB3 is: 1. Returns 3 XAResources from XAResourceRecoveryHelper::getXAResources() 2. Each of these XAResources returns true for each other for isSameRM() 3. However, each XAResource returns a different list of Xids, thereby resetting an internal recovery manager list each time. The fix is to make the three XAResources return false to isSameRM if they point at different servers. I had a go at it over here and the test passes with it: https://github.com/tomjenkinson/jboss-ejb-client/commit/a7e8900f854f8bd8c5fc0750a3e9065489149a94 Hope that helps, Tom Thank you Tom for doing research. This will be fixed by ejb client 1.0.26.Final. The fix is merged here: https://github.com/jbossas/jboss-ejb-client/commit/f6b6e067935920e03c429183a64454fd8d5104ba Moving to 6.4. Verified on revision 6.4.0 DR2 |