Koha-clms/misc/workers
Martin Renvoize 246d62da90
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 <lisette@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2026-08-10 15:52:40 -06:00
..
background_jobs_worker.pl Bug 40820: Fix STOMP connection warnings when JobsNotificationMethod is 'polling' 2025-09-26 10:36:57 -06:00
es_indexer_daemon.pl Bug 42669: Use exception type check for NoNodes and don't mask real failures 2026-08-10 15:52:40 -06:00