[MDEV-20269] Create new "Auditing" thread state Created: 2019-08-06  Updated: 2023-04-24

Status: Open
Project: MariaDB Server
Component/s: Plugin - Audit
Fix Version/s: None

Type: Task Priority: Major
Reporter: Geoff Montee (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-18661 loading the audit plugin causes perfo... Closed
relates to MDEV-19291 server_audit plugin mutex causes stal... Closed
relates to MDEV-19391 Create new "Registering transaction" ... Closed

 Description   

We have previously seen the server_audit plugin cause threads to hang in various states due to the problems described by MDEV-18661 / MDEV-19291. These threads could hang in many different states, such as "System lock", "init", and "freeing items." This made the root cause of the issue quite difficult to diagnose on production systems.

In case a similar issue happens again, it might make sense to add a new "Auditing" thread state. This new thread state could be used anytime a thread calls a function in the audit plugin API.


Generated at Thu Feb 08 08:58:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.