public class SetAttachmentStorageSettingForClustersUpgradeTask extends AbstractUpgradeTask implements DatabaseUpgradeTask
Setting the attachmentDataStore to be
ConfluenceHomeGlobalConstants.ATTACHMENT_STORAGE_DATABASE.
This is because prior to this release, clusters were hard coded to use the
database for attachment storage, and this setting was ignored. This task
will ensure the setting is set to the correct value.
| Constructor and Description |
|---|
SetAttachmentStorageSettingForClustersUpgradeTask(ClusterConfigurationHelper clusterConfigurationHelper,
SettingsManager settingsManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
breaksBackwardCompatibility()
Attachment storage location setting has not effect on exports/imports
|
void |
doUpgrade()
Perform the upgrade.
|
String |
getBuildNumber() |
boolean |
runOnSpaceImport()
This doesn't apply to spaces.
|
addAllErrors, addError, addError, getConstraint, getErrors, getName, getShortDescription, isDatabaseUpgrade, setBeanName, setBuildNumber, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConstraint, getErrors, validategetName, getShortDescription, isDatabaseUpgradepublic SetAttachmentStorageSettingForClustersUpgradeTask(ClusterConfigurationHelper clusterConfigurationHelper, SettingsManager settingsManager)
public String getBuildNumber()
getBuildNumber in interface UpgradeTaskInfogetBuildNumber in class AbstractUpgradeTaskpublic void doUpgrade()
throws Exception
UpgradeTaskdoUpgrade in interface UpgradeTaskExceptionpublic boolean runOnSpaceImport()
runOnSpaceImport in interface BackupSupportpublic boolean breaksBackwardCompatibility()
breaksBackwardCompatibility in interface BackupSupportCopyright © 2003–2022 Atlassian. All rights reserved.