Mike Kolesnik has posted comments on this change.
Change subject: [DO NOT SUBMIT] core: Migrate snapshots data & start using table
......................................................................
Patch Set 5: (5 inline comments)
i
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateAllSnapshotsFromVmCommand.java
Line 124: } else {
This code was extracted as part of live snapshot work, but anyway I added
javadoc there.
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateSnapshotCommand.java
Line 136:
image.setvm_snapshot_id(DbFacade.getInstance().getSnapshotDao().getId((Guid)
getParameters().getEntityId(), SnapshotType.ACTIVE));
I remove this code, it is incorrect
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TryBackToAllSnapshotsOfVmCommand.java
Line 88: "Active VM before the preview",
I think if it's in snapshot's table, it would be stating the obvious.. no?
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmHandler.java
Line 202: vm.setstatus(VMStatus.Down);
I need unlock to propagate to the object too, not only to the DB..
UnLockVM will only update to Down in the DB..
....................................................
File
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
Line 1232:
vmNewDynamicData.setapp_list(vmToUpdate.argvalue.getapp_list());
Yes when snapshot is taken this info is taken from VM.
No need to update this real-time
--
To view, visit http://gerrit.ovirt.org/2314
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I0fa10e27736b05cf95fac22d088156b83de0747c
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Muli Salem <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches