Project

General

Profile

Bug #15042

Rule changes SQL request and data structure use too much memory

Added by Nicolas CHARLES 6 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
Performance and scalability
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

When we update changes, we pass, to a synchronized method, a Seq[ResultRepairedReport], to use only the RuleId and the ExecutinTimeStamp, once cache is init (see NodeChangesService, method update)
On a fairly loaded system, this can cause 28960 reports to be kept in memory for nothing, in different Futures


Subtasks

Bug #15129: Queuing "changes" must be done in 5.1 ReleasedFrançois ARMANDActions

Associated revisions

Revision 2da49536 (diff)
Added by Nicolas CHARLES 5 months ago

Fixes #15042: Updating changes/repairs (probably) uses too much memory

History

#1

Updated by Nicolas CHARLES 6 months ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
#2

Updated by Nicolas CHARLES 6 months 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/2247
#3

Updated by Rudder Quality Assistant 6 months ago

  • Status changed from Pending technical review to Discussion
  • Assignee changed from François ARMAND to Nicolas CHARLES
#4

Updated by François ARMAND 6 months ago

  • Status changed from Discussion to In progress
  • Assignee changed from Nicolas CHARLES to François ARMAND

I'm taking over this issue!

#5

Updated by François ARMAND 6 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request changed from https://github.com/Normation/rudder/pull/2247 to https://github.com/Normation/rudder/pull/2270
#6

Updated by François ARMAND 6 months ago

  • Status changed from Pending technical review to In progress
  • Assignee changed from Nicolas CHARLES to François ARMAND

I'm taking over this issue!

#7

Updated by François ARMAND 6 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request changed from https://github.com/Normation/rudder/pull/2270 to https://github.com/Normation/rudder/pull/2281
#8

Updated by Rudder Quality Assistant 6 months ago

  • Status changed from Pending technical review to Discussion
  • Assignee changed from Nicolas CHARLES to François ARMAND
#9

Updated by Rudder Quality Assistant 6 months ago

  • Assignee changed from François ARMAND to Nicolas CHARLES
#10

Updated by Rudder Quality Assistant 5 months ago

  • Assignee changed from Nicolas CHARLES to François ARMAND
#11

Updated by Rudder Quality Assistant 5 months ago

  • Assignee changed from François ARMAND to Nicolas CHARLES
#12

Updated by Rudder Quality Assistant 5 months ago

  • Assignee changed from Nicolas CHARLES to François ARMAND
#13

Updated by Rudder Quality Assistant 5 months ago

  • Assignee changed from François ARMAND to Nicolas CHARLES
#14

Updated by François ARMAND 5 months ago

  • Status changed from Discussion to Pending technical review
#15

Updated by Rudder Quality Assistant 5 months ago

  • Assignee changed from Nicolas CHARLES to François ARMAND
#16

Updated by Nicolas CHARLES 5 months ago

  • Status changed from Pending technical review to Pending release
#19

Updated by François ARMAND 5 months ago

  • Subject changed from Updating changes/repairs (probably) uses too much memory to Changes request and data structure use too much memory
#21

Updated by François ARMAND 5 months ago

  • Subject changed from Changes request and data structure use too much memory to Rule changes SQL request and data structure use too much memory
#24

Updated by Vincent MEMBRÉ 5 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.12 which was released today.

Also available in: Atom PDF