Source:
public void updatingTimerElapsed() { try { synchronized (syncObj) { if (!_disposed) { StoragePool storagePool = DbFacade.getInstance().getStoragePoolDao() .get(_storagePoolId); if (storagePool != null) { boolean poolStatusDeterminedByHostsStatus = FeatureSupported.dataCenterWithoutSpm(storagePool.getCompatibilityVersion()); if (hasOnlyGlusterCluster()) { if (storagePool.getStatus() != StoragePoolStatus.Up) { updateStoragePoolStatus(storagePool.getId(), StoragePoolStatus.Up, AuditLogType.SYSTEM_CHANGE_STORAGE_POOL_STATUS_UP_ONLY_GLUSTER, null); } return; } else if (DbFacade.getInstance() .getVdsDao() .getAllForStoragePoolAndStatuses(_storagePoolId, StoragePoolDomainHelper.vdsDomainsActiveMonitoringStatus) .isEmpty()) { StoragePoolDomainHelper.updateApplicablePoolDomainsStatuses(_storagePoolId, StoragePoolDomainHelper.storageDomainMonitoredStatus, StorageDomainStatus.Unknown, "no reporting hosts"); if (poolStatusDeterminedByHostsStatus && storagePool.getStatus() != StoragePoolStatus.NonResponsive) { updateStoragePoolStatus(storagePool.getId(), StoragePoolStatus.NonResponsive, AuditLogType.SYSTEM_CHANGE_STORAGE_POOL_STATUS_NON_RESPONSIVE_NO_REPORTING_HOSTS, EngineError.ENGINE); } } else if (poolStatusDeterminedByHostsStatus && storagePool.getStatus() != StoragePoolStatus.Up) { updateStoragePoolStatus(storagePool.getId(), StoragePoolStatus.Up, AuditLogType.SYSTEM_CHANGE_STORAGE_POOL_STATUS_UP_REPORTING_HOSTS, null); } if (storagePool.getStatus() == StoragePoolStatus.Up || storagePool.getStatus() == StoragePoolStatus.NonResponsive || storagePool.getStatus() == StoragePoolStatus.Contend) { if (!poolStatusDeterminedByHostsStatus) { proceedStoragePoolStats(storagePool); } else { List<StorageDomain> storageDomains = DbFacade.getInstance().getStorageDomainDao() .getAllForStoragePool(storagePool.getId()); domainsInMaintenanceCheck(storageDomains, storagePool); } } } } } } catch (Exception ex) { } }

Target:
public void updatingTimerElapsed() { try { synchronized (syncObj) { if (!_disposed) { StoragePool storagePool = DbFacade.getInstance().getStoragePoolDao() .get(_storagePoolId); if (storagePool != null) { if (hasOnlyGlusterCluster()) { if (storagePool.getStatus() != StoragePoolStatus.Up) { updateStoragePoolStatus(storagePool.getId(), StoragePoolStatus.Up, AuditLogType.SYSTEM_CHANGE_STORAGE_POOL_STATUS_UP_ONLY_GLUSTER, null); } return; } boolean poolStatusDeterminedByHostsStatus = FeatureSupported.dataCenterWithoutSpm(storagePool.getCompatibilityVersion()); if (DbFacade.getInstance() .getVdsDao() .getAllForStoragePoolAndStatuses(_storagePoolId, StoragePoolDomainHelper.vdsDomainsActiveMonitoringStatus) .isEmpty()) { StoragePoolDomainHelper.updateApplicablePoolDomainsStatuses(_storagePoolId, StoragePoolDomainHelper.storageDomainMonitoredStatus, StorageDomainStatus.Unknown, "no reporting hosts"); if (poolStatusDeterminedByHostsStatus && storagePool.getStatus() != StoragePoolStatus.NonResponsive) { updateStoragePoolStatus(storagePool.getId(), StoragePoolStatus.NonResponsive, AuditLogType.SYSTEM_CHANGE_STORAGE_POOL_STATUS_NON_RESPONSIVE_NO_REPORTING_HOSTS, EngineError.ENGINE); } } else if (poolStatusDeterminedByHostsStatus && storagePool.getStatus() != StoragePoolStatus.Up) { updateStoragePoolStatus(storagePool.getId(), StoragePoolStatus.Up, AuditLogType.SYSTEM_CHANGE_STORAGE_POOL_STATUS_UP_REPORTING_HOSTS, null); } if (storagePool.getStatus() == StoragePoolStatus.Up || storagePool.getStatus() == StoragePoolStatus.NonResponsive || storagePool.getStatus() == StoragePoolStatus.Contend) { if (!poolStatusDeterminedByHostsStatus) { proceedStoragePoolStats(storagePool); } else { List<StorageDomain> storageDomains = DbFacade.getInstance().getStorageDomainDao() .getAllForStoragePool(storagePool.getId()); domainsInMaintenanceCheck(storageDomains, storagePool); } } } } } } catch (Exception ex) { } }