Project

General

Profile

Actions

Bug #21444

open

getting the list of directives that would apply to a pending node is painfully slow

Added by Nicolas CHARLES over 1 year ago. Updated 18 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Performance and scalability
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

the processDynGroup method take about 50seconds to process 460 group
real reason is that we pass the nodeId to the method, and it calls "check" for each of the group. And this method calls nodeInfoService.getPendingNodeInfos() to get all nodes infos, and this is slow because it does ldap query.
We should change the signature of this method to use limitToNodeInfos:Option[Seq[NodeInfo]] and prevent the 460 ldap query

Actions

Also available in: Atom PDF