Michael Kublin has posted comments on this change.
Change subject: core: errors during preview of diskless snapshots
......................................................................
Patch Set 3: I would prefer that you didn't submit this
(1 inline comment)
Performance regression
....................................................
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 {
By that change u introduced regression at performance, you introduced rpc call
inside of transaction. Fix these.
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