https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26312
Bug ID: 26312
Summary: Add some error handling during Elasticsearch indexing
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Searching - Elasticsearch
Assignee: [email protected]
Reporter: [email protected]
Currently Elasticsearch dies if we get an error rather than a response from the
ES Client.
Generally we can see something like
[6056] Committing 5000 records...
[Timeout] ** [http://XXX.XXX.XXX.XXX:9200]-[599] Could not write to socket:
'Connection timed out', called from sub
Search::Elasticsearch::Role::Client::Direct::__ANON__ at
/usr/share/koha/lib/Koha/SearchEngine/Elasticsearch/Indexer.pm line 123. With
vars: {'
Rather than killing the whole indexing process, we should catch the error, fail
the commit, and keep indexing records.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
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/