[Koha-bugs] [Bug 35819] "No job found" error for BatchUpdateBiblioHoldsQueue (race condition)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 23 10:03:16 CET 2024


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #20 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Re-enqueue is definitely better than the naive sleep approach, great!

It is working nicely in my tests.

However I think we should:
1. apply this change to misc/workers/es_indexer_daemon.pl (ideally have the
duplicated code moved to Koha::BackgroundJobs but that's for another day)
2. remove the "Job not found" warnings from the logs if the job is actually
processed later.
3. correctly handle "Frame not processed". If we are enqueuing a job without
correctly encoding the data (not JSON) we will never ack or nack and the worker
will get stuck.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list