https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39605
Bug ID: 39605
Summary: We should resubmit an elasticsearch index job that
fails
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Searching - Elasticsearch
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Currently, we try/catch our batched ES updates and mark all the jobs we batched
as finished no matter the outcome:
es_indexer_daemon.pl:
try {
$biblio_indexer->update_index( \@bib_chunk );
} catch {
$logger->warn( sprintf "Update of elastic index failed with:
%s", $_ );
};
.
.
.
# Finish
$jobs->update({
progress => 1,
status => 'finished',
ended_on => \'NOW()',
});
In the catch we should create a new background job to resubmit the failed jobs
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/