[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
Fri Apr 16 11:49:38 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26312
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #119612|0 |1
is obsolete| |
Attachment #119613|0 |1
is obsolete| |
Attachment #119614|0 |1
is obsolete| |
Attachment #119615|0 |1
is obsolete| |
--- Comment #33 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 119699
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119699&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>
Bug 26312: (follow-up) Reset buffers even if commit fails
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Bug 26312: (follow-up) Fix whitespace and missing semicolon
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