You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "adam chen (Jira)" <ji...@apache.org> on 2023/02/13 09:22:00 UTC

[jira] [Comment Edited] (CAMEL-19031) When camel saga do compensated, the saga route don't stop it still run the next task.

    [ https://issues.apache.org/jira/browse/CAMEL-19031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17687829#comment-17687829 ] 

adam chen edited comment on CAMEL-19031 at 2/13/23 9:21 AM:
------------------------------------------------------------

[~zhfeng]  This is my test result.

!2023-02-13 17 03 13.jpg|width=559,height=264!!2023-02-13 17 04 02.jpg|width=561,height=227!

I think that the test result is right. And the result also throw exception, is it a normal condition ? How do you think about this test result?


was (Author: JIRAUSER298919):
[~zhfeng]  This is my test result.

!2023-02-13 17 03 13.jpg|width=506,height=239!

!2023-02-13 17 04 02.jpg|width=509,height=206!

I think that the test result is right. And the result also throw exception, is it a normal condition ? How do you think about this test result?

> When camel saga do compensated, the saga route don't stop it still run the next task.
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-19031
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19031
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 3.19.0
>            Reporter: adam chen
>            Assignee: Zheng Feng
>            Priority: Major
>         Attachments: 2023-02-13 17 03 13-1.jpg, 2023-02-13 17 03 13-2.jpg, 2023-02-13 17 03 13.jpg, 2023-02-13 17 04 02-1.jpg, 2023-02-13 17 04 02.jpg, InMemorySagaCoordinator.patch, RouteCode.jpg, SagaTest.jpg
>
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> 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 {color:#ff0000}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{color}. 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]]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)