Problem: some client scripts keep db transactions open for too long #313
Labels
Status: refining
The issue needs additional details to ensure that requirements are clear.
Type: bug
A flaw in the code that causes the software to produce an incorrect or unexpected result.
Expected behaviour
No component in our system should maintain database transactions open for too long because it degrades the overall performance of the database.
Current behaviour
E.g.
sanitize_object_names.py
took 12 minutes in a transfer with 20k files maintaining a transaction open while it was running. This is new behaviour introduced in AM18's new task scheduling redesign.Steps to reproduce
Sanitize object's file and directory names
runs, monitor the innodb engine and observe the number of active transactions.Your environment (version of Archivematica, OS version, etc)
AM18-dev
Related: #313
For Artefactual use:
Please make sure these steps are taken before moving this issue from Review to Verified in Waffle:
The text was updated successfully, but these errors were encountered: