[ovirt-devel] Re: Is using CompensationContext in child commands broken?

2018-08-21 Thread Moti Asayag
Hi, When you invoke a child command you can specify a specific command context for the child command to be executed with: [1] https://github.com/oVirt/ovirt-engine/blob/31fbb4cb48c7208e6b37c5c0e27560599e15cef9/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java#L2

[ovirt-devel] Re: Is using CompensationContext in child commands broken?

2018-08-16 Thread Martin Perina
As Ravi is on PTO till end of August, Moti could you please take a look and reply? On Thu, Aug 16, 2018 at 6:21 PM, Andrej Krejcir wrote: > Hi, > > I'm changing UpdateClusterCommand to be non-transactive, > and it would use CompensationContext for reverting DB operations. > > Reading through Com