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

LRA Coordinator goes down when a new Saga join is requested while canceling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.0.0.Final
    • LRA
    • None
    • Hide

      Steps are

      1. Service 1 calls POST /lra-coordinator/start to start a Saga.

      2. Service 2 calls PUT /lra-coordinator/{LraId} to join the Saga.

      3. Service 3 calls PUT /lra-coordinator/{LraId} to join the same Saga.

      4. A timeout exception occurs in Service 1, leading it to call PUT /lra-coordinator/{LraId}/cancel to cancel the Saga.

      5. The LRA Coordinator calls the compensation API /saga/compensate registered by Service 2 and Service 3.

      6. Service 2 receives the /saga/compensate call and begins compensating, which takes more than 2 seconds.

      7. Before step 6 is completed, Service 4 calls PUT /lra-coordinator/{LraId} to attempt to join the Saga.

      8. The LRA Coordinator crashes.

      Show
      Steps are 1. Service 1 calls POST /lra-coordinator/start to start a Saga. 2. Service 2 calls PUT /lra-coordinator/{LraId } to join the Saga. 3. Service 3 calls PUT /lra-coordinator/{LraId } to join the same Saga. 4. A timeout exception occurs in Service 1, leading it to call PUT /lra-coordinator/{LraId}/cancel to cancel the Saga. 5. The LRA Coordinator calls the compensation API /saga/compensate registered by Service 2 and Service 3. 6. Service 2 receives the /saga/compensate call and begins compensating, which takes more than 2 seconds . 7. Before step 6 is completed , Service 4 calls PUT /lra-coordinator/{LraId } to attempt to join the Saga. 8. The LRA Coordinator crashes.

      The server crashes when a new Saga Join request is received within 2 seconds of the LRA Coordinator starting to cancel and the status is still "Canceling."

              rh-ee-msappegr Marco Sappe Griot
              gaedong.kim@ibm.com Gaedong Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: