[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 Apr 15 13:30:31 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26312
Joonas Kylmälä <joonas.kylmala at helsinki.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #117618|0 |1
is obsolete| |
Attachment #117619|0 |1
is obsolete| |
Attachment #119014|0 |1
is obsolete| |
Attachment #119079|0 |1
is obsolete| |
--- Comment #28 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Created attachment 119612
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119612&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>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list