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

script to get all holdings for 1+ member(s) #103

Merged
merged 1 commit into from
Jul 13, 2021
Merged

Conversation

mwarin
Copy link
Contributor

@mwarin mwarin commented Jul 13, 2021

So I can get all holdings to file, so I can split them up and let loose a bunch of pods and delete them.

@mwarin mwarin requested review from aelkiss and jsteverman July 13, 2021 15:32
@mwarin
Copy link
Contributor Author

mwarin commented Jul 13, 2021

For clarification, this script generates data that can be sorted & chunked & fed into bin/delete_holdings_by_uuid.rb.

Copy link
Member

@aelkiss aelkiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tried the mongo query, but assuming it does what you want this seems fine. If we rely on this elsewhere we should add a test (and we could certainly do that now) but I think it's fine to merge as-is for now.

@mwarin mwarin merged commit 256eb6e into master Jul 13, 2021
@aelkiss aelkiss deleted the get-holdings-uuid-by-org branch July 22, 2021 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants