[Koha-bugs] [Bug 35086] Koha::SearchEngine::Elasticsearch::Indexer->update_index needs to commit in batches
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jan 11 15:38:32 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35086
--- Comment #19 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 160854
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160854&action=edit
Bug 35086: Also split chunks when indexing from background job
The es background indexer is designed to combine background jobs when started
based on the 'batch_size' option.
While this is helpful for combining individual updates, it can be problematic
when there are several large batch modifications, or when worker has stopped
and is restarted.
This patch uses the same logic as in the indexer to split the chunks that are
sent directly for indexing.
To test:
1 - Follow test plan on previous patch
2 - Confirm items are correctly indexed and jobs marked
Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list