Change in ovirt-engine[master]: core: updating disks quota

gchaplik at redhat.com gchaplik at redhat.com
Sun Jul 22 13:21:29 UTC 2012


Gilad Chaplik has submitted this change and it was merged.

Change subject: core: updating disks quota
......................................................................


core: updating disks quota

Currently when moving or coping a disk, the quota snapshots
of that disk is not changed, according to the active image quota.

added a SP that updates all snapshots quota according to the new
quota by image_group_id

Change-Id: Id5468de3ef6e09fdeabee7826973fab88c0673b8
Signed-off-by: Gilad Chaplik <gchaplik at redhat.com>
---
M backend/manager/dbscripts/images_sp.sql
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MoveOrCopyImageGroupCommand.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/ImageDao.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/ImageDaoDbFacadeImpl.java
4 files changed, 21 insertions(+), 2 deletions(-)

Approvals:
  Gilad Chaplik: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id5468de3ef6e09fdeabee7826973fab88c0673b8
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>



More information about the Engine-commits mailing list