Uploaded image for project: 'WildFly Transaction Client'
  1. WildFly Transaction Client
  2. WFTC-78

XA file registry does not delete records when prepare reports READ ONLY

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Done
    • 1.1.7.Final
    • None
    • None

    Description

      File system registry records are not deleted when prepare call reports read-only. The WFTC returns the XAResource.XA_RDONLY when there was no data changes done at the remote server. The WFTC then does not consider such resource as in-doubt (the registry does not add it with resourceInDoubt.resourceInDoubt(this)). That means that the XAResource.recover() does not return such resource and the record at data/ejb-xa-recovery is not deleted.

      Note: the record would be deleted if the JVM restarts. Then all records from data/ejb-xa-recovery is loaded as in-doubt and the XAResource.recover() would manage them.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: