-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61414/
-----------------------------------------------------------
Review request for Ambari, Dmytro Grinenko, Dmitro Lisnichenko, and Nate Cole.
Bugs: AMBARI-21656
https://issues.apache.org/jira/browse/AMBARI-21656
Repository: ambari
Description
-------
When creating a downgrade from either a {{PATCH}} or {{SERVICE}} upgrade, the
following is observed:
- Things like "set version on all hosts" runs
- The upgrade "services" structure is empty, indicating an entire cluster is
being downgraded
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/VersionDefinitionResourceProvider.java
629f3cd771
ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryType.java
215cab85cf
ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeContext.java
8bf0400753
Diff: https://reviews.apache.org/r/61414/diff/1/
Testing
-------
PENDING... still need to write the UTs to cover the UpgradeContext being
initialized correctly on DOWNGRADE.
Thanks,
Jonathan Hurley