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

AT and BA Participant engines are changing state too early at PREPARE/COMPLETE

    Details

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

      Description

      The AT participant engine which handles a prepare request from the coordinator is changing state fro PREPARING to PREPARED before writing the AT participant log record to disk. The writing thread will not post PREPARED to the coordinator until it has completed the write. However, if the write takes a long time then a resend of PREPARE will be returned result PREPARED before the write has actually completed. The state transition to PREPARED should only occur once the log record write is completed.

      The same problem affects the BA participants when making the transition from state CIMPLETING to COMPLETED.

        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: