The code for downloading container labels can't handle large lists

Description

Normal servers will time out when trying to download container labels for larger resources. This is presumably related to the large number of archival objects in the resource. The code here should probably be reviewed and rewritten.

Environment

None

Activity

Show:

Brittany NewberrySeptember 16, 2019 at 8:57 PM

Tested on test site and appears to be working as it should. Container labels are now a background job.

Mark CooperApril 11, 2019 at 7:42 PM

I can look into this. An immediate improvement would be to optimize the process for generating the output file. Perhaps considering an update or change to the functionality, like in the plugin, could be a step 2?

I guess the advantage of a delimited file for output is that a) it also works as a report and b) you can build your own spreadsheet to label process (there are lots of tools for this IIRC).

Christine Di BellaApril 11, 2019 at 12:03 PM

and - since you've assigned Mark to this, does that mean you're working on it? If so, I'll update the status accordingly so that it doesn't go through the prioritization queue.

Christine Di BellaApril 11, 2019 at 12:01 PM

The Dartmouth container label plug-in (https://github.com/dartmouth-dltg/container_management_labels) is a more recent and more nuanced version of this functionality. There may be things there that could be pulled into core code (or just learned from) if improvements here are of interest.

Done

Details

Assignee

Reporter

Priority

Harvest Time Tracking

Open Harvest Time Tracking

Created April 9, 2019 at 2:46 PM
Updated October 9, 2019 at 2:56 PM
Resolved October 9, 2019 at 2:56 PM
Harvest Time Tracking