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

Ship it!


Ship It!

- Myroslav Papirkovskyy


On Травень 28, 2015, 9:40 після полудня, Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34777/
> -----------------------------------------------------------
> 
> (Updated Травень 28, 2015, 9:40 після полудня)
> 
> 
> Review request for Ambari and Myroslav Papirkovskyy.
> 
> 
> Bugs: AMBARI-11498
>     https://issues.apache.org/jira/browse/AMBARI-11498
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 20% of server resources are spent for execution 
> hostVersionDAO.findByHostAndStateCurrent() , added check if host version 
> requested, if no - no need to execute DB query.
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostComponentResourceProvider.java
>  818147b 
>   ambari-server/src/main/resources/META-INF/persistence.xml 4b30c0c 
>   
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostComponentResourceProviderTest.java
>  f6898e9 
> 
> Diff: https://reviews.apache.org/r/34777/diff/
> 
> 
> Testing
> -------
> 
> unit tests passed
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>

Reply via email to