Project

General

Profile

Actions

Feature #26053

open

Audit records deletion batch support

Added by Jason Lang almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When the audits record deletion expires it also cleans up the taxonomies table. Neither of these deletes are “batched” through the rails command: https://github.com/theforeman/foreman/blob/develop/lib/tasks/audits.rake#L12 1

Expected outcome:
This should be “batched” similar to reports and other cleanup tasks to ensure it does not “time out” in the rails console/mariadb and not complete, or lock for extended periods of time if there are many records to delete.

Foreman and Proxy versions:
1.18.2

No data to display

Actions

Also available in: Atom PDF