[Koha-bugs] [Bug 33972] Possible deadlock in C4::ImportBatch::SetimportBatchStatus from BatchCommitRecords

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 16 10:07:27 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33972

--- Comment #10 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 152401
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152401&action=edit
Bug 33972: (follow-up) Remove status change to importing

It actually is not used, checked, etc. It makes more sense to me to
remove it than to put it before the transaction.
If the transaction succeeds, we end up with imported. It it fails,
we will still be on staged (which is better than importing).
The job will be marked as failed in that case too.

Note: I am not convinced that this is the definitive solution. This
feels like a workaround. We might still need to dig further.
Are we simply doing too much in this transaction for large staged
imports? Or shouldnt we call Context->dbh constantly in several
subroutines? Is this just a Mariadb bug? No answers yet.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list