essobedo commented on PR #9344:
URL: https://github.com/apache/camel/pull/9344#issuecomment-1433044815

   > @essobedo Did you check this 
[discussion](https://narayana.zulipchat.com/#narrow/stream/323714-users/topic/Saga.20timeout.20value.20depend.20on.20what.20.3F)
 on narayana zulip?
   > 
   > > When a participant joins an existing LRA it is allowed to specify a new 
timeout, provided it is earlier than the one currently in effect, because the 
ability of a participant to be able to compensate may be time bound, i.e. if 
the new timelimit is earlier than the current one than it becomes the new limit 
and the LRA will be cancelled when the limit is reached if still active.
   > 
   > I think it follows the LRA Spec [1]
   > 
   > [1] 
https://download.eclipse.org/microprofile/microprofile-lra-2.0-RC1/microprofile-lra-spec-2.0-RC1.html#timing-out-lras-and-compensators
   
   No I didn't but it is not even the behavior, we have right now, instead of 
replacing an existing timeout, the timeout is extended. I mean, if I have 2 
participants, and the timeouts set are 2 s for the first participant and 1 s 
for the second participant, instead of having the minimum of the 2 timeouts 
which is 1 s, we have the minimum of (2 s and the time of the first action + 1 
s).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to