[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
Wed Mar 3 16:39:59 CET 2021


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

--- Comment #10 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 117618
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117618&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

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list