[Koha-bugs] [Bug 35438] Importing records can create too large transactions
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 30 18:38:11 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35438
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #159413|0 |1
is obsolete| |
--- Comment #3 from David Nind <david at davidnind.com> ---
Created attachment 159415
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159415&action=edit
Bug 35438: Transact each record import separately
When importing a staged file we commit every 50 records
For an authority import we are also merging, which can affect many more
biblios, and these all end up in the transaction.
This can cause tables locks and issues across Koha
Test Plan:
1) Apply this patch
2) prove t/db_dependent/ImportBatch.t
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list