https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30172
David Cook <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from David Cook <[email protected]> --- (In reply to Nick Clemens from comment #0) > What appears to be happening is that: > 1 - The transaction is begun > 2 - Job info is stored internally, but not committed > 3 - the job is being sent to Rabbit > 4 - Rabbit attempts to process the job, and fails as it cannot find the data > in the DB > 3 - The transaction completes > I've had this same problem in non-Koha projects. My background worker was too fast, and would get the message before the monolithic app could commit the data to the database. (Note that in my case I didn't actually *need* to do a database call in my background worker, so I just sidestepped the issue.) (In reply to Jonathan Druart from comment #2) > Which exact version of Koha? > Some fixes from 21.11 haven't been backported, it may come from that. I'm looking at master now, and it looks like it has the same race condition. The "send_with_receipt" should be moved outside and after the "txn_do". -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
