Project

General

Profile

Actions

Architecture #4781

closed

Architecture #4778: Optimize promise generation algorithm: Rudder variables lookup

Remove rule variable kind: {rudder.ruleid.XXX}

Added by François ARMAND almost 10 years ago. Updated almost 9 years ago.

Status:
Released
Priority:
1
Category:
Performance and scalability
Target version:
Effort required:
Name check:
Fix check:
Regression:

Description

Remove the use of the rule kind of variable because:

- it's inefficient to calculate (lots of data to get & process, even for simplest of these variables, with lots of error cases to handle)
- it's very complexe (so much that a whole subcategory for multivalued section is not handled)
- it breaks the {Group, Directive} => Rule dependency tree, and creates a dependency circle {Group, Directive} => Rule => Directive (authorization impossible, complexity, etc)
- it is used in 2 or 3 places, and only internally,
- simpler and more efficient solution can be used (parameters, cfengine variables) or developped (tags).

Remove them!

Actions

Also available in: Atom PDF