[Engine-devel] Storing command parameters

Eli Mesika emesika at redhat.com
Sun Sep 8 07:44:43 UTC 2013



----- Original Message -----
> From: "Sahina Bose" <sabose at redhat.com>
> To: "Yair Zaslavsky" <yzaslavs at redhat.com>, "engine-devel" <engine-devel at ovirt.org>
> Sent: Tuesday, September 3, 2013 4:16:53 PM
> Subject: [Engine-devel] Storing command parameters
> 
> Hi all,
> 
> As part of the gluster volume asynchronous tasks, we ran into a
> requirement wherein when we start a command, we need to remember the
> parameters that the command was started with.
> 
> Is there any infrastructure available to do this, or should we build
> something?

Hi Sahina 
There is such a mechanism , it is called Compensation 
You can look at backend:compensate to see how it is used to rollback commands in the case of failure.

Yair can elaborate & help on that since he is the owner of 6this code 


> 
> thanks
> sahina
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 



More information about the Engine-devel mailing list