[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2023-10-18 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 Marcel de Rooy changed: What|Removed |Added Blocks||35092 Referenced Bugs:

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-07-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #15 from David Cook --- (In reply to David Cook from comment #14) > (In reply to Tomás Cohen Arazi from comment #12) > > Let's kill the rabbit ;-) > > I won't oppose it. Minion might make more sense after all. That

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-07-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #17 from Jonathan Druart --- (In reply to David Cook from comment #14) > (In reply to Tomás Cohen Arazi from comment #12) > > Let's kill the rabbit ;-) > > I won't oppose it. Minion might make more sense after all. Or,

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-07-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #18 from David Cook --- (In reply to Jonathan Druart from comment #17) > (In reply to David Cook from comment #14) > > (In reply to Tomás Cohen Arazi from comment #12) > > > Let's kill the rabbit ;-) > > > > I won't

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-07-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #16 from David Cook --- (In reply to Tomás Cohen Arazi from comment #13) > Send message to a durable RabbitMQ queue(In reply to David Cook from comment > #10) > > 4. Send message to a durable RabbitMQ queue > > What is

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-07-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #14 from David Cook --- (In reply to Tomás Cohen Arazi from comment #12) > Let's kill the rabbit ;-) I won't oppose it. Minion might make more sense after all. -- You are receiving this mail because: You are watching

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-07-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 Tomás Cohen Arazi changed: What|Removed |Added CC|

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-07-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 Tomás Cohen Arazi changed: What|Removed |Added See Also|

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-07-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #13 from Tomás Cohen Arazi --- Send message to a durable RabbitMQ queue(In reply to David Cook from comment #10) > 4. Send message to a durable RabbitMQ queue What is the 'durable RabbitMQ queue' in this context? In

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-06-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 Martin Renvoize changed: What|Removed |Added See Also|

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-06-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #11 from David Cook --- Now this is a tangent, but... I notice in "background_jobs" we have "data" as "longtext". According to https://mariadb.com/kb/en/json-data-type/, the JSON datatype is an alias for LONGTEXT

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-06-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #10 from David Cook --- (In reply to David Cook from comment #8) > It seems to me that the order of operations should be the following: > > 1. Connect to RabbitMQ > 2. Insert job in DB > 3. Commit job in DB > 4. Send

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-06-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #9 from David Cook --- After comparing the "background_jobs" table and the "minion_jobs" table, it seems like we've got a fairly similar schema.

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-06-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #8 from David Cook --- (In reply to Martin Renvoize from comment #0) > Our worker currently starts up and immediately tries to listen for jobs > being passed via STOMP. However, if rabbitMQ wasn't running when the tasks

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-05-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 Andrew Nugged changed: What|Removed |Added CC||nug...@gmail.com ---

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-05-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 Martin Renvoize changed: What|Removed |Added Status|Needs Signoff |In Discussion -- You

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-05-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #6 from David Cook --- (In reply to Tomás Cohen Arazi from comment #5) > We need a PID column. To what end? I really wonder about our overall strategy here. It seems like we can't commit to a message queue based

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-05-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #5 from Tomás Cohen Arazi --- We need a PID column. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-05-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #4 from David Cook --- Regardless, this code introduces a race condition. If background_jobs_worker.pl tries to run process_outstanding at startup after Koha::BackgroundJob runs $self->set()->store; but before

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-05-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 David Cook changed: What|Removed |Added CC||dc...@prosentient.com.au ---

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-05-06 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 David Nind changed: What|Removed |Added CC||da...@davidnind.com ---

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-04-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 Martin Renvoize changed: What|Removed |Added Assignee|koha-b...@lists.koha-commun

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-04-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 Martin Renvoize changed: What|Removed |Added CC||mag...@libriotech.no,

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-04-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 Martin Renvoize changed: What|Removed |Added CC|

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-04-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 Martin Renvoize changed: What|Removed |Added Severity|enhancement |major -- You are

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-04-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 Martin Renvoize changed: What|Removed |Added Status|NEW |Needs Signoff -- You

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-04-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 --- Comment #1 from Martin Renvoize --- Created attachment 134388 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=134388=edit Bug 30654: Processing outstanding jobs on startup This patch ensures jobs queued up in

[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup

2022-04-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654 Martin Renvoize changed: What|Removed |Added Depends on|27344 |30172 Referenced Bugs: