Arik Hadas has posted comments on this change.

Change subject: core: Use correct validation for SD selection
......................................................................


Patch Set 10:

(1 comment)

http://gerrit.ovirt.org/#/c/31488/10/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateAllSnapshotsFromVmCommand.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateAllSnapshotsFromVmCommand.java:

Line 72:     private Guid cachedStorageDomainId = Guid.Empty;
Line 73:     private String cachedSnapshotIsBeingTakenMessage;
Line 74:     private Guid newActiveSnapshotId = Guid.newGuid();
Line 75:     private MemoryImageBuilder memoryBuilder;
Line 76:     private Guid memorySdId;
> why do we need to have this field while we have cachedStorageDomainId ?
I think that either the caching should be remove or we should call the 
getStorageDomainIdForVmMemory as we did before and remove this field
Line 77: 
Line 78:     /** The size for the snapshot's meta data which is vm related 
properties at the
Line 79:      *  time the snapshot was taken */
Line 80:     private static final long META_DATA_SIZE_IN_BYTES = 10 * 1024;


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iac901a638358b9b08bcc6992d783a42cbfcd9bfa
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vered Volansky <vvola...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Vered Volansky <vvola...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to