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

--- Comment #7 from Lisette Scheer <[email protected]> ---
Created attachment 201890
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201890&action=edit
Bug 42669: Use exception type check for NoNodes and don't mask real failures

Two follow-up fixes from QA review of the previous commit:

- Detect Search::Elasticsearch::Error::NoNodes via ref($_) rather than
  regex-matching the stringified exception, matching the existing
  pattern already used in about.pl.
- Only reset jobs to 'new' for retry when NoNodes is the sole problem.
  If a genuine indexing error also occurred in the same batch, record
  the batch as 'failed' instead of silently discarding that error via
  the NoNodes retry path.

Signed-off-by: Lisette Scheer <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to