public class

UpgradeTask_Build64016

extends DropIndexTask
java.lang.Object
   ↳ com.atlassian.jira.upgrade.AbstractUpgradeTask
     ↳ com.atlassian.jira.upgrade.AbstractDelayableUpgradeTask
       ↳ com.atlassian.jira.upgrade.tasks.DropIndexTask
         ↳ com.atlassian.jira.upgrade.tasks.UpgradeTask_Build64016

Class Overview

This upgrade task comes with a little bit of history. We started with two indexes on `entity_property` table, these indexes were entityproperty_entity(entityName, entityId) and entityproperty_key(propertyKey). When developing entity properties during JIRA 6.2 we created entity_property_identiti(entityName, entityId, propertyKey) to assure that the search on these three columns is performing well. However, we didn't drop the entityproperty_entity and entityproperty_key until late phases of 6.4 developments. The drop run on OD and for clients who upgraded to 6.4.0 (the drop was called UpgradeTask_Build64013). Which is when we discovered that this was actually wrong and we have to restore entityproperty_entity(entityName, entityId) entityproperty_key(propertyKey) and drop the entity_property_identiti. UpgradeTask_Build64013 is removed so it doesn't run for clients who didn't do the upgrade. This upgrade task completes the cycle and restore the order two indexes on (entityName, entityId) and (propertyKey).

Summary

Public Constructors
UpgradeTask_Build64016()
Public Methods
void doUpgrade(boolean setupMode)
String getBuildNumber()
String getShortDescription()
boolean isDowngradeTaskRequired()
[Expand]
Inherited Methods
From class com.atlassian.jira.upgrade.tasks.DropIndexTask
From class com.atlassian.jira.upgrade.AbstractDelayableUpgradeTask
From class com.atlassian.jira.upgrade.AbstractUpgradeTask
From class java.lang.Object
From interface com.atlassian.jira.upgrade.UpgradeTask

Public Constructors

public UpgradeTask_Build64016 ()

Public Methods

public void doUpgrade (boolean setupMode)

Throws
Exception

public String getBuildNumber ()

public String getShortDescription ()

public boolean isDowngradeTaskRequired ()