ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Zang" <rz...@hortonworks.com>
Subject Review Request 37152: Hosts Page Performance: Avoid triggering hosts loading immediately after switching to hosts tab
Date Thu, 06 Aug 2015 00:43:10 GMT

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

Review request for Ambari, Andrii Tkach, Jaimin Jetly, and Yusaku Sako.


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


Repository: ambari


Description
-------

When the page of hosts has already been loaded to FE model store, we should avoid trigger
hosts loading when user switch in/out hosts tab. Just reuse the front-end model to render
the page and schedule an update request after a few seconds.


Diffs
-----

  ambari-web/app/controllers/main/host.js 9d8347c 
  ambari-web/app/routes/main.js af86eda 
  ambari-web/app/views/main/host.js 6ab3d22 
  ambari-web/app/views/main/menu.js 40f9781 

Diff: https://reviews.apache.org/r/37152/diff/


Testing
-------

Manually tested on live cluster.
Unit tests passed.

  6486 tests complete (9 seconds)
  94 tests pending


Thanks,

Richard Zang


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message