Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-201

incomplete tx recovery on openshift

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • OpenShift

      While testing tx recovery in OpenShift I see that recovery doesn't completely finish in some tests.

      Scenario:

      ejb client (app tx-client, pod tx-client-0):

      • EJB business method
        • lookup remote EJB
        • enlist XA resource 1 to transaction
        • enlist XA resource 2 to transaction
        • call remote EJB

      ejb server (app tx-server, pod tx-server-0):

      • EJB business method
        • enlist XA resource 1 to transaction
        • enlist XA resource 2 to transaction

      ejb server XA resource 2 crashes JVM in commit method phase. (the same outcome client crashes at commit phase)

      Test waits until crashed pod is restarted, then forces periodic recovery twice and then checks that transaction log store is empty. But it is not empty, however it looks like all XA resources were commited.

      Attached are logs from client and server pods.

        1. auth_fail.txt
          545 kB
          Martin Simka
        2. tx-client-0.txt
          2.09 MB
          Martin Simka
        3. tx-server-0.txt
          2.62 MB
          Martin Simka

              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              msimka@redhat.com Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: