|Constructor and Description|
|Modifier and Type||Method and Description|
Checks if delayed upgrades are handled by the cluster.
Checks if upgrades are allowed to run in the cluster.
This does not return the most up to date state of the cluster.
public UpgradeState getDatabaseUpgradeState()
DefaultClusterUpgradeStateManager.AUTO_TRANSITION_STATESthen you should use
public boolean areDelayedUpgradesHandledByCluster()
Delayed upgrade tasks are handled by the cluster when
turned on and cluster is not in
UpgradeState.STABLE. In non-clustered environment
this will always return false
public boolean areUpgradesAllowedByCluster()
The difference to
DatabaseUpgradeStateManager.areDelayedUpgradesHandledByCluster() is that it will allow running upgrade tasks
when the cluster state currently allows running upgrade tasks during normal Zero Downtime Upgrades operation.
Copyright © 2002-2021 Atlassian. All Rights Reserved.