On Thursday, March 28, 2013 6:32:20 PM UTC-4, John Mettraux wrote:
>
>
> Hello Steve, 
>
> if I understand correctly, your process is stuck in an intermediate state 
> and 
> doesn't move off of it, right? 
>
> If that is the case then maybe, Dashboard#respark might help. 
>
>   
> https://github.com/jmettraux/ruote/blob/6aacbbb08e2b13650cee1313b21ce67e467bd995/lib/ruote/dashboard.rb#L411-L425
>  
>
> Respark was made for those "something got lost" cases, generally a reply 
> msg 
> dropping out of the truck. 
>
> If your version of ruote doesn't have respark, the manual way of doing it 
> is 
> by re-applying the process at the stuck leaf (where the message didn't 
> come 
> back), the participant will receive the workitem one more time, but 
> hopefully 
> it's not such a big cost. The alternative would be to cancel that 
> participant, the flow would go on too, but the participant implementation 
> would thus not have its take on the workitem payload. 
>
 
Thanks for the quick response!  I will give respark a try, although if it 
is implemented in terms of re-apply (rather than reply/reply_to_parent) 
then I'm not too hopeful.  I did try re-apply and cancel but they had no 
effect.  It might be relevant that the leaf nodes in this case are not 
participants, they are control expressions (one is a cursor and one is a 
subprocess).  
 
...
 
Regarding transactions, correct me if I'm wrong, a transaction would 
eliminate the need for a respark, since it wouldn't be possible for a reply 
message to get dropped like this?  Of course it could well be that 
transactions introduce enough problems of their own (such as transaction 
overhead, or observers that are non-idempotent) that it really isn't worth 
doing... I'm just trying to get a better understanding of the failure 
scenario I'm seeing.
 
 
 

-- 
-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"ruote" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to