https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37548
Bug ID: 37548
Summary: Race condition in CHECKIN notices
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Notices
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
On bug 15854 we introduced a lock on the messages table to avoid generating too
many checkin digest notices.
We saw on a live site a different issue recently.
A patron had a checkin notice with 17 items
process_message_queue ran and picked the contents of that notice for sending,
but had not yet marked it sent
The patron returned 10 additional items
These were added to the notice in the DB
process_message_queue sent the digest with the contents from the initial fetch
in the while loop
process message queue marked the notice as sent
Result:
Patron received notice of 17 items checked in
DB notice had 27 and is marked sent
--
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/