3 Jun
2019
3 Jun
'19
5:24 p.m.
Hi, Sergey! On May 28, Sergey Vojtovich wrote:
Hi Alexey,
More aggressive caching of audit plugins sounds good in general. But I doubt versioning worth it: in this patch idle connections don't allow concurrent UNINSTALL PLUGIN anyway. And it'd be another obstacle for further optimisations.
What obstacle?
In current state of audit API, I'd just pre-acquire all plugins on connect and release on disconnect.
I leave it up to you and Sergei to decide upon which approach to take. My comments for this particular approach inline.
For this particular approach - versioning should also be used to avoid calling acquire_plugins all the time. Regards, Sergei Chief Architect MariaDB and security@mariadb.org