Project

General

Profile

Bug #6207

Deleting a directive is VERY slow

Added by François ARMAND about 5 years ago. Updated almost 5 years ago.

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

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.


Subtasks

Bug #6213: Bug in the LDAP query for getting Directive infoReleasedNicolas CHARLESActions

Associated revisions

Revision 1bf661c1 (diff)
Added by François ARMAND about 5 years ago

Fixes #6207: Deleting a directive is VERY slow

Revision 668c2848 (diff)
Added by François ARMAND about 5 years ago

Fixes #6207: Deleting a directive is VERY slow

Revision 6e56daa7
Added by Vincent MEMBRÉ about 5 years ago

Merge pull request #808 from fanf/bug_6207/deleting_a_directive_is_very_slow

Fixes #6207: Deleting a directive is VERY slow

Revision 3c34a495
Added by Vincent MEMBRÉ about 5 years ago

Merge pull request #808 from fanf/bug_6207/deleting_a_directive_is_very_slow

Fixes #6207: Deleting a directive is VERY slow

History

#1

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 2.10.9 to 2.10.10
#2

Updated by François ARMAND about 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Target version deleted (2.10.10)
  • Pull Request set to https://github.com/Normation/rudder/pull/808
#3

Updated by François ARMAND about 5 years ago

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

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version set to 2.10.10
#6

Updated by Vincent MEMBRÉ almost 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.10 and 2.11.7, which were released on 05/02/2015.

Also available in: Atom PDF