Project

General

Profile

Actions

Bug #15073

closed

Add switch to disable some compliance and change tracking features for performance

Added by François ARMAND over 5 years ago. Updated over 5 years ago.

Status:
Released
Priority:
N/A
Category:
Performance and scalability
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

There is several features that we want to be able to tweak (if possible without restarting rudder) that have a big influence on loaded environement:

- changes. This is highly stressfull for database, and even if Rudder can not work without them, we would like to be able to disable changes to help analyse perf problems,
- dynamic group computation at the begining of generation (idem than for changes)
- wrtiing node compliance level: this can be stressfull and it is not used but if you have the reporting plugins
- writing node compliance: this one should be off by default, there is 0 reason to keep it in Rudder 5.0 as it's not used anymore, not even by the reporting plugin.

All of these feature will be properties that will be switchable via Settings API, but they won't be exposed in the settings web page as they should not be changed.

The can be changed with:

# use 'false' or 'true' 

# compute dynamic group at start of policy generation
curl -k -H "X-API-Token: xxx"  -X POST 'https://.../rudder/api/latest/settings/rudder_generation_compute_dyngroups' -d "value=false" 

# compute "changes" (globaly)
curl -k -H "X-API-Token: xxx"  -X POST 'https://.../rudder/api/latest/settings/rudder_compute_changes' -d "value=false" 

# save compliance levels in database
curl -k -H "X-API-Token: xxx"  -X POST 'https://.../rudder/api/latest/settings/rudder_save_db_compliance_levels' -d "value=false" 

# save detailled compliance reports in database (should be set to false)
curl -k -H "X-API-Token: xxx"  -X POST 'https://.../rudder/api/latest/settings/rudder_save_db_compliance_details' -d "value=false" 

Actions #1

Updated by François ARMAND over 5 years ago

  • Status changed from New to In progress
Actions #2

Updated by François ARMAND over 5 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/2261
Actions #3

Updated by François ARMAND over 5 years ago

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

Updated by Vincent MEMBRÉ over 5 years ago

  • Name check set to To do
Actions #6

Updated by Vincent MEMBRÉ over 5 years ago

  • Fix check set to To do
Actions #7

Updated by François ARMAND over 5 years ago

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

Updated by Alexis Mousset over 5 years ago

  • Subject changed from Add switch to disable some feature for performance to Add switch to disable some compliance and change tracking features for performance
Actions #9

Updated by Alexis Mousset over 5 years ago

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

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF