ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <>
Subject [jira] [Created] (AMBARI-21549) Ambari upgrade should update unique constraints
Date Fri, 21 Jul 2017 14:47:00 GMT
Dmitry Lysnichenko created AMBARI-21549:

             Summary: Ambari upgrade should update unique constraints
                 Key: AMBARI-21549
             Project: Ambari
          Issue Type: Bug
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko

When upgrading Ambari from 2.2.2 to 2.5 it was discovered that if a unique constraint is modified
between Ambari versions, then we do not update the unique constraint.

For example:
*Ambari 2.2.2*
ALTER TABLE users ADD CONSTRAINT UNQ_users_0 UNIQUE (user_name, ldap_user);

CONSTRAINT UNQ_users_0 UNIQUE (user_name, user_type))

Whenever after upgrading from Ambari 2.2.2 to Ambari 2.5.0, the unique constraint is not updated.

This message was sent by Atlassian JIRA

View raw message