Bug #80753 Add a counter for dropped events in performance/async modes
Submitted: 15 Mar 2016 16:08
Reporter: Mark Leith Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Security: Audit Severity:S4 (Feature request)
Version:5.6.29 OS:Any
Assigned to: CPU Architecture:Any

[15 Mar 2016 16:08] Mark Leith
Description:
It is possible in performance/async modes to drop events within the audit log when unable to allocate buffers. This is documented, so not particularly a bug, but it happens invisibly.

There should be a counter to track when this happens, in case memory use can recover and continued monitoring is possible, to alert admins to the problem.

How to repeat:
Run a statement that is larger than the available buffer size

Suggested fix:
Add a counter for "truncated" events.