Bug #19399
closedImprove NodeInfo cache
Description
When any information in LDAP about node is updated, the whole NodeInfo cache is invalidated - it's not a problem on small instances, or when there are no node properties, but on large systems with a lot of node properties, it can take more than 6 seconds, which locks virtually everything related to nodes.
Other symptoms are:
- LDAP using a lot of CPU,
- LDAP timeout in webapp logs.
- check if there are entries with a newer modification date
- if so, fetch all entries with the newer modification date
- construct the new nodeinfo from these entries, completing with the cache for what's missing
- replacing within the cache the updated entries
Updated by Nicolas CHARLES over 3 years ago
- Status changed from New to In progress
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/3668
Updated by Nicolas CHARLES over 3 years ago
With this change, on our test platform, updating the NodeInfo cache when properties are updated goes from 1+ second to ~45ms
Updated by Nicolas CHARLES over 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|0587cd08ec8a4a71596a28d9b90ea8f79d52fcc8.
Updated by Nicolas CHARLES over 3 years ago
Applied in changeset rudder|8dce035c16f8448b9b22dba1cc088409f5f38300.
Updated by Nicolas CHARLES over 3 years ago
Applied in changeset rudder|17cea0766dc747b1a85a584dd9dcc40d752926bf.
Updated by Nicolas CHARLES over 3 years ago
Applied in changeset rudder|e8a4d3ca2c16254c04c446ff468d62b2be082a5c.
Updated by Nicolas CHARLES over 3 years ago
Applied in changeset rudder|ad2258662bd097f0960a6af409e24bc0d6320c24.
Updated by Nicolas CHARLES over 3 years ago
Applied in changeset rudder|b96d4fbba55f1e886926220e388b4eaff7b77251.
Updated by Nicolas CHARLES over 3 years ago
Applied in changeset rudder|069aa26334c8bd41a91de2d694dea8263babb20f.
Updated by Nicolas CHARLES over 3 years ago
Applied in changeset rudder|0747795cf27fe0ff20739cdffd37b7ae5fbe2b86.
Updated by Nicolas CHARLES over 3 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 3 years ago
This bug has been fixed in Rudder 6.1.14 and 6.2.8 which were released today.
Updated by Vincent MEMBRÉ over 3 years ago
- Status changed from Pending release to Released
Updated by François ARMAND over 3 years ago
- Related to Bug #19369: Improve computation of cache in NodeInfoService added