-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32812/
-----------------------------------------------------------
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-10349
https://issues.apache.org/jira/browse/AMBARI-10349
Repository: ambari
Description
-------
When creating a Version, if a user accidentally, or unknowingly uses the same
repo, or a repo that has RPM's with the same version as the current Version, it
can be installed successfully. The result is that rolling upgrades will fail as
the versions show up the same in hdp-select because the packages are the same.
Validate either on Version "registration" or on attempted Version "install"
that the software in the repository match an already existing registered
version.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProvider.java
dbad19a
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java
4efdb0c
Diff: https://reviews.apache.org/r/32812/diff/
Testing
-------
in progress
Thanks,
Dmitro Lisnichenko