Project

General

Profile

Bug #11591

Tidy expected reports does have a too big TTL

Added by Janos Mattyasovszky 2 months ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
Initial promises & sys tech
Target version:
Target version (plugin):
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
49

Description

I have had a broken agent some about ~1.5 Month ago, and therefore my state directory was spammed with /var/rudder/cfengine-community/state/rudder_expected_reports.*.csv.*

I had about 17k files matching that, but none were removed due to the default TTL is 90+ days via CFENGINE_OUTPUTS_TTL.

The agent run took quite some additional time (didn't measure it really).

It does not really make too much sense to keep more than the latest (or maybe 1 day?) laying around.

Associated revisions

Revision b6c0a56e
Added by Alexis MOUSSET about 2 months ago

Fixes #11591: Tidy expected reports does have a too big TTL

History

#1 Updated by Alexis MOUSSET 2 months ago

  • Category changed from Agent to Initial promises & sys tech

I don't see how it could be useful either. We need to keep the recent ones in case we have several parallel runs, but 1 day is more than enough.

#2 Updated by Florian Heigl 2 months ago

We might have run into this more often without understanding.
Interesting, and I think should be higher prio?

#3 Updated by Benoît PECCATTE about 2 months ago

  • Effort required set to Very Small
  • Priority changed from 32 to 49

Let's fix this TTL to 1 day non configurable

#4 Updated by Alexis MOUSSET about 2 months ago

  • Target version set to 4.1.8

#5 Updated by Alexis MOUSSET about 2 months ago

  • Status changed from New to In progress
  • Assignee set to Alexis MOUSSET

#6 Updated by Alexis MOUSSET about 2 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis MOUSSET to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1207

#7 Updated by Alexis MOUSSET about 2 months ago

  • Status changed from Pending technical review to Pending release

#8 Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.8 and 4.2.1 which were released today.

Also available in: Atom PDF