-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60050/
-----------------------------------------------------------

Review request for Ambari, Sandor Magyari, Sumit Mohanty, and Sebastian Toader.


Bugs: AMBARI-21240
    https://issues.apache.org/jira/browse/AMBARI-21240


Repository: ambari


Description
-------

Remove orphaned `topology_logical_request` and `topology_request`.


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java
 e0a496509e9256d5ca550e7dd79ae0cd0fb5882b 
  
ambari-server/src/main/java/org/apache/ambari/server/topology/PersistedStateImpl.java
 a8b202e31b390f483d6ed1aee470179f519388a8 


Diff: https://reviews.apache.org/r/60050/diff/1/


Testing
-------

Functional test:

 * up/downscale by 1 host (verify topology request is removed)
 * upscale by 2 hosts, downscale by 1 host (verify topology request is retained)
 * upscale by 2 hosts with 1 pending, downscale by 1 host (verify topology 
request is retained)
 * upscale by 3 hosts with 1 pending, remove pending host assignments (verify 
topology request is retained)
 * upscale by 3 hosts with 3 pending, remove pending host assignments (verify 
topology request is removed)
 * restart Ambari Server (verify no database error reported)

Unit tests:

```
Tests run: 4982, Failures: 0, Errors: 0, Skipped: 39
```


Thanks,

Attila Doroszlai

Reply via email to