Actions
Architecture #4781
closedArchitecture #4778: Optimize promise generation algorithm: Rudder variables lookup
Remove rule variable kind: {rudder.ruleid.XXX}
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Performance and scalability
Target version:
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