[Koha-bugs] [Bug 26312] New: Add some error handling during Elasticsearch indexing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 27 18:07:07 CEST 2020


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: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com

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.


More information about the Koha-bugs mailing list