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(a)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(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi(a)redhat.com>
Gerrit-Reviewer: Sharad Mishra <snmishra(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>