Daniel Erez has posted comments on this change.

Change subject: core: allow identical path for different local domains
......................................................................


Patch Set 2:

(1 comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/StorageServerConnectionCommandBase.java
Line 64: 
Line 65:     protected boolean 
isConnWithSameDetailsExists(StorageServerConnections connection) {
Line 66:         List<StorageServerConnections> connections = null;
Line 67:         if (connection.getstorage_type() == StorageType.LOCALFS) {
Line 68:             Guid storagePoolId = 
getStoragePoolIdByConnId(connection.getid());
If a vds is not specified, how can I know for which storage pool the connection 
is created? If the connection is created without a dc constraint, then it's 
simply a floating connection, i.e. validation is redundant... So the solution 
can be just removing the validation at all for local?
Line 69:             connections = storagePoolId == null ? 
Collections.<StorageServerConnections> emptyList() :
Line 70:                     
getStorageConnDao().getAllConnectableStorageSeverConnection(storagePoolId);
Line 71:         }
Line 72:         else if (connection.getstorage_type().isFileDomain()) {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I4628d7fa442b959d5582e44386f31518b98852e7
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <de...@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: 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