Omer Frenkel has submitted this change and it was merged.

Change subject: engine: Add quota validation support commandBase
......................................................................


engine: Add quota validation support commandBase

In the next patch, I added support in command base for quota
consumption.

Quota consumption assembled with several phasas, and count on a delta
memory map mechanism, described in the quota manager.

The validation start with the method validateQuota, which update
the delta map with the size supposed to be consume in the process about
to be executed.
After the operation finishes, whether it succeeded or not, the delta
that was saved before is removed from the memory map by calling remove
quota left over method.

Change-Id: Ie1f25eb05266ba7e0b777fb7ad3d138a99fd1477
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
1 file changed, 10 insertions(+), 1 deletion(-)

Approvals:
  Omer Frenkel: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/2097
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie1f25eb05266ba7e0b777fb7ad3d138a99fd1477
Gerrit-PatchSet: 16
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to