[Koha-bugs] [Bug 32250] link_bibs_to_authorities generates too many background jobs
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 13 21:11:22 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32250
--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 145319
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145319&action=edit
Bug 32250: Only reindex records when commiting
This patch adds an array to catch updated bibs, and defers indexing until a
batch of changes is committed
To test:
1 - Set LinkerModule system preference to either first or last match
Alternate this between runs of the linker to ensure changes are made
2 - Set SearchEngine to Elasticsearch and reindex (to ensure index is built)
3 - perl misc/link_bibs_to_authorities.pl -v
4 - Check Admin->Jobs and see that many ES index jobs are queued
5 - Apply patch
6 - perl misc/link_bibs_to_authorities.pl -v
7 - Check Admin->Jobs and see that 1 index per commit from is enqueued
--
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