Allon Mureinik has posted comments on this change.
Change subject: core: Support undoing diskless previews
......................................................................
Patch Set 7: (3 inline comments)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RestoreAllSnapshotsCommand.java
Line 111: }
Original flow was broken IMHO:
1 - no tasks => failure. Fair enougth [although we're inrtentionally changing
it now]
2. Some tasks => success, but update the last fault regardless of whether it
was a success or not, either masking or not masking the a real failure
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmCommand.java
Line 258: protected void endActionOnVmConfiguration() {
This is called at the end of an syncTask.
Before firing an asyncTask you should lock the VM in the database.
I think if this doesn't happen an NPE is the least of our concerns - but I get
your point - perhaps this isn't the best time to rock the baot.
I'll put it back since it really isn't a part of this patch, and we can handle
it later.
....................................................
Commit Message
Line 10: on disks.
Done
--
To view, visit http://gerrit.ovirt.org/6676
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic62eee3cfb03abd21905ad6aa132c8cc10dbfb70
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[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: Omer Frenkel <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches