Maor Lipchuk has posted comments on this change.

Change subject: core: avoid disconnecting from used connections
......................................................................


Patch Set 3:

(1 comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/ISCSIStorageHelper.java
Line 118:         }
Line 119:         return (List<StorageServerConnections>) 
CollectionUtils.subtract(connections, toRemove);
Line 120:     }
Line 121: 
Line 122:     private void 
fillConnectionDetailsIfNeeded(StorageServerConnections connection) {
What did u decided about the comment?
Line 123:         if (connection.getid() == null) {
Line 124:             List<StorageServerConnections> dbConnections = 
DbFacade.getInstance().getStorageServerConnectionDao().getAllForConnection(connection);
Line 125:             if (!dbConnections.isEmpty()) {
Line 126:                 connection.setid(dbConnections.get(0).getid());


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I7008e64ebce57fbbdb350810a5ffca6e0a7800cc
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Alissa Bonas <abo...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgot...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to