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

Investigate why SRA REQUIRES_NEW uses the incoming SRA ID as a parent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • REST
    • None

      REQUIRES_NEW transactions typically should be distinct from the incoming transaction but it seems in the code some record is made to the parent.

      Investigate if that is correct from a transactional point of view (and if so, explain why it is necessary to track the parent transaction ID).

      Is [0] a code bug? If is is a but, please update the SRA test suite [1] to verify any fixes. If it's not a code bug, please verify if any additional information is required to be added to the documentation and correct that as a bug. Otherwise this can presumably be rejected.

      [0] https://github.com/jbosstm/narayana/blob/0a08aa3/rts/at/tx/src/main/java/org/jboss/jbossts/star/client/ServerSRAFilter.java#L182
      [1] https://github.com/jbosstm/narayana/blob/main/rts/at/tx/src/test/java/org/jboss/jbossts/star/test/SRATest.java#L64

            Unassigned Unassigned
            thjenkin@redhat.com Tom Jenkinson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: