-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39864/
-----------------------------------------------------------
Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Jayush
Luniya.
Bugs: AMBARI-13681
https://issues.apache.org/jira/browse/AMBARI-13681
Repository: ambari
Description
-------
Previous to this patch, the code would issue an UPDATE statement for all
host_role_commands. However, this would never update the JPA-cached values
even though the db was correct. Changing each entity resulted in the desired
affect.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
7978a7a
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostRoleCommandDAO.java
14af03d
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
1806f4c
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostRoleCommandDAOTest.java
d7e9149
Diff: https://reviews.apache.org/r/39864/diff/
Testing
-------
Manual. Automated pending
Thanks,
Nate Cole