Actions
Bug #20367
closedBug #20366: get rules/tree and get groups/tree are very slow
first go at improving perfs for rules/tree
Status:
Released
Priority:
N/A
Assignee:
Category:
Performance and scalability
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
the costly part is really to get the NodeInfo from the computed NodeIds in getRuleApplicationStatus, then if the rule is applied ( applicationService.isApplied(rule,groupLib,directiveLib,nodesLib) ) and then computing the policymode ( ComputePolicyMode.ruleMode(globalMode, directives.map(._2), nodes.map(.policyMode)) )
Actions