[
https://issues.apache.org/jira/browse/AMBARI-18255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15437694#comment-15437694
]
Hudson commented on AMBARI-18255:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #5590 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/5590/])
AMBARI-18255. Add unique constraint to host_version table (ncole) (ncole:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=bd8587849eb99baa187d5a84f4829e3f642104fc])
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/upgrade/SchemaUpgradeHelper.java
* (edit)
ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* (add)
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostVersionEntity.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/events/listeners/upgrade/HostVersionOutOfSyncListener.java
* (add)
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
* (edit)
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostVersionDAOTest.java
* (edit) ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql
* (edit) ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* (edit) ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* (edit) ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
> Add unique constraint to host_version table
> -------------------------------------------
>
> Key: AMBARI-18255
> URL: https://issues.apache.org/jira/browse/AMBARI-18255
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Reporter: Nate Cole
> Assignee: Nate Cole
> Priority: Critical
> Fix For: trunk
>
> Attachments: AMBARI-18255.patch
>
>
> The software is allowing duplicate records into the {{host_version}} table.
> This should be constrained in the db.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)