From c662f1012309d5ec2b2c1ecf43ab166e9ec54d78 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 24 Apr 2023 09:27:43 +0000 Subject: [PATCH] Bug 33576: (QA follow-up) Polish comment, typo Content-Type: text/plain; charset=utf-8 No test plan. --- C4/ImportBatch.pm | 3 +-- Koha/BackgroundJob/UpdateElasticIndex.pm | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm index 1bdd81b85c..78e1dcf5a0 100644 --- a/C4/ImportBatch.pm +++ b/C4/ImportBatch.pm @@ -716,7 +716,7 @@ sub BatchCommitRecords { SetImportBatchStatus($batch_id, 'imported'); - # Moved final commit to the end + # final commit should be before Elastic background indexing in order to find job data $schema->txn_commit; if ( @biblio_ids ) { @@ -724,7 +724,6 @@ sub BatchCommitRecords { $indexer->index_records( \@biblio_ids, "specialUpdate", "biblioserver" ); } - return ($num_added, $num_updated, $num_items_added, $num_items_replaced, $num_items_errored, $num_ignored); } diff --git a/Koha/BackgroundJob/UpdateElasticIndex.pm b/Koha/BackgroundJob/UpdateElasticIndex.pm index 10ff70a686..1439482dda 100644 --- a/Koha/BackgroundJob/UpdateElasticIndex.pm +++ b/Koha/BackgroundJob/UpdateElasticIndex.pm @@ -29,7 +29,7 @@ Koha::BackgroundJob::UpdateElasticIndex - Update Elastic index This is a subclass of Koha::BackgroundJob. While most background jobs provide a I method, the ES indexing has its -own dedicated worker: misc/workers/es_index_daemon.pl +own dedicated worker: misc/workers/es_indexer_daemon.pl That worker handles all job processing. -- 2.30.2