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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 3 15:47:46 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26312

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #109241|0                           |1
        is obsolete|                            |

--- Comment #4 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 109626
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109626&action=edit
Bug 26312: Catch ES Client errors, log, and continue indexing when error
encountered

This catches a timeout response from the ES server, logs this, and continues
the indexing

To test:
1 - perl misc/search_tools/rebuild_elasticsearch.pl
2 - Make the ES server timeout (I don't have good instruction yet)
3 - Watch the job crash
4 - Apply patches
5 - perl misc/search_tools/rebuild_elasticsearch.pl
6 - Make the server timeout
7 - Note the job reports failed commit, and continues

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list