Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3341

Failed LRA is not kept in FailedTo* state in the object store

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 5.10.4.Final
    • 5.10.6.Final
    • LRA
    • None
    • Hide

      mvn clean installĀ -Parq -Dno.lra.coordinator -Dit.test=TckContextTests#testStatus,TckContextTests#testForget

      curl http://localhost:8080/lra-coordinator | jq -c '.[] | select(.status | contains("Active") or contains("Closing") or contains("Cancelling"))' | jq

      Show
      mvn clean installĀ -Parq -Dno.lra.coordinator -Dit.test=TckContextTests#testStatus,TckContextTests#testForget curl http://localhost:8080/lra-coordinator | jq -c '.[] | select(.status | contains("Active") or contains("Closing") or contains("Cancelling"))' | jq

    Description

      when executing TckContextTests#testStatus,TckContextTests#testForget one after another the LRA started in testForget is kept in Closing state in object store even when it's removed from the in memory LRA lists. When the testStatus invokes recovery this LRA is also recovered (because it's still in Closing state) and then it's kept even in the in memory recovery list and again displayed to users. The testForget LRA is finished with failing participant (returning FailedToComplete) and the second phase correctly returns FINISH_ERROR, however, this change needs to be also reflected in the state of the parent Transaction object.

      Attachments

        Issue Links

          Activity

            People

              mstefank Martin Stefanko
              mstefank Martin Stefanko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: