ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-11498) Perf: Skip calling hostVersionDAO by HostComponentResourceProvider if host_version isn't requested
Date Thu, 28 May 2015 18:37:19 GMT
Dmytro Sen created AMBARI-11498:
-----------------------------------

             Summary: Perf: Skip calling hostVersionDAO by HostComponentResourceProvider if
host_version isn't requested
                 Key: AMBARI-11498
                 URL: https://issues.apache.org/jira/browse/AMBARI-11498
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Dmytro Sen
            Assignee: Dmytro Sen
            Priority: Critical
             Fix For: 2.1.0


20% of server resources are spent for execution hostVersionDAO.findByHostAndStateCurrent()
, added check if host version requested, if no - no need to execute DB query.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message