Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19031

When camel saga do compensated, the saga route don't stop it still run the next task.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.19.0
    • 3.14.8, 3.18.6, 3.20.3, 3.x, 4.0-M2
    • None
    • Patch Available
    • Advanced
    • Important

    Description

      The problem is : I find that when actionA is timeout and it executed compensated, In theory the saga route should be stopped, not continue to call the next actionB.  In my test show that when the first task can't complete before its timeout, it will run compensation but the saga route don't stop, it still run second task and third task. In my opinion, I think when the first task can't complete and run compensation, the second and third task shouldn't run.  [Test Code|https://github.com/chen19980/SAGA_timeout_test]

      Attachments

        1. SagaTest.jpg
          119 kB
          adam chen
        2. RouteCode.jpg
          190 kB
          adam chen
        3. InMemorySagaCoordinator.patch
          0.9 kB
          Zheng Feng
        4. 2023-02-13 17 04 02-1.jpg
          577 kB
          adam chen
        5. 2023-02-13 17 04 02.jpg
          577 kB
          adam chen
        6. 2023-02-13 17 03 13-2.jpg
          478 kB
          adam chen
        7. 2023-02-13 17 03 13-1.jpg
          478 kB
          adam chen
        8. 2023-02-13 17 03 13.jpg
          478 kB
          adam chen

        Issue Links

          Activity

            People

              zhfeng Zheng Feng
              chen19980 adam chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 120h
                  120h
                  Remaining:
                  Remaining Estimate - 120h
                  120h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified