Invalid audit log file size when audit_log_rotations is changed during runtime
General
Escalation
General
Escalation
Description
Environment
None
AFFECTED CS IDs
238933
is duplicated by
relates to
Smart Checklist
Activity
Show:
Done
Details
Details
Assignee

Reporter

Labels
Time tracking
4h logged
Fix versions
Affects versions
Priority
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created October 19, 2018 at 5:13 AM
Updated March 6, 2024 at 12:45 PM
Resolved November 27, 2018 at 10:47 AM
Setup Percona Server 5.6 (tested on 5.6.41-84.1) with audit log plugin enabled:
Run an insert to a table and check that audit log files are created. Stop the insert at some point where there are less than the number of audit_log_rotations created
In my case, I stopped with audit.log.{01-09}.
Now run
Continue inserting to the database and notice it creates the files audit.log.{10-25} instantly:
And the file size keeps on changing:
Moreover, the manual states that audit_log_rotations is non-dynamic but from the above output we can see it is dynamic.
https://www.percona.com/doc/percona-server/LATEST/management/audit_log_plugin.html#audit_log_rotations