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

XTS Subordinate AT Coordinator passes wrong status to afterCompletion when prepare says READ_ONLY

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.10.0
    • Fix Version/s: 4.11.0
    • Component/s: XTS
    • Labels:
      None

      Description

      When WSAT Subordinate Coordinator handles a commitVolatile or a rollbackVolatile call it assumes that a commit or rollback of its durable participants has already happened and hence that the relevant outcome has been stored in the transaction (basic action) field finalStatus. This is used to parameterise a call to afterCompletion, thereby notifying any local heuristic outcome. However, if the preceding prepare call returned READ_ONLY then commitVolatile or rollbackVolatile are called without an intervening call to commit or rollback and finalStatus will not be valid. This special case needs to be detected and recorded at prepare so that commitVolatile and rollbackVolatile can hardwire call the values COMMITTED or ABORTED.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                adinn Andrew Dinn
                Reporter:
                adinn Andrew Dinn
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: