Project

General

Profile

Actions

Bug #18377

closed

Duplicated code from a merge #16513

Added by François ARMAND about 4 years ago. Updated about 4 years ago.

Status:
Released
Priority:
N/A
Category:
Architecture - Code maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

We have that code in PolicyWritterService:

...
      readTemplateTime1    <- currentTimeMillis
      configAndPaths       <- calculatePathsForNodeConfigurations(interestingNodeConfigs, rootNodeId, allNodeInfos, newPostfix, backupPostfix)
      pathsInfo            =  configAndPaths.map { _.paths }

      configAndPaths   <- calculatePathsForNodeConfigurations(interestingNodeConfigs, rootNodeId, allNodeInfos, newPostfix, backupPostfix)
      pathsInfo        =  configAndPaths.map { _.paths }
...

That doesn't break by some ghosting magic, but it's really spending resources for nothing.

Actions #1

Updated by François ARMAND about 4 years ago

  • Status changed from New to In progress
Actions #2

Updated by François ARMAND about 4 years ago

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

Updated by François ARMAND about 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by François ARMAND about 4 years ago

  • Fix check changed from To do to Checked
Actions #5

Updated by Alexis Mousset about 4 years ago

  • Name check changed from To do to Reviewed
Actions #6

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.6 and 6.2.0~beta1 which were released today.

Actions

Also available in: Atom PDF