Jonathan Hurley created AMBARI-20055:
----------------------------------------

             Summary: Add Upgrade Logic For Removal of clusterconfigmapping
                 Key: AMBARI-20055
                 URL: https://issues.apache.org/jira/browse/AMBARI-20055
             Project: Ambari
          Issue Type: Task
          Components: ambari-server
    Affects Versions: trunk
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Critical
             Fix For: trunk


The Ambari upgrade scripts should now perform the following operations:

- Adding the following columns / constraints to the {{clusterconfig}} table:
-- {{selected SMALLINT NOT NULL DEFAULT 0}} - whether or not the configuration 
is currently selected
-- {{selected_timestamp BIGINT NOT NULL DEFAULT 0}} - the last time that the 
configuration was marked as {{selected}}
-- A constraint preventing the same type to have more than 1 selected rows

- Finding all {{selected}} mappings in {{clusterconfigmapping}} and marked 
their associated entry in {{clusterconfig}} as {{selected}}

- Removal of the {{clusterconfigmapping}} table.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to