[Koha-bugs] [Bug 26457] DB DeadLock when renewing checkout items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 12 17:05:21 CEST 2020


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

--- Comment #12 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I've tried hard to recreate the problem but failed (ktd).

40 plack workers, limit 50 renewals
I created a bunch of checkouts for a given patron:

use Koha::Items;
use C4::Circulation;
use t::lib::Mocks;
my $items = Koha::Items->search();
my $patron = Koha::Patrons->find(51);
t::lib::Mocks::mock_userenv({ patron => $patron }); 
while ( my $item = $items->next ) { 
    C4::Circulation::AddIssue($patron->unblessed, $item->barcode);
}


Then opened 5 tabs /cgi-bin/koha/circ/circulation.pl?borrowernumber=51
And click "Renewal all" as soon as I could.

Everything got renewed correctly.

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


More information about the Koha-bugs mailing list