Koha/misc
Nick Clemens 7496a603cd
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>
2024-01-16 12:06:00 +01:00
..
admin
bin Bug 23241: Remove unused koha-index-daemon-ctl.sh 2023-10-10 09:22:37 -03:00
cronjobs Bug 34091: Fix typo log-modules in help for cleanupdatabase.pl 2023-12-11 19:41:27 +01:00
devel
interface_customization
maintenance Bug 33239: (QA follow-up) Tidy and improve description 2023-10-11 10:31:46 -03:00
migration_tools
release_notes Add release notes for 23.11.0 2023-11-30 16:17:58 -03:00
search_tools
translator Bug 35174: Remove .po files from Koha 2023-11-16 08:56:36 +01:00
workers Bug 35086: Also split chunks when indexing from background job 2024-01-16 12:06:00 +01:00
add_date_fields_to_marc_records.pl
add_statistics_borrowers_categorycode.pl
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-10-31 11:02:40 -03:00
exportauth.pl
import_patrons.pl Bug 34743: Fix POD description 2023-09-15 11:57:15 -03:00
koha-install-log
link_bibs_to_authorities.pl Bug 30024: Make link_bibs_to_authorities.pl rely on LinkerRelink 2023-11-03 14:22:45 -03:00
load_yaml.pl
mod_zebraqueue.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-15 11:57:10 -03:00
stage_file.pl
z3950_responder.pl