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 <[email protected]>
Gerrit-Reviewer: Alissa Bonas <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: Vered Volansky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches