Project

General

Profile

Bug #5803

ldap query to get all software by nodes take ages

Added by Vincent MEMBRÉ over 5 years ago. Updated about 4 years ago.

Status:
Released
Priority:
2
Category:
Performance and scalability
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

when I used function getSoftware(nodeId,status) from ldap-inventory which get all software from a Node, the call take ages to have my answer (like 30 seconds)

I fact that query is doing One query for each software of the node ...

It should do only one query!

Associated revisions

Revision 40d5f0a1 (diff)
Added by Vincent MEMBRÉ over 5 years ago

Fixes #5803: Fix method getSoftware from a Node

Revision 40d5f0a1 (diff)
Added by Vincent MEMBRÉ over 5 years ago

Fixes #5803: Fix method getSoftware from a Node

Revision 2b0dea64
Added by François ARMAND over 5 years ago

Merge pull request #51 from VinceMacBuche/bug_5803/improve_get_software_function

Fixes #5803: Fix method getSoftware from a Node

Revision 2b0dea64
Added by François ARMAND over 5 years ago

Merge pull request #51 from VinceMacBuche/bug_5803/improve_get_software_function

Fixes #5803: Fix method getSoftware from a Node

History

#1

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/ldap-inventory/pull/51
#2

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset ldap-inventory:commit:40d5f0a1e3200495dacf26572a51bf27dd108f73.

#3

Updated by François ARMAND over 5 years ago

Applied in changeset ldap-inventory:commit:2b0dea64bedfb26e6f8428a3eebdd34231c10791.

#4

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 2.6.20 to 2.10.8

2.6.20 will n ot be released, those issue will be fixed in 2.10.8

#5

Updated by Vincent MEMBRÉ about 5 years ago

  • Subject changed from ldap query to get all software by nodes takes ages to ldap query to get all software by nodes take ages
#6

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.8 and 2.11.5, which were released today (16/12/14)

#7

Updated by Benoît PECCATTE about 4 years ago

  • Target version changed from 2.10.8 to 2.6.20

Also available in: Atom PDF