Project

General

Custom queries

Profile

Actions

Bug #20367

closed

Bug #20366: get rules/tree and get groups/tree are very slow

first go at improving perfs for rules/tree

Added by Nicolas CHARLES over 3 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Performance and scalability
Target version:
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)) )

#1

Updated by Nicolas CHARLES over 3 years ago

  • Status changed from New to In progress
#2

Updated by Nicolas CHARLES over 3 years ago

  • Target version changed from 6.2.12 to 7.0.0~rc2
#3

Updated by Nicolas CHARLES over 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/4039
#5

Updated by Nicolas CHARLES over 3 years ago

  • Status changed from Pending technical review to Pending release
#6

Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF