[AGENT++] Question on SET processing

Frank Fock fock at agentpp.com
Fri Jul 15 08:08:15 CEST 2005


Hi Marcus,

This behavior is intended, since a UNDO is always the last step in a 2PC,
it should also free resources. A good implementation approach is to
implement a method for freeing the resources and call it from both
the UNDO and the CLEANUP.

Best regards,
Frank

Fehde, Marcus wrote:

>Hi @ all,
>
>I have a question regarding the SET-request processing phases and the invocation of the associated of MibEntry undo_set_request()-method.
>I observe that if the COMMIT fails UNDO is called, but CLEANUP is omitted. This behavior is not comprehensible for me.
>I would expect that I'm always freeing allocated resources in the cleanup_set_request()-method. Otherwise I would have to free resources in undo_set_request() as well, depending on the passed phases of the SET processing. Is this behavior intended?
>
>
>Best regards/Mit freundlichen Gruessen 
>Marcus Fehde
>Dipl. Ing. Technische Informatik (FH)
>Research & Development 
>Business Unit Anaesthesia 
>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
>DRÄGER MEDICAL 
>Dräger Medical AG & Co. KGaA 
>Moislinger Allee 53-55 
>D-23542 Lübeck 
>Tel:  + 49-451-882-3646 
>Fax: + 49-451-882-4410 
>E-mail: marcus.fehde at draeger.com 
>www.draeger-medical.com 
>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/agentpp
>
>
>  
>





More information about the AGENTPP mailing list