Douglas Schilling Landgraf has posted comments on this change.

Change subject: oVirt Node Upgrade: Support N configuration
......................................................................


Patch Set 22:

(5 comments)

http://gerrit.ovirt.org/#/c/14756/22/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetoVirtISOsQuery.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetoVirtISOsQuery.java:

Line 96
Line 97
Line 98
Line 99
Line 100
> HI Alon, not sure why it is there - I guess the solver of some bug (you can
Indeed BZ#842767 was the original bug of BZ#911347. However, we don't have 
similar method in UI.


Line 96
Line 97
Line 98
Line 99
Line 100
> to be consistent:
agreed for your cleaner shouldAdd version.


Line 91:                             if 
(VdsHandler.isIsoVersionCompatibleForUpgrade(vdsOsVersion, isoVersion)) {
Line 92:                                 shouldAdd = true;
Line 93:                             }
Line 94:                         } else {
Line 95:                             shouldAdd = true;
> isn't that an error? if non of the above match.
Agreed
Line 96:                         }
Line 97: 
Line 98:                         if (shouldAdd) {
Line 99:                             availableISOsList.add(isoVersion);


Line 123:             "cluster major {0} minor {1} iso major {2} minor {3}",
Line 124:             vdsClusterVersion.getMajor(),
Line 125:             vdsClusterVersion.getMinor(),
Line 126:             isoClusterVersion.getMajor(),
Line 127:             isoClusterVersion.getMinor()
> isn't there toString() for these objects?
No need.
Line 128:         );
Line 129:         return (vdsClusterVersion.getMajor() == 
isoClusterVersion.getMajor() && vdsClusterVersion.getMinor() <= 
isoClusterVersion.getMinor());
Line 130:     }
Line 131: 


http://gerrit.ovirt.org/#/c/14756/22/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/OVirtNodeInfo.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/OVirtNodeInfo.java:

Line 26:     private List<Entry> info;
Line 27: 
Line 28:     public static synchronized OVirtNodeInfo getInstance() {
Line 29:         if (instance == null) {
Line 30:             instance = new OVirtNodeInfo();
> please add sync protection, see EngineLocalConfig.
Done
Line 31:         }
Line 32:         return instance;
Line 33:     }
Line 34: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ibfb9dc5d0dc8780b519107acbe0ae866831f782c
Gerrit-PatchSet: 22
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsl...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Barak Azulay <bazu...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsl...@redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabi...@fedoraproject.org>
Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@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