Vandelay Recent Imports Fetches Sessions in Parallel
Bug #1945003 reported by
Bill Erickson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
3.11 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Evergreen 3.6 and up.
Cataloging => MARC Batch Import/Export => Recent Imports
This UI retrieves Queue data related to each session tracker as a series of parallel requests. This can lead to excessive pcrud calls for large lists of sessions. Patch en route to serialize the requests.
tags: |
added: cat-importexport removed: vandelay |
Changed in evergreen: | |
milestone: | 3.7.2 → 3.7.3 |
no longer affects: | evergreen/3.6 |
Changed in evergreen: | |
milestone: | 3.7.3 → none |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here's a fix:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1945003- vand-tracker- serialize
To test, do about 20 Vandelay imports (if you don't already have a bunch of session data). Load the Recent Imports interface and confirm many sessions are displayed, but the number of pcrud processes remains well lower than the number of sessions.
On my test VM with 20 recent imports, my open-ils.pcrud drone count never exceeds 7 (which is 1 over min-child + min-idle).