Moti Asayag has posted comments on this change.

Change subject: engine: Remove dead code from UpdateVdsGroupCommand
......................................................................


Patch Set 1:

(2 comments)

http://gerrit.ovirt.org/#/c/27831/1/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVdsGroupCommand.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVdsGroupCommand.java:

Line 84
Line 85
Line 86
Line 87
Line 88
the second part of this condition is for assigning a new data-center to the 
cluster, therefore this use case is valid and should remain.


Line 106
Line 107
Line 108
Line 109
Line 110
when data-center is being removed, its networks are being deleted as well.

when a network is being removed from the system, all of the network_clusters 
entities are removed as well (see network_cluster: "fk_network_cluster_network" 
FOREIGN KEY (network_id) REFERENCES network(id) ON DELETE CASCADE).

Therefore this is a valid case.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I0091d9afb6d4b26c4ba9fb434192a56eda9397e4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Lior Vernia <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Lior Vernia <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to