[Koha-bugs] [Bug 22690] Merging records with many items too slow (Elasticsearch)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 16 13:16:10 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22690
--- Comment #10 from Ere Maijala <ere.maijala at helsinki.fi> ---
Created attachment 92828
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=92828&action=edit
Bug 22690: Refactor merging of records to improve performance (Elasticsearch)
This patch allows merging of records with many items without the web server
timing out.
Test plan:
Without the patch:
- Create 2 records (one with e.g. 1000 items).
- Do a cataloguing search that displays both records, select them and click
"Merge selected".
- Choose the record with many items as the one to be eliminated.
- Start the merging.
- After a while the web server should give you a timeout error (the merging
process may still continue)
With the patch:
- Do the same as above
- This time verify that the records are merged without timeout
- Create a new biblio with an item
- Add with the item:
* acquisition order
* hold (reserve)
- Merge the biblio to another one
- Verify that the item and its related data was moved
- Verify that tests pass:
prove -v t/db_dependent/Koha/Item.t
prove -v t/db_dependent/Items/MoveItemFromBiblio.t
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list