Michael Kublin has posted comments on this change.

Change subject: core: errors during preview of diskless snapshots
......................................................................


Patch Set 3: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TryBackToAllSnapshotsOfVmCommand.java
Line 142:                 
snapshotsManager.removeAllIllegalDisks(previousActiveSnapshotId, 
getVm().getId());
Line 143:                 // if there are no images we can should restore the 
config now so it'll be executed within the transaction.
Line 144:                 if (!images.isEmpty()) {
Line 145:                     getCompensationContext().stateChanged();
Line 146:                 } else {
You don't understand, I don't care what is a purpose, you can not add a code 
which can stack transaction to couple of minutes. You not just influence on 
performance of your scenario, but on all system. Transaction is common resource.
Line 147:                     restoreVmConfigFromSnapshot();
Line 148:                 }
Line 149:                 return null;
Line 150:             }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I6e8edc74bc34676f526dfd24d2f89eb60d8acf2e
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Vered Volansky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to