mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-31 10:06:39 +00:00
As `get_site_attribute` subroutine could not cache the value for hierarchicalattrs configuration, this commit move the check logic of `hierarchicalattrs` from `getNodeAttribs_nosub_returnany` to `getNodesAttribs` and `getAllNodeAttribs` to optimize the the performance of bulk query. After testing, this change will bring 50% performance improvement for `getNodesAttribs` subroutine.
xCAT - eXtreme Cloud Administration Toolkit xCAT is a toolkit for the deployment and administration of clusters. xCAT documentation is available at: http://xcat-docs.readthedocs.org/ xCAT is made available as open source software under the EPL license: http://www.opensource.org/licenses/eclipse-1.0.php