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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.10.0
    • 4.9.0
    • XTS
    • None

      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.

              rhn-engineering-adinn Andrew Dinn
              rhn-engineering-adinn Andrew Dinn
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: