[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
Tue Jun 20 03:27:51 CEST 2023


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

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcook at prosentient.com.au

--- Comment #19 from David Cook <dcook at prosentient.com.au> ---
Side note: We assume that "Koha::Database->schema->storage->dbh" always returns
the same database handle, but that's not necessarily true.

According to the documentation and source code at
https://metacpan.org/pod/DBIx::Class::Storage::DBI#dbh it seems that it tries
to fetch a cached database handle but if for whatever reason that cached
database handle doesn't seem connected, it'll create a new handle and connect. 

Probably not related but just noticed that while looking at something else...

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


More information about the Koha-bugs mailing list