Koha-clms/misc/workers
Tomás Cohen Arazi e8482427e9
Bug 42669: Fix es_indexer_daemon.pl silent job failure and NoNodes recovery
When update_index() throws, the daemon now:
- On NoNodes: aborts the batch, recreates the indexer object to reset
  the dead-node connection pool, and resets jobs to 'new' for retry.
- On other errors: marks jobs as 'failed' instead of 'finished'.

This prevents silent data loss where records disappear from search
results because their indexing jobs were incorrectly marked as done.

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-07-16 10:54:39 +00: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: Fix es_indexer_daemon.pl silent job failure and NoNodes recovery 2026-07-16 10:54:39 +00:00