Deleting copies from catalog via item bucket can exhaust drones

Bug #1949910 reported by Jeff Davis
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
3.7
Fix Released
Medium
Unassigned

Bug Description

EG 3.7

1. Add a bunch of items to an item bucket.
2. Select all items.
3. Actions > Delete Selected Items from Catalog.

This results in a bunch of parallel calls to open-ils.search.asset.copy.fleshed2.retrieve, which can lead to drone exhaustion if the number of items exceeds max_children for open-ils.search; you'll see "no children available" warnings in the logs.

tags: added: parallel-requests
tags: added: buckets-item cataloging performance
Revision history for this message
Galen Charlton (gmc) wrote :

A patch is available at the tip of

working/user/gmcharlt/lp1949910-serialize-delete-from-item-bucket / https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/gmcharlt/lp1949910-serialize-delete-from-item-bucket

tags: added: pullrequest
Revision history for this message
Jeff Davis (jdavis-sitka) wrote :

Thanks, Galen! Works for me. Working branch user/jeffdavis/lp1949910-serialize-delete-from-item-bucket-signoff has my signoff.

tags: added: signedoff
Changed in evergreen:
status: New → Confirmed
milestone: none → 3.8.1
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Works well for me, too. Thanks, Galen and Jeff. Pushed to master, rel_3_7, and rel_3_8.

Changed in evergreen:
status: Confirmed → Fix Committed
importance: Undecided → Medium
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.