Koha/misc
Nick Clemens eb2617409a 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@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 7496a603cd)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 2f8ae2ec21)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2024-02-02 16:25:22 +00:00
..
admin
bin
cronjobs Bug 34091: Fix typo log-modules in help for cleanupdatabase.pl 2023-12-14 21:23:57 +00:00
devel
interface_customization
maintenance Bug 34505: Patron invalid age in search_for_data_inconsistencies.pl skip expired patrons 2023-08-29 21:17:00 -10:00
migration_tools Bug 32800: Don't embed items for deleted records 2023-04-12 09:26:50 -03:00
release_notes Update release notes for the 23.05.08 release 2024-01-24 18:06:00 +00:00
search_tools
translator Bug 35174: Remove .po files from Koha 2023-11-22 09:32:36 +01:00
workers Bug 35086: Also split chunks when indexing from background job 2024-02-02 16:25:22 +00:00
add_date_fields_to_marc_records.pl Bug 23924: Reset the fields to add 2023-05-05 12:13:53 -03:00
add_statistics_borrowers_categorycode.pl Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
batchCompareMARCvsFrameworks.pl
batchdeletebiblios.pl
batchDeleteUnusedSubfields.pl
batchImportMARCWithBiblionumbers.pl
batchRebuildBiblioTables.pl
batchRebuildItemsTables.pl
batchRepairMissingBiblionumbers.pl
check_sysprefs.pl
commit_file.pl
export_borrowers.pl
export_records.pl Bug 29811: Add timestamp option on authority record type 2023-11-07 22:20:45 -10:00
exportauth.pl
import_patrons.pl Bug 34743: Fix POD description 2023-09-17 22:19:10 -10:00
koha-install-log
link_bibs_to_authorities.pl Bug 30024: Make link_bibs_to_authorities.pl rely on LinkerRelink 2023-11-09 16:29:10 -10:00
load_yaml.pl
mod_zebraqueue.pl
perlmodule_ls.pl
perlmodule_rm.pl
process_ill_updates.pl
recreateIssueStatistics.pl
sax_parser_print.pl
sax_parser_test.pl
sip_cli_emulator.pl Bug 34764: Set fee_acknowledged to expect a string 2023-09-17 21:39:02 -10:00
stage_file.pl
z3950_responder.pl