Liron Aravot has posted comments on this change.

Change subject: core: TryBackToAllSnapshots- use filtered disks
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TryBackToAllSnapshotsOfVmCommand.java
Line 212:                         && 
validate(snapshotsValidator.snapshotExists(snapshot))
Line 213:                         && 
validate(snapshotsValidator.snapshotNotBroken(snapshot));
Line 214: 
Line 215:         Collection<DiskImage> diskImages =
Line 216:                 
ImagesHandler.filterImageDisks(getVm().getDiskMap().values(), false, true);
1. just note - the filtering in perform images check is done with true, 
false..while here it's with false, true parameters. no problem with that?

2.  i guess that the disk load on line 203 can be moved here as well.
Line 217:         if (!diskImages.isEmpty()) {
Line 218:             result =
Line 219:                     result
Line 220:                             && validate(new 
StoragePoolValidator(getStoragePool()).isUp())


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I18edb75723b7f6019864e0fcabde49bdb26b53f1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Alissa Bonas <abo...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: Vered Volansky <vvola...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to