
----- Original Message -----
From: "Sahina Bose" <sabose@redhat.com> To: "Yair Zaslavsky" <yzaslavs@redhat.com>, "engine-devel" <engine-devel@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel