Project: duracloud
Issue DURACLOUD-387: Error on large space delete
This item is to resolve issues seen when trying to delete a large space On the RackSpace storage provider: In the bhl.duracloud.org instance, there is a space "master-rack" that initially contained ~26,000 items. Deleting single items or a page of 200 items succeeded; however, when trying to delete the entire space a pop-up pops after a few minutes indicating that the operation failed. After one attempt, the number of items dropped to: 25,295 After another attempt, before failing the number of items dropped to: 24,727 In looking at the logs on the instance, it appears that two different types of errors were occurring, both of which were coming from RackSpace: - Could not connect to Rackspace due to error: Read timed out - Object was not found reportofscientif03scotrich/reportofscientif03scotrich_metasource.xml (other content-items also reported as unfound) See attached catalina.out for details. On the S3 storage provider: In the bill.duracloud.org instance, there was a space "num-files-test-work-3" that initially contained 36,845 items Clicking on "Delete Space" in DurAdmin started it spinning for about 5 minutes, it then came back with a dialog saying "Failed to Delete Space". Checking on the space size after the dialog popped up showed it at ~31,000 items However, even with DurAdmin out of the loop, the size of the space continued to drop and the space was eventually deleted, after about 35 minutes There were no errors in the logs indicating a failure.
Story points: 5