Doroszlai, Attila created AMBARI-21397:
------------------------------------------

             Summary: Remove previous upgrades to allow schema change
                 Key: AMBARI-21397
                 URL: https://issues.apache.org/jira/browse/AMBARI-21397
             Project: Ambari
          Issue Type: Task
          Components: ambari-server
    Affects Versions: 2.5.2
            Reporter: Doroszlai, Attila
            Assignee: Doroszlai, Attila
            Priority: Blocker
             Fix For: 2.5.2


AMBARI-21358 introduced schema change to allow tracking upgrade between 
repository versions instead of free text "version" descriptors.  Ambari Server 
upgrade currently fails because of this schema change if there are any previous 
upgrades.  It's not worth trying to fix the data, and the repositories required 
for the foreign keys may not even be there anymore.  So we should remove 
{{upgrade}}, all child data ({{upgrade_group}}, {{upgrade_item}}, 
{{servicecomponent_history}}), and the reference from {{clusters}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to