View | Details | Raw Unified | Return to bug 33576
Collapse All | Expand All

(-)a/C4/ImportBatch.pm (-2 / +1 lines)
Lines 716-722 sub BatchCommitRecords { Link Here
716
716
717
    SetImportBatchStatus($batch_id, 'imported');
717
    SetImportBatchStatus($batch_id, 'imported');
718
718
719
    # Moved final commit to the end
719
    # final commit should be before Elastic background indexing in order to find job data
720
    $schema->txn_commit;
720
    $schema->txn_commit;
721
721
722
    if ( @biblio_ids ) {
722
    if ( @biblio_ids ) {
Lines 724-730 sub BatchCommitRecords { Link Here
724
        $indexer->index_records( \@biblio_ids, "specialUpdate", "biblioserver" );
724
        $indexer->index_records( \@biblio_ids, "specialUpdate", "biblioserver" );
725
    }
725
    }
726
726
727
728
    return ($num_added, $num_updated, $num_items_added, $num_items_replaced, $num_items_errored, $num_ignored);
727
    return ($num_added, $num_updated, $num_items_added, $num_items_replaced, $num_items_errored, $num_ignored);
729
}
728
}
730
729
(-)a/Koha/BackgroundJob/UpdateElasticIndex.pm (-2 / +1 lines)
Lines 29-35 Koha::BackgroundJob::UpdateElasticIndex - Update Elastic index Link Here
29
This is a subclass of Koha::BackgroundJob.
29
This is a subclass of Koha::BackgroundJob.
30
30
31
While most background jobs provide a I<process> method, the ES indexing has its
31
While most background jobs provide a I<process> method, the ES indexing has its
32
own dedicated worker: misc/workers/es_index_daemon.pl
32
own dedicated worker: misc/workers/es_indexer_daemon.pl
33
33
34
That worker handles all job processing.
34
That worker handles all job processing.
35
35
36
- 

Return to bug 33576