Project

General

Profile

Actions

User story #3722

closed

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

Added by Nicolas CHARLES over 11 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
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

Also available in: Atom PDF