Maor Lipchuk has uploaded a new change for review. 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(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/97/2097/1 -- To view, visit http://gerrit.ovirt.org/2097 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie1f25eb05266ba7e0b777fb7ad3d138a99fd1477 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Maor Lipchuk <mlipc...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches