Actions
Bug #6207
closedDeleting a directive is VERY slow
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Performance and scalability
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Even in the most simple case (a directive not used anywhere, on a fresh Rudder install), deleting a directive takes several seconds.
Code hint: the cause is that along the deleting, we get the directive from LDAP (with a lock), then get the the active directive (with a lock for the same think), then need to wait until the exaustion algo of the locking system sort things out. This is, of course. BAD BAD BAD BAD.
Actions