Allon Mureinik has posted comments on this change.

Change subject: core: determine wether domain monitoring result is actual
......................................................................


Patch Set 2: Code-Review+1

(3 comments)

https://gerrit.ovirt.org/#/c/38039/2/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/IrsProxyData.java
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/IrsProxyData.java:

Line 1225:             return actual() && valid;
Line 1226:         }
Line 1227: 
Line 1228:         public boolean invalid() {
Line 1229:             return actual() && !valid;
so a resposnse can be neither valid nor invalid if it isn't actual, right?
Line 1230:         }
Line 1231: 
Line 1232:         public boolean actual() {return this != NOT_ACTUAL;}
Line 1233:     }


Line 1234: 
Line 1235:     private DomainMonitoringResult 
analyzeDomainReport(VDSDomainsData tempData, StoragePool storagePool, boolean 
isLog) {
Line 1236:         if (!tempData.isActual() &&
Line 1237:                 
FeatureSupported.reportWhetherDomainMonitoringResultIsActual(storagePool.getCompatibilityVersion()))
 {
Line 1238:             log.error("Domain '{}' report isn't an actual report",
I'd log.warn here - this isn't an error per-se
Line 1239:                     getDomainIdTuple(tempData.getDomainId()));
Line 1240:             return DomainMonitoringResult.NOT_ACTUAL;
Line 1241:         }
Line 1242: 


https://gerrit.ovirt.org/#/c/38039/2/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql
File packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql:

Line 211: select 
fn_db_add_config_value_for_versions_up_to('HotPlugDiskSnapshotSupported', 
'false', '3.2');
Line 212: select fn_db_add_config_value_for_versions_up_to('GetFileStats', 
'false', '3.3');
Line 213: select 
fn_db_add_config_value_for_versions_up_to('DefaultRouteSupported', 'false', 
'3.3');
Line 214: select 
fn_db_add_config_value_for_versions_up_to('SerialNumberPolicySupported', 
'false', '3.4');
Line 215: select 
fn_db_add_config_value_for_versions_up_to('ReportWhetherDomainMonitoringResultIsActual',
 'false', '3.5');
Are you sure this should be 3.5 and not 3.4?
Line 216: 
Line 217: select 
fn_db_add_config_value_for_versions_up_to('OvfStoreOnAnyDomain', 'false', 
'3.4');
Line 218: select fn_db_add_config_value_for_versions_up_to('BootMenuSupported', 
'false', '3.4');
Line 219: 


-- 
To view, visit https://gerrit.ovirt.org/38039
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Iddbba94d81694bd6cb1ce3648872eb81182a50ab
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
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