You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After exporting a set of stats, we refresh/reconnect to MySQL and create a media file and upload the exported CSV to the library for storage. When this media file is saved we call audit to create an audit record for that.
Audit logging uses a prepared SQL statement, which is attached to the old MySQL connection and therefore fails.
There are three options:
disable auditing for that operation
add a method to the logging service to clear cached PDO statements and call this before auditing
implement a retry loop in audit logging which does a reconnect
Option number 3 is the most isolated change, although does mean an exception handler.
This also effects v3.
The text was updated successfully, but these errors were encountered:
After exporting a set of stats, we refresh/reconnect to MySQL and create a media file and upload the exported CSV to the library for storage. When this media file is saved we call
audit
to create an audit record for that.Audit logging uses a prepared SQL statement, which is attached to the old MySQL connection and therefore fails.
There are three options:
Option number 3 is the most isolated change, although does mean an exception handler.
This also effects v3.
The text was updated successfully, but these errors were encountered: