Change in ovirt-engine[master]: Engine: Set correct storage id for snapshots

shavivi at redhat.com shavivi at redhat.com
Sun Jul 1 14:06:54 UTC 2012


Shahar Havivi has submitted this change and it was merged.

Change subject: Engine: Set correct storage id for snapshots
......................................................................


Engine: Set correct storage id for snapshots

Snapshots are stored with storage id, but the storage id can be change if
the disk-image move to other storage domain.
This patch remove the storages id before persisting the snapshot to db
and set the correct storages id when reading the snapshot from db.

Change-Id: I579838d688e11fbef3beb96ddb876447fe36ab65
Signed-off-by: Shahar Havivi <shavivi at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/SnapshotsManager.java
1 file changed, 14 insertions(+), 6 deletions(-)

Approvals:
  Shahar Havivi: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I579838d688e11fbef3beb96ddb876447fe36ab65
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Sharad Mishra <snmishra at linux.vnet.ibm.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list