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

--- Comment #3 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 201878
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201878&action=edit
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 <[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