Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting large collections times out #821

Closed
jonathangreen opened this issue Jan 17, 2018 · 3 comments
Closed

Deleting large collections times out #821

jonathangreen opened this issue Jan 17, 2018 · 3 comments

Comments

@jonathangreen
Copy link
Contributor

I'm trying to delete a collection with 50k books in it and I'm seeing the delete request timeout in the logs. In the web interface, it just never deletes.

Wed Jan 17 16:09:32 2018 - HARAKIRI [core 0] 172.18.0.1 - DELETE /admin/collection/2 since 1516205053
@leonardr
Copy link
Contributor

@aslagle I would like your take on this since you were also interested recently in deleting a large collection.

One possibility is to mark the collection as deleted, remove it from all libraries, and then have a reaper script do the actual deletion.

@aslagle
Copy link
Collaborator

aslagle commented Jan 17, 2018

I was interested in the same problem as Jonathan - a bunch of libraries have imported the entire open-access content server and want to switch to a smaller open-access collection.

I feel like it's quite rare that you'd want to do this specific thing, but your idea would work. In general I'd also like a way to run scripts from the admin interface. So have the request return immediately but kick off a script or put it in a queue, and maybe have a way to check whether it's done yet.

@jonathangreen
Copy link
Contributor Author

For what its worth: +1 to being able to queue things through the web interface.

@andrewnshelton andrewnshelton added this to To do in Org_test_CircMgr via automation Dec 4, 2019
Org_test_CircMgr automation moved this from To do to Done Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants