Class UpgradeTask2191UpdateHsqlHibernateProperties
java.lang.Object
com.atlassian.crowd.upgrade.tasks.UpgradeTask2191UpdateHsqlHibernateProperties
- All Implemented Interfaces:
UpgradeTask
Upgrade task which migrates HSQL from MVCC transaction mode to read uncommitted transaction isolation level. This should
fix deadlocks which occur when multiple concurrent requests are made to the database. Production instances are not expected
to be affected as HSQL should be used in test contexts only.
- Since:
- 6.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionUpgradeTask2191UpdateHsqlHibernateProperties(com.atlassian.config.internal.ApplicationConfig applicationConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoidPerform the upgrade.intA short (less than 50 chars) description of the upgrade actionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.crowd.upgrade.tasks.UpgradeTask
getErrors
-
Constructor Details
-
UpgradeTask2191UpdateHsqlHibernateProperties
public UpgradeTask2191UpdateHsqlHibernateProperties(com.atlassian.config.internal.ApplicationConfig applicationConfig)
-
-
Method Details
-
getBuildNumber
public int getBuildNumber()- Specified by:
getBuildNumberin interfaceUpgradeTask- Returns:
- The build number that this upgrade is applicable to.
-
getShortDescription
Description copied from interface:UpgradeTaskA short (less than 50 chars) description of the upgrade action- Specified by:
getShortDescriptionin interfaceUpgradeTask- Returns:
- description of upgrade task.
-
doUpgrade
Description copied from interface:UpgradeTaskPerform the upgrade.- Specified by:
doUpgradein interfaceUpgradeTask- Throws:
Exception- is thrown if any errors occur during the upgrade process.
-