Gateway timeout on retrieving many shelving locations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Medium
|
Unassigned | ||
2.12 |
Won't Fix
|
Undecided
|
Unassigned | ||
3.0 |
Won't Fix
|
Undecided
|
Unassigned | ||
3.1 |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
EG 2.12.1 and 3.0.3
OpenSRF 2.5 and 3.0
When requesting shelving locations (open-ils.
To reproduce, add a large number of shelving locations to asset.copy_location (over 5,000 in my test environment). Then, request all shelving locations via the gateway:
On my test server, this returns a null response:
{"payload"
The open-ils.
Returning NULL from app_request_recv after timeout: open-ils.
The default timeout value is 60s, but we get our null response in only a few seconds. The gateway request succeeds if we supply a larger timeout value as a URL param, e.g.:
So far I haven't been able to replicate the issue with other API calls that return large chunked responses, but I don't know why there would be anything special about open-ils.
Changed in evergreen: | |
milestone: | none → 3.1-rc |
no longer affects: | evergreen/3.1 |
Changed in evergreen: | |
importance: | Undecided → Medium |
Changed in evergreen: | |
milestone: | 3.1-rc → none |
tags: | added: copylocations performance |
tags: |
added: itemlocations removed: copylocations |
tags: |
added: cat-locations removed: itemlocations |
See attachment for osrfsys and gateway logs for a failed request.