Batch or serialize requests on Edit Due Date in Items Out tab

Bug #1932203 reported by Jeff Davis
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned
3.7
Fix Committed
Undecided
Unassigned
3.8
Fix Released
Undecided
Unassigned

Bug Description

EG 3.7

1. Check out a large number of items to a patron.
2. Retrieve the patron and go to the Items Out tab.
3. Select all items and do Actions > Edit Due Date.

The client will make a separate open-ils.circ.circulation.due_date.update call for each item, which results in drone exhaustion if the number of items exceeds the max_children setting for open-ils.circ (you should see "no children available" warnings in the logs).

tags: added: parallel-requests
Changed in evergreen:
assignee: nobody → Jeff Davis (jdavis-sitka)
Revision history for this message
Jessica Woolford (jwoolford) wrote :

We saw this happen today.

Changed in evergreen:
status: New → Confirmed
Revision history for this message
Jeff Davis (jdavis-sitka) wrote :

Working branch user/jeffdavis/lp1932203-serialize-items-out-edit-due-date addresses the issue by serializing API calls:

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/jeffdavis/lp1932203-serialize-items-out-edit-due-date

Changed in evergreen:
assignee: Jeff Davis (jdavis-sitka) → nobody
tags: added: pullrequest
Changed in evergreen:
milestone: none → 3.9.1
Changed in evergreen:
milestone: 3.9.1 → none
milestone: none → 3.9.1
Revision history for this message
Jason Stephenson (jstephenson) wrote :

I drove this one around the block a couple of times, and it works for me on 3.7.3, 3.9.0, and latest master.

I've pushed the patch to master, rel_3_9, rel_3_8, and rel_3_7. I figure this is a performance patch that is close enough to a security patch to warrant being in a 3.7.4 relase.

Thanks, Jeff!

Changed in evergreen:
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.