[Koha-bugs] [Bug 35092] [OMNIBUS] Remaining background job/worker issues

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 19 12:04:24 CEST 2023


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

--- Comment #7 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
We should decide imo how to resolve sync issues as mentioned before. I thought
of a few options.

[1] Still hybrid but dynamical approach. The worker should regularly check both
MQ and DB to select new jobs. So more dynamical than the current approach that
is determined by MQ being active or not at the start of the worker.

[2] Stricter distinction between MQ and DB: Add a preference like UseMessageQ
to indicate that the worker only reads jobs from either MQ or DB. If you choose
the DB side, the MQ will no longer be filled. If you choose MQ, the worker
should not be able to switch to "DB mode" anymore like it does now.

[3] Remove DB mode: This involves "trusting MQ to be stable enough". We will
get new jobs from MQ, and only save processed jobs in DB.

[4] Remove MQ mode: The other way around. "We do not really trust MQ." Remove
enqueuing to MQ and reading new jobs from it.

Please give some feedback. What is the best way to go forward?

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


More information about the Koha-bugs mailing list