Project

General

Profile

Actions

User story #3722

closed

Don't update promises when running the standard promises.cf

Added by Nicolas CHARLES over 10 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Category:
Techniques
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

We have noticed that our CFEngine config causes files to be updated twice on each run, once from failsafe.cf and once from promises.cf.

This is not only sub-optimal (duplicated work, unlikely to be necessary only seconds apart), but also presents a risk of CFEngine operating on incoherent data. CFEngine will only use the promise files present when it started (so updates to *.cf files during it's current run are ignored), but it does also read in data files (ie *.csv for CDP, etc), which are read at execution time. So we could end up in a situation where we run old promises on new data, and get unexpected reporting.

Basically, let's simplify this and avoid the risk. Since this is a potentially impacting change, targeted for 2.7.


Subtasks 1 (0 open1 closed)

User story #3723: Do the update of promises only with the failsafeReleasedJonathan CLARKE2013-07-12Actions
Actions #1

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from 13 to 12
Actions #2

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from 12 to Pending release
Actions #3

Updated by Nicolas PERRON over 10 years ago

  • Subject changed from Don't update promises when running the standart promises.cf to Don't update promises when running the standard promises.cf
Actions #4

Updated by Nicolas PERRON over 10 years ago

  • Status changed from Pending release to Released
Actions #5

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 24 to Rudder
  • Category changed from Techniques to Techniques
Actions

Also available in: Atom PDF