Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-862

XAResource.isSameRM is not implemented correctly

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 4.2.0.Final
    • None
    • None

      XAResource.isSameRM is described withing "3.4.9 Identifying Resource Manager Instance" of JTA spec.
      Discussing this with Jonathan Halliday a cluster itself should be seen as a ResourceManager, which means that the semantic of XAResource.isSameRM(XAResource) is as follows:

      • if it is the same type as ours (TransactionXAResource)
        AND
      • other's cluster name is same as ours
        then return true. False in all other situations.

      Current implementation returns true if and only of the two TransactionXAResource implementations are associated with the same Transaction object.

              mircea.markus Mircea Markus (Inactive)
              mircea.markus Mircea Markus (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: