Project

General

Profile

Actions

Bug #13429

closed

Make nodecompliance ttl data

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

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Performance and scalability
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Medium
Priority:
60
Name check:
Fix check:
Regression:

Description

Related to #13427.

We need to be able to limit drasticly the size of "nodecompliance" table. That table is used for logging the compliance of all nodes at a very precise level but rudder can works without it.

So, user should be able to disable that table if they want, or at least control its ttl at hour level.

Today, the ttl of that data is linked to ttl or report archiving. So we need to split that property appart.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #13427: On error on nodecompliance SQL, logs are hugeReleasedFrançois ARMANDActions
Actions #1

Updated by François ARMAND over 5 years ago

  • Related to Bug #13427: On error on nodecompliance SQL, logs are huge added
Actions #2

Updated by François ARMAND over 5 years ago

  • Status changed from New to In progress
Actions #3

Updated by François ARMAND over 5 years ago

  • Target version changed from 4.1.15 to 4.3.5
  • Effort required changed from Very Small to Small
  • Priority changed from 94 to 80

There was significant code changes between 4.1 and 4.3 and I'm not at all confident about doing any changes in 4.1 in that part - even in 4.3, it may not be trivial.

Actions #4

Updated by François ARMAND over 5 years ago

  • Status changed from In progress to New
  • Assignee deleted (François ARMAND)
  • Effort required changed from Small to Medium
  • Priority changed from 80 to 48

So, the code is not that simple to change. It need more work than thought, evec in 4.3.
The reason is that we only have one scheduler for that, and that that TTL would need to live in an other to go below day atomicity. That means an other display, etc.
But it also need code to deal differently with the "0" case, because for that one, we want 0 to mean "don't log at all", not "don't clean at all".
So actually, we need 0 to do a "truncate" or similar if table non-empty, but ALSO to have a check in report processing which don't log at all nodecompliance in that case.

So... All that is needs a couple of days to be taken care of in a released version.

Actions #5

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.3.5 to 4.3.6
Actions #6

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.3.6 to 4.3.7
  • Priority changed from 48 to 47
Actions #7

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.3.7 to 4.3.8
  • Priority changed from 47 to 0
Actions #8

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.3.8 to 4.3.9
Actions #9

Updated by Alexis Mousset about 5 years ago

  • Target version changed from 4.3.9 to 4.3.10
Actions #10

Updated by François ARMAND about 5 years ago

  • Target version changed from 4.3.10 to 4.3.11
Actions #11

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 4.3.11 to 4.3.12
Actions #12

Updated by François ARMAND almost 5 years ago

  • Severity changed from Minor - inconvenience | misleading | easy workaround to Major - prevents use of part of Rudder | no simple workaround
  • User visibility changed from Operational - other Techniques | Technique editor | Rudder settings to Operational - other Techniques | Rudder settings | Plugins
  • Priority changed from 0 to 60
Actions #13

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 4.3.12 to 4.3.13
Actions #14

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 4.3.13 to 4.3.14
Actions #15

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 4.3.14 to 587
  • Priority changed from 60 to 58
Actions #16

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 587 to 4.3.14
Actions #17

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 4.3.14 to 5.0.13

It may have already been done in 5.0.12, retargeting to 5.0 and asking people who knows!!

Actions #18

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.13 to 5.0.14
  • Priority changed from 58 to 56
Actions #19

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.14 to 5.0.15
Actions #20

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.15 to 5.0.16
Actions #21

Updated by Alexis Mousset about 4 years ago

  • Target version changed from 5.0.16 to 5.0.17
Actions #22

Updated by Nicolas CHARLES about 4 years ago

  • Status changed from New to Rejected

compliance has its own ttl now

Actions #23

Updated by Alexis Mousset almost 2 years ago

  • Priority changed from 56 to 60
Actions

Also available in: Atom PDF