Retrieving a "large" bookbag results in the call timing out

Bug #1166836 reported by Dale Rigney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
2.2
Fix Released
Medium
Unassigned
2.3
Fix Released
Medium
Unassigned

Bug Description

The call to retrieve bucket items needs to be done as a stream and not one big call. When the call is made as one big call the size of the full request becomes too large resulting in an "Internal Server Error". The call becomes too large when the bookbag contains around 350 or more items.

Revision history for this message
Bill Erickson (berick) wrote :

I've pushed a patch to working/user/berick/lp1166836-tpac-large-bbag-stream -- I have confirmed bucket items are now received one at a time (streaming mode) instead of all in one batch. I have not tested against a sufficiently large data set, though.

And just to be clear, this is in the TPAC My Lists page with the large bucket in question expanded / opened in the UI.

tags: added: opac pullrequest
Changed in evergreen:
milestone: none → 2.4.0-rc
status: New → Confirmed
Revision history for this message
Ben Shum (bshum) wrote :

Tested this with two accounts in our system with over 450+ entries in their bookbag. It went from timing out entirely to taking a long time, but eventually still showing all the hits successfully.

Picked to master and backported clean to rel_2_3 and rel_2_2.

Thanks Dale and BIll!

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