Audit log in ASYNC mode should not skip log records which don't fit into log buffer
Bug #1588447 reported by
Sergei Glushchenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Fix Committed
|
High
|
Sergei Glushchenko | |||
5.6 |
Fix Released
|
High
|
Sergei Glushchenko | |||
5.7 |
Fix Released
|
High
|
Sergei Glushchenko |
Bug Description
It wasn't an issue when audit log records were truncated, but it might become an issue.
int audit_log_
{
if (len > log->size)
return(1);
has to be replaced with something like
if (len > log->size)
{
if (!log->
{
mysql_
log->write();
mysql_
}
return(0);
}
summary: |
- Audit log in SEMISYNC mode should not skip log records which don't fit - into log buffer + Audit log in ASYNC mode should not skip log records which don't fit into + log buffer |
tags: | added: audit |
To post a comment you must log in.
https:/ /github. com/percona/ percona- server/ pull/572